Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61524041
material_point.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 7, 05:12
Size
938 B
Mime Type
text/x-c++
Expires
Thu, May 9, 05:12 (2 d)
Engine
blob
Format
Raw Data
Handle
17392263
Attached To
R9484 sp4e-homework-lars-bertil
material_point.hh
View Options
#ifndef __MATERIAL_POINT__HH__
#define __MATERIAL_POINT__HH__
/* -------------------------------------------------------------------------- */
#include "particle.hh"
//! Class for MaterialPoint
class MaterialPoint : public Particle {
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
void printself(std::ostream& stream) const override;
void initself(std::istream& sstr) override;
Real & getTemperature(){return temperature;};
Real & getTemperatureRate(){return temperature_rate;};
Real & getHeatSource(){return heat_source;};
private:
Real temperature;
Real temperature_rate;
Real heat_source;
};
/* -------------------------------------------------------------------------- */
#endif //__MATERIAL_POINT__HH__
Event Timeline
Log In to Comment