ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/SimInfo.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/SimInfo.cpp (file contents):
Revision 443 by mmeineke, Wed Apr 2 22:19:03 2003 UTC vs.
Revision 457 by gezelter, Fri Apr 4 19:16:11 2003 UTC

# Line 29 | Line 29 | SimInfo::SimInfo(){
29    useGB = 0;
30    useEAM = 0;
31  
32
33
32    wrapMeSimInfo( this );
33   }
34  
35 + void SimInfo::setBox(double newBox[3]) {
36 +  box_x = newBox[0];
37 +  box_y = newBox[1];
38 +  box_z = newBox[2];
39 +  setFortranBoxSize(newBox);
40 + }
41 +
42 + void SimInfo::getBox(double theBox[3]) {
43 +  theBox[0] = box_x;
44 +  theBox[1] = box_y;
45 +  theBox[2] = box_z;
46 + }
47 +  
48   void SimInfo::refreshSim(){
49  
50    simtype fInfo;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines