Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63774313
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
Wed, May 22, 09:48
Size
456 B
Mime Type
text/x-c
Expires
Fri, May 24, 09:48 (2 d)
Engine
blob
Format
Raw Data
Handle
17788670
Attached To
R9482 SP4E_Homework_Ashtari_Sieber
material_point.cc
View Options
#include "material_point.hh"
/* -------------------------------------------------------------------------- */
void MaterialPoint::printself(std::ostream& stream) const {
Particle::printself(stream);
stream << " " << temperature << " " << heat_rate;
}
/* -------------------------------------------------------------------------- */
void MaterialPoint::initself(std::istream& sstr) {
Particle::initself(sstr);
sstr >> temperature >> heat_rate;
}
Event Timeline
Log In to Comment