Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61373893
material_point.cc
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
Mon, May 6, 06:45
Size
508 B
Mime Type
text/x-c
Expires
Wed, May 8, 06:45 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17424317
Attached To
R9484 sp4e-homework-lars-bertil
material_point.cc
View Options
#include "material_point.hh"
/* -------------------------------------------------------------------------- */
void MaterialPoint::printself(std::ostream& stream) const {
Particle::printself(stream);
stream << " " << temperature << " " << temperature_rate << " " << heat_source;
}
/* -------------------------------------------------------------------------- */
void MaterialPoint::initself(std::istream& sstr) {
Particle::initself(sstr);
sstr >> temperature >> temperature_rate >> heat_source;
}
Event Timeline
Log In to Comment