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 |
|
} |