Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
mrmd::analysis::MeanSquareDisplacement Class Reference

Calculates the mean square displacement of particles over time. More...

#include <analysis/MeanSquareDisplacement.hpp>

Public Member Functions

void reset (data::Atoms &atoms)
 Store current positions as a starting point.
void reset (data::Molecules &molecules)
real_t calc (data::Atoms &atoms, const data::Subdomain &subdomain)
 Compare current positions against the starting point.
real_t calc (data::Molecules &molecules, const data::Subdomain &subdomain)
 MeanSquareDisplacement ()

Detailed Description

Calculates the mean square displacement of particles over time.

Constructor & Destructor Documentation

◆ MeanSquareDisplacement()

mrmd::analysis::MeanSquareDisplacement::MeanSquareDisplacement ( )
inline

Member Function Documentation

◆ calc() [1/2]

real_t mrmd::analysis::MeanSquareDisplacement::calc ( data::Atoms & atoms,
const data::Subdomain & subdomain )

Compare current positions against the starting point.

Returns
mean squre displacement

◆ calc() [2/2]

real_t mrmd::analysis::MeanSquareDisplacement::calc ( data::Molecules & molecules,
const data::Subdomain & subdomain )

◆ reset() [1/2]

void mrmd::analysis::MeanSquareDisplacement::reset ( data::Atoms & atoms)

Store current positions as a starting point.

◆ reset() [2/2]

void mrmd::analysis::MeanSquareDisplacement::reset ( data::Molecules & molecules)

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