OpenMD 3.1
Molecular Dynamics in the Open
|
Classes | |
struct | StatsData |
Public Types | |
enum | StatsIndex { BEGININDEX = 0 , TIME = BEGININDEX , TOTAL_ENERGY , POTENTIAL_ENERGY , KINETIC_ENERGY , TEMPERATURE , PRESSURE , VOLUME , HULLVOLUME , GYRVOLUME , CONSERVED_QUANTITY , TRANSLATIONAL_KINETIC , ROTATIONAL_KINETIC , ELECTRONIC_KINETIC , LONG_RANGE_POTENTIAL , VANDERWAALS_POTENTIAL , ELECTROSTATIC_POTENTIAL , METALLIC_POTENTIAL , METALLIC_EMBEDDING , METALLIC_PAIR , HYDROGENBONDING_POTENTIAL , RECIPROCAL_POTENTIAL , SURFACE_POTENTIAL , SHORT_RANGE_POTENTIAL , BOND_POTENTIAL , BEND_POTENTIAL , DIHEDRAL_POTENTIAL , INVERSION_POTENTIAL , RAW_POTENTIAL , RESTRAINT_POTENTIAL , EXCLUDED_POTENTIAL , PRESSURE_TENSOR , VIRIAL_TENSOR , SYSTEM_DIPOLE , SYSTEM_QUADRUPOLE , TAGGED_PAIR_DISTANCE , SHADOWH , HELFANDMOMENT , HEATFLUX , ELECTRONIC_TEMPERATURE , COM , COM_VELOCITY , ANGULAR_MOMENTUM , POTENTIAL_SELECTION , NET_CHARGE , CHARGE_MOMENTUM , CURRENT_DENSITY , ENDINDEX } |
using | StatsBitSet = std::bitset<ENDINDEX - BEGININDEX> |
using | StatsMapType = std::map<std::string, StatsIndex> |
Public Member Functions | |
Stats (SimInfo *info) | |
void | parseStatFileFormat (const std::string &format) |
int | getPrecision () |
void | collectStats () |
std::string | getStatsReport () |
StatsBitSet | getStatsMask () |
StatsMapType | getStatsMap () |
void | setStatsMask (StatsBitSet mask) |
string | getTitle (int index) |
string | getUnits (int index) |
string | getDataType (int index) |
int | getIntData (int index) |
RealType | getRealData (int index) |
Vector3d | getVectorData (int index) |
potVec | getPotVecData (int index) |
Mat3x3d | getMatrixData (int index) |
std::vector< RealType > | getArrayData (int index) |
int | getIntAverage (int index) |
RealType | getRealAverage (int index) |
Vector3d | getVectorAverage (int index) |
potVec | getPotVecAverage (int index) |
Mat3x3d | getMatrixAverage (int index) |
std::vector< RealType > | getArrayAverage (int index) |
int | getIntError (int index) |
RealType | getRealError (int index) |
Vector3d | getVectorError (int index) |
potVec | getPotVecError (int index) |
Mat3x3d | getMatrixError (int index) |
std::vector< RealType > | getArrayError (int index) |
using OpenMD::Stats::StatsBitSet = std::bitset<ENDINDEX - BEGININDEX> |
using OpenMD::Stats::StatsMapType = std::map<std::string, StatsIndex> |
std::vector< RealType > OpenMD::Stats::getArrayAverage | ( | int | index | ) |
std::vector< RealType > OpenMD::Stats::getArrayData | ( | int | index | ) |
std::vector< RealType > OpenMD::Stats::getArrayError | ( | int | index | ) |
void OpenMD::Stats::parseStatFileFormat | ( | const std::string & | format | ) |
void OpenMD::Stats::setStatsMask | ( | Stats::StatsBitSet | mask | ) |