High-level interface for applying the pair-wise potential of the SPC water model to given molecules and for enforcing geometric constraints.
More...
#include <action/SPC.hpp>
|
| auto | getEnergyLJ () const |
| auto | getEnergyCoulomb () const |
| const auto & | getMeanCompensationEnergy () const |
| KOKKOS_INLINE_FUNCTION void | operator() (CalcInteractions, const idx_t &alpha, impl::Energy &sumEnergy) const |
| | Loop over molecules.
|
| void | enforcePositionalConstraints (data::Molecules &molecules, data::Atoms &atoms, real_t dt) |
| void | enforceVelocityConstraints (data::Molecules &molecules, data::Atoms &atoms, real_t dt) |
| void | applyForces (data::Molecules &molecules, HalfVerletList &verletList, data::Atoms &atoms) |
| KOKKOS_INLINE_FUNCTION void | operator() (BondEnergy, const idx_t &alpha, real_t &sumEnergy) const |
| real_t | calcBondEnergy (data::Molecules &molecules, data::Atoms &atoms, const real_t &harmonicPreFactor) |
| | SPC () |
High-level interface for applying the pair-wise potential of the SPC water model to given molecules and for enforcing geometric constraints.
- Reference
SPC water model: 10.1021/j100308a038
Damped shifted force Coulomb: 10.1140/epjst/e2016-60151-6
◆ SPC()
| mrmd::action::SPC::SPC |
( |
| ) |
|
|
inline |
◆ applyForces()
◆ calcBondEnergy()
◆ enforcePositionalConstraints()
◆ enforceVelocityConstraints()
◆ getEnergyCoulomb()
| auto mrmd::action::SPC::getEnergyCoulomb |
( |
| ) |
const |
|
inline |
◆ getEnergyLJ()
| auto mrmd::action::SPC::getEnergyLJ |
( |
| ) |
const |
|
inline |
◆ getMeanCompensationEnergy()
| const auto & mrmd::action::SPC::getMeanCompensationEnergy |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
| KOKKOS_INLINE_FUNCTION void mrmd::action::SPC::operator() |
( |
BondEnergy | , |
|
|
const idx_t & | alpha, |
|
|
real_t & | sumEnergy ) const |
|
inline |
inclusive start index of atoms belonging to alpha
◆ operator()() [2/2]
| KOKKOS_INLINE_FUNCTION void mrmd::action::SPC::operator() |
( |
CalcInteractions | , |
|
|
const idx_t & | alpha, |
|
|
impl::Energy & | sumEnergy ) const |
|
inline |
Loop over molecules.
- Parameters
-
| alpha | first molecule index |
| sumEnergy | accumulation variable |
second molecule index
inclusive start index of atoms belonging to alpha
exclusive end index of atoms belonging to alpha
inclusive start index of atoms belonging to beta
exclusive end index of atoms belonging to beta
loop over atoms
◆ alpha
| real_t mrmd::action::SPC::alpha = 2.0_r |
|
staticconstexpr |
◆ angleHOH
◆ chargeH
| real_t mrmd::action::SPC::chargeH = +0.41_r |
|
staticconstexpr |
◆ chargeO
| real_t mrmd::action::SPC::chargeO = -0.82_r |
|
staticconstexpr |
◆ COMPENSATION_ENERGY_SAMPLING_INTERVAL
| idx_t mrmd::action::SPC::COMPENSATION_ENERGY_SAMPLING_INTERVAL = 200 |
|
staticconstexpr |
◆ COMPENSATION_ENERGY_UPDATE_INTERVAL
| idx_t mrmd::action::SPC::COMPENSATION_ENERGY_UPDATE_INTERVAL = 20000 |
|
staticconstexpr |
◆ epsilon
| real_t mrmd::action::SPC::epsilon = 0.6501695808187486_r |
|
staticconstexpr |
◆ eqDistanceHH
◆ eqDistanceHO
| real_t mrmd::action::SPC::eqDistanceHO = 0.1_r |
|
staticconstexpr |
unit: nm, equilibirum distance between hydrogen and oxygen
◆ massH
| real_t mrmd::action::SPC::massH = 1.008_r |
|
staticconstexpr |
◆ massO
| real_t mrmd::action::SPC::massO = 15.999_r |
|
staticconstexpr |
◆ rc
| real_t mrmd::action::SPC::rc = 1.2_r |
|
staticconstexpr |
◆ sigma
| real_t mrmd::action::SPC::sigma = 0.31655578901998815_r |
|
staticconstexpr |
◆ sumEnergyCoulomb_
| real_t mrmd::action::SPC::sumEnergyCoulomb_ |
◆ sumEnergyLJ_
| real_t mrmd::action::SPC::sumEnergyLJ_ |
The documentation for this class was generated from the following file: