Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
mrmd::io::RestoreH5MD Class Reference

Handles restoring trajectory data from H5MD format. More...

#include <io/RestoreH5MD.hpp>

Public Member Functions

 RestoreH5MD (const std::string &particleGroupName="atoms")
void restore (const std::string &filename, data::Subdomain &subdomain, data::Atoms &atoms, const idx_t frameIndex=-1)

Public Attributes

bool restorePos = true
bool restoreVel = true
bool restoreForce = true
bool restoreType = true
bool restoreMass = true
bool restoreCharge = true
bool restoreRelativeMass = true
std::string posDataset = "position"
std::string velDataset = "velocity"
std::string forceDataset = "force"
std::string typeDataset = "type"
std::string massDataset = "mass"
std::string chargeDataset = "charge"
std::string relativeMassDataset = "relativeMass"

Detailed Description

Handles restoring trajectory data from H5MD format.

Reference
H5MD trajectory format: 10.1016/j.cpc.2014.01.018

Constructor & Destructor Documentation

◆ RestoreH5MD()

mrmd::io::RestoreH5MD::RestoreH5MD ( const std::string & particleGroupName = "atoms")
inlineexplicit

Member Function Documentation

◆ restore()

void mrmd::io::RestoreH5MD::restore ( const std::string & filename,
data::Subdomain & subdomain,
data::Atoms & atoms,
const idx_t frameIndex = -1 )

Member Data Documentation

◆ chargeDataset

std::string mrmd::io::RestoreH5MD::chargeDataset = "charge"

◆ forceDataset

std::string mrmd::io::RestoreH5MD::forceDataset = "force"

◆ massDataset

std::string mrmd::io::RestoreH5MD::massDataset = "mass"

◆ posDataset

std::string mrmd::io::RestoreH5MD::posDataset = "position"

◆ relativeMassDataset

std::string mrmd::io::RestoreH5MD::relativeMassDataset = "relativeMass"

◆ restoreCharge

bool mrmd::io::RestoreH5MD::restoreCharge = true

◆ restoreForce

bool mrmd::io::RestoreH5MD::restoreForce = true

◆ restoreMass

bool mrmd::io::RestoreH5MD::restoreMass = true

◆ restorePos

bool mrmd::io::RestoreH5MD::restorePos = true

◆ restoreRelativeMass

bool mrmd::io::RestoreH5MD::restoreRelativeMass = true

◆ restoreType

bool mrmd::io::RestoreH5MD::restoreType = true

◆ restoreVel

bool mrmd::io::RestoreH5MD::restoreVel = true

◆ typeDataset

std::string mrmd::io::RestoreH5MD::typeDataset = "type"

◆ velDataset

std::string mrmd::io::RestoreH5MD::velDataset = "velocity"

The documentation for this class was generated from the following files: