# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |