ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/Thermo.cpp
(Generate patch)

Comparing branches/development/src/brains/Thermo.cpp (file contents):
Revision 1873 by gezelter, Tue May 7 19:09:54 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 920 | Line 920 | namespace OpenMD {
920    }
921  
922    RealType Thermo::getHullVolume(){
923    Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot();
924
923   #ifdef HAVE_QHULL    
924 +    Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot();
925      if (!snap->hasHullVolume) {
926        Hull* surfaceMesh_;
927 <
927 >      
928        Globals* simParams = info_->getSimParams();
929        const std::string ht = simParams->getHULL_Method();
930        
# Line 957 | Line 956 | namespace OpenMD {
956        // Compute surface Mesh
957        surfaceMesh_->computeHull(localSites_);
958        snap->setHullVolume(surfaceMesh_->getVolume());
959 <
959 >      
960        delete surfaceMesh_;
961      }
962 <
962 >    
963      return snap->getHullVolume();
964   #else
965      return 0.0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines