ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/brains/Thermo.cpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/brains/Thermo.cpp (file contents):
Revision 2235 by tim, Thu May 19 21:31:23 2005 UTC vs.
Revision 2238 by tim, Sun May 22 21:05:15 2005 UTC

# Line 227 | Line 227 | namespace oopse {
227      stat[Stats::PRESSURE] = getPressure();
228      stat[Stats::VOLUME] = getVolume();      
229  
230 +    Mat3x3d tensor =getPressureTensor();
231 +    stat[Stats::PRESSURE_TENSOR_X] = tensor(0, 0);      
232 +    stat[Stats::PRESSURE_TENSOR_Y] = tensor(1, 1);      
233 +    stat[Stats::PRESSURE_TENSOR_Z] = tensor(2, 2);      
234 +
235 +
236      /**@todo need refactorying*/
237      //Conserved Quantity is set by integrator and time is set by setTime
238      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines