|
Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
|
High-level interface for applying the pair-wise potential in an H-AdResS simulation of a Lennard-Jones fluid coupled to an ideal gas. More...
#include <action/LJ_IdealGas.hpp>
Public Member Functions | |
| void | setCompensationEnergySamplingInterval (const idx_t &interval) |
| void | setCompensationEnergyUpdateInterval (const idx_t &interval) |
| const auto & | getMeanCompensationEnergy () const |
| KOKKOS_FUNCTION void | operator() (const idx_t &alpha, real_t &sumEnergy) const |
| Loop over molecules. | |
| real_t | run (data::Molecules &molecules, HalfVerletList &verletList, data::Atoms &atoms) |
| LJ_IdealGas (const real_t &cappingDistance, const real_t &rc, const real_t &sigma, const real_t &epsilon, const bool doShift) | |
| LJ_IdealGas (const std::vector< real_t > &cappingDistance, const std::vector< real_t > &rc, const std::vector< real_t > &sigma, const std::vector< real_t > &epsilon, const idx_t numTypes, const bool doShift) | |
High-level interface for applying the pair-wise potential in an H-AdResS simulation of a Lennard-Jones fluid coupled to an ideal gas.
| mrmd::action::LJ_IdealGas::LJ_IdealGas | ( | const real_t & | cappingDistance, |
| const real_t & | rc, | ||
| const real_t & | sigma, | ||
| const real_t & | epsilon, | ||
| const bool | doShift ) |
| mrmd::action::LJ_IdealGas::LJ_IdealGas | ( | const std::vector< real_t > & | cappingDistance, |
| const std::vector< real_t > & | rc, | ||
| const std::vector< real_t > & | sigma, | ||
| const std::vector< real_t > & | epsilon, | ||
| const idx_t | numTypes, | ||
| const bool | doShift ) |
|
inline |
| KOKKOS_FUNCTION void mrmd::action::LJ_IdealGas::operator() | ( | const idx_t & | alpha, |
| real_t & | sumEnergy ) const |
Loop over molecules.
| alpha | first molecule index |
| sumEnergy | accumulation variable |
weighting for molecule alpha
inclusive start index of atoms belonging to alpha
exclusive end index of atoms belonging to alpha
second molecule index
weighting for molecule beta
combined weighting of molecules alpha and beta
inclusive start index of atoms belonging to beta
exclusive end index of atoms belonging to beta
loop over atoms
| real_t mrmd::action::LJ_IdealGas::run | ( | data::Molecules & | molecules, |
| HalfVerletList & | verletList, | ||
| data::Atoms & | atoms ) |
|
inline |
|
inline |