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