|
Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
|
Save and load simulation data. More...
Classes | |
| class | DumpH5MD |
| Handles dumping trajectory data in H5MD format. More... | |
| class | DumpProfile |
| Handles dumping profile data to a file. More... | |
| class | RestoreH5MD |
| Handles restoring trajectory data from H5MD format. More... | |
Typedefs | |
| using | hid_t = int |
Functions | |
| void | dumpCSV (const std::string &filename, data::Atoms &atoms, bool dumpGhosts) |
| void | dumpGRO (const std::string &filename, data::Atoms &atoms, const data::Subdomain &subdomain, const real_t ×tamp, const std::string &title, const std::string &resName, const std::vector< std::string > &typeNames, bool dumpGhosts, bool dumpVelocities) |
| format specification https://manual.gromacs.org/current/reference-manual/file-formats.html?highlight=gro#gro | |
| void | dumpSingleProfile (const std::string &filename, const ScalarView::HostMirror &grid, const ScalarView::HostMirror &dataProfile, const real_t &normalizationFactor) |
| void | dumpThermoForce (const std::string &filename, const action::ThermodynamicForce &thermodynamicForce, const idx_t &typeId) |
| void | dumpThermoForce (const std::string &filename, const action::ThermodynamicForce &thermodynamicForce) |
| void | restoreGRO (const std::string &filename, data::Subdomain &subdomain, data::Atoms &atoms, bool containsGhostAtoms) |
| void | restoreLAMMPS (const std::string &filename, data::Atoms &atoms) |
| action::ThermodynamicForce | restoreThermoForce (const std::string &filename, const data::Subdomain &subdomain, const std::vector< real_t > &targetDensities, const std::vector< real_t > &thermodynamicForceModulations, const bool enforceSymmetry, const bool usePeriodicity, const idx_t maxNumForces) |
| data::Atoms | restoreAtoms (const std::string &filename) |
Save and load simulation data.
CSV and GRO dumps, H5MD trajectories (requires HDF5), density and thermodynamic force profiles, and restore paths for GRO, H5MD, LAMMPS and plain text files.
| using mrmd::io::hid_t = int |
| void mrmd::io::dumpCSV | ( | const std::string & | filename, |
| data::Atoms & | atoms, | ||
| bool | dumpGhosts ) |
| void mrmd::io::dumpGRO | ( | const std::string & | filename, |
| data::Atoms & | atoms, | ||
| const data::Subdomain & | subdomain, | ||
| const real_t & | timestamp, | ||
| const std::string & | title, | ||
| const std::string & | resName, | ||
| const std::vector< std::string > & | typeNames, | ||
| bool | dumpGhosts, | ||
| bool | dumpVelocities ) |
| void mrmd::io::dumpSingleProfile | ( | const std::string & | filename, |
| const ScalarView::HostMirror & | grid, | ||
| const ScalarView::HostMirror & | dataProfile, | ||
| const real_t & | normalizationFactor ) |
| void mrmd::io::dumpThermoForce | ( | const std::string & | filename, |
| const action::ThermodynamicForce & | thermodynamicForce ) |
| void mrmd::io::dumpThermoForce | ( | const std::string & | filename, |
| const action::ThermodynamicForce & | thermodynamicForce, | ||
| const idx_t & | typeId ) |
| data::Atoms mrmd::io::restoreAtoms | ( | const std::string & | filename | ) |
| void mrmd::io::restoreGRO | ( | const std::string & | filename, |
| data::Subdomain & | subdomain, | ||
| data::Atoms & | atoms, | ||
| bool | containsGhostAtoms ) |
| void mrmd::io::restoreLAMMPS | ( | const std::string & | filename, |
| data::Atoms & | atoms ) |
| action::ThermodynamicForce mrmd::io::restoreThermoForce | ( | const std::string & | filename, |
| const data::Subdomain & | subdomain, | ||
| const std::vector< real_t > & | targetDensities, | ||
| const std::vector< real_t > & | thermodynamicForceModulations, | ||
| const bool | enforceSymmetry, | ||
| const bool | usePeriodicity, | ||
| const idx_t | maxNumForces ) |