Changeset df0520 for molecuilder/src/boundary.cpp
- Timestamp:
- Nov 2, 2009, 12:50:57 PM (16 years ago)
- Children:
- 8bc524
- Parents:
- 245826
- File:
-
- 1 edited
-
molecuilder/src/boundary.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/boundary.cpp
r245826 rdf0520 649 649 const double h = x.Norm(); // distance of CoG to triangle 650 650 const double PyramidVolume = (1. / 3.) * G * h; // this formula holds for _all_ pyramids (independent of n-edge base or (not) centered peak) 651 *out << Verbose(2) << "Area of triangle is " << G << " "651 *out << Verbose(2) << "Area of triangle is " << setprecision(10) << G << " " 652 652 << (IsAngstroem ? "angstrom" : "atomiclength") << "^2, height is " 653 653 << h << " and the volume is " << PyramidVolume << " " … … 655 655 volume += PyramidVolume; 656 656 } 657 *out << Verbose(0) << "RESULT: The summed volume is " << setprecision( 10)657 *out << Verbose(0) << "RESULT: The summed volume is " << setprecision(8) 658 658 << volume << " " << (IsAngstroem ? "angstrom" : "atomiclength") << "^3." 659 659 << endl; … … 705 705 void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity) 706 706 { 707 bool IsAngstroem = NULL;707 bool IsAngstroem = true; 708 708 double *GreatestDiameter = NULL; 709 709 Boundaries *BoundaryPoints = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
