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 1827 by gezelter, Wed Jan 9 19:49:07 2013 UTC vs.
Revision 1841 by gezelter, Mon Jan 28 21:21:35 2013 UTC

# Line 791 | Line 791 | namespace OpenMD {
791        }
792      }
793  
794 <    if (simParams->getOutputElectricField()) {
794 >    if (simParams->getOutputElectricField() | simParams->haveElectricField()) {
795        storageLayout |= DataStorage::dslElectricField;
796      }
797  
# Line 801 | Line 801 | namespace OpenMD {
801        storageLayout |= DataStorage::dslFlucQForce;
802      }
803  
804 +    info->setStorageLayout(storageLayout);
805 +
806      return storageLayout;
807    }
808  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines