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

Comparing trunk/SHAPES/SphereHarm.cpp (file contents):
Revision 1292 by chrisfen, Wed Jun 23 23:19:43 2004 UTC vs.
Revision 1298 by chrisfen, Thu Jun 24 15:47:52 2004 UTC

# Line 112 | Line 112 | void SphereHarm::printShapesFileStart(char name[200],
112   void SphereHarm::printShapesFileStart(char name[200], char particle[80],
113                                        double mass, double momInert[3][3]){
114    ofstream shapes(name);
115 +  shapes << "begin ShapeInfo\n";
116 +  shapes << "#name\t\tmass\tI_xx\tI_yy\tI_zz\n";
117    shapes << particle << "\t" << mass << "\t" << momInert[0][0] << "\t"
118           << momInert[1][1] << "\t" << momInert[2][2] << "\n";
119 +  shapes << "end ShapeInfo\n";
120   }
121  
122   void SphereHarm::printToShapesFile(char name[200], int index){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines