ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/staticProps/NanoVolume.cpp
(Generate patch)

Comparing trunk/src/applications/staticProps/NanoVolume.cpp (file contents):
Revision 1194 by chuckv, Thu Dec 6 19:52:11 2007 UTC vs.
Revision 1195 by cpuglis, Thu Dec 6 20:04:02 2007 UTC

# Line 45 | Line 45
45   *
46   *  Created by Charles F. Vardeman II on 14 Dec 2006.
47   *  @author  Charles F. Vardeman II
48 < *  @version $Id: NanoVolume.cpp,v 1.3 2007-12-06 19:52:11 chuckv Exp $
48 > *  @version $Id: NanoVolume.cpp,v 1.4 2007-12-06 20:04:01 cpuglis Exp $
49   *
50   */
51  
# Line 73 | Line 73 | void NanoVolume::process() {
73   }
74  
75   void NanoVolume::process() {
76 <  
76 > #if defined(HAVE_CGAL)
77    Molecule* mol;
78    Atom* atom;
79    RigidBody* rb;
# Line 139 | Line 139 | void NanoVolume::process() {
139  
140    }
141    osq.close();
142 <
142 > #else
143 >  sprintf(painCave.errMsg, "NanoVolume: CGAL support was not compiled in!\n");
144 >  painCave.isFatal = 1;
145 >  simError();  
146 > #endif
147   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines