| 54 |
|
#include <vector> |
| 55 |
|
|
| 56 |
|
#include "brains/DataStorage.hpp" |
| 57 |
+ |
#include "nonbonded/NonBondedInteraction.hpp" |
| 58 |
|
#include "brains/Stats.hpp" |
| 59 |
|
|
| 60 |
|
namespace OpenMD{ |
| 70 |
|
RealType totalEnergy; /**< total energy of this frame */ |
| 71 |
|
RealType kineticEnergy; /**< kinetic energy of this frame */ |
| 72 |
|
RealType potentialEnergy; /**< potential energy of this frame */ |
| 73 |
+ |
RealType shortRangePotential; /**< short-range contributions to the potential*/ |
| 74 |
+ |
RealType longRangePotential; /**< long-range contributions to the potential */ |
| 75 |
+ |
RealType bondPotential; /**< bonded contribution to the potential */ |
| 76 |
+ |
RealType bendPotential; /**< angle-bending contribution to the potential */ |
| 77 |
+ |
RealType torsionPotential; /**< dihedral (torsion angle) contribution to the potential */ |
| 78 |
+ |
RealType inversionPotential; /**< inversion (planarity) contribution to the potential */ |
| 79 |
+ |
potVec lrPotentials; /**< breakdown of long-range potentials by family */ |
| 80 |
|
RealType temperature; /**< temperature of this frame */ |
| 81 |
|
RealType chi; /**< thermostat velocity */ |
| 82 |
|
RealType integralOfChiDt; /**< the actual thermostat */ |
| 132 |
|
frameData.COMw = V3Zero; |
| 133 |
|
frameData.stressTensor = Mat3x3d(0.0); |
| 134 |
|
frameData.pressureTensor = Mat3x3d(0.0); |
| 135 |
< |
frameData.systemDipole = V3Zero; |
| 136 |
< |
frameData.conductiveHeatFlux = V3Zero; |
| 135 |
> |
frameData.systemDipole = Vector3d(0.0); |
| 136 |
> |
frameData.conductiveHeatFlux = Vector3d(0.0, 0.0, 0.0); |
| 137 |
|
} |
| 138 |
|
|
| 139 |
|
Snapshot(int nAtoms, int nRigidbodies, int nCutoffGroups, |
| 166 |
|
frameData.stressTensor = Mat3x3d(0.0); |
| 167 |
|
frameData.pressureTensor = Mat3x3d(0.0); |
| 168 |
|
frameData.systemDipole = V3Zero; |
| 169 |
< |
frameData.conductiveHeatFlux = V3Zero; |
| 169 |
> |
frameData.conductiveHeatFlux = Vector3d(0.0, 0.0, 0.0); |
| 170 |
|
} |
| 171 |
|
|
| 172 |
|
/** Returns the id of this Snapshot */ |