Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
mrmd::weighting_function Namespace Reference

Weighting functions for different interfaces and region geometries. More...

Classes

class  Slab
 Applies the H-AdResS weighting function to a slab simulation geometry. More...
class  Spherical
 Applies the weighting function to a spherical simulation geometry. More...

Functions

KOKKOS_INLINE_FUNCTION bool isInATRegion (const real_t &lambda)
 Helper function to check if lambda belongs to the atomistic region.
KOKKOS_INLINE_FUNCTION bool isInCGRegion (const real_t &lambda)
 Helper function to check if lambda belongs to the coarse grained region.
KOKKOS_INLINE_FUNCTION bool isInHYRegion (const real_t &lambda)
 Helper function to check if lambda belongs to the hybrid region.

Variables

constexpr real_t REGION_CHECK_EPSILON = 0_r

Detailed Description

Weighting functions for different interfaces and region geometries.

Slab and spherical geometries, plus the predicates that decide whether a position lies in the atomistic, hybrid or coarse-grained region.

Function Documentation

◆ isInATRegion()

KOKKOS_INLINE_FUNCTION bool mrmd::weighting_function::isInATRegion ( const real_t & lambda)

Helper function to check if lambda belongs to the atomistic region.

◆ isInCGRegion()

KOKKOS_INLINE_FUNCTION bool mrmd::weighting_function::isInCGRegion ( const real_t & lambda)

Helper function to check if lambda belongs to the coarse grained region.

◆ isInHYRegion()

KOKKOS_INLINE_FUNCTION bool mrmd::weighting_function::isInHYRegion ( const real_t & lambda)

Helper function to check if lambda belongs to the hybrid region.

Variable Documentation

◆ REGION_CHECK_EPSILON

real_t mrmd::weighting_function::REGION_CHECK_EPSILON = 0_r
constexpr