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

Comparing trunk/src/brains/SimCreator.cpp (file contents):
Revision 1983 by gezelter, Tue Apr 15 20:36:19 2014 UTC vs.
Revision 2045 by gezelter, Fri Nov 28 20:10:17 2014 UTC

# Line 228 | Line 228 | namespace OpenMD {
228      catch (OpenMDException& e) {
229        sprintf(painCave.errMsg,
230                "%s\n",
231 <              e.getMessage().c_str());
231 >              e.what());
232        painCave.isFatal = 1;
233        simError();
234      }
# Line 787 | Line 787 | namespace OpenMD {
787  
788      if (simParams->getOutputElectricField() | simParams->haveElectricField()) {
789        storageLayout |= DataStorage::dslElectricField;
790 +    }
791 +
792 +    if (simParams->getOutputSitePotential() ) {
793 +      storageLayout |= DataStorage::dslSitePotential;
794      }
795  
796      if (simParams->getOutputFluctuatingCharges()) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines