Ignore:
Timestamp:
Nov 2, 2009, 12:50:57 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
8bc524
Parents:
245826
Message:

Small changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/boundary.cpp

    r245826 rdf0520  
    649649      const double h = x.Norm(); // distance of CoG to triangle
    650650      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 << " "
    652652          << (IsAngstroem ? "angstrom" : "atomiclength") << "^2, height is "
    653653          << h << " and the volume is " << PyramidVolume << " "
     
    655655      volume += PyramidVolume;
    656656    }
    657   *out << Verbose(0) << "RESULT: The summed volume is " << setprecision(10)
     657  *out << Verbose(0) << "RESULT: The summed volume is " << setprecision(8)
    658658      << volume << " " << (IsAngstroem ? "angstrom" : "atomiclength") << "^3."
    659659      << endl;
     
    705705void PrepareClustersinWater(ofstream *out, config *configuration, molecule *mol, double ClusterVolume, double celldensity)
    706706{
    707   bool IsAngstroem = NULL;
     707  bool IsAngstroem = true;
    708708  double *GreatestDiameter = NULL;
    709709  Boundaries *BoundaryPoints = NULL;
Note: See TracChangeset for help on using the changeset viewer.