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

Comparing branches/development/src/brains/SimCreator.cpp (file contents):
Revision 1713 by gezelter, Sat May 19 02:58:35 2012 UTC vs.
Revision 1714 by gezelter, Sat May 19 18:12:46 2012 UTC

# Line 746 | Line 746 | namespace OpenMD {
746          storageLayout |= DataStorage::dslFlucQForce;
747        }
748      }
749 +    
750 +    // if the user has asked for them, make sure we've got the memory for the
751 +    // objects defined.
752  
753      if (simParams->getOutputParticlePotential()) {
754        storageLayout |= DataStorage::dslParticlePot;
755      }
756 +    if (simParams->getOutputElectricField()) {
757 +      storageLayout |= DataStorage::dslElectricField;
758 +    }
759 +    if (simParams->getOutputFluctuatingCharges()) {
760 +      storageLayout |= DataStorage::dslFlucQPosition;
761 +      storageLayout |= DataStorage::dslFlucQVelocity;
762 +      storageLayout |= DataStorage::dslFlucQForce;
763 +    }
764  
765      return storageLayout;
766    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines