Gromacs
2025.0-dev-20241009-5c23d5f
|
#include <gromacs/nbnxm/gpu_types_common.h>
Set of boolean constants mimicking preprocessor macros.
Those are currently used for SYCL and HIP.
Static Public Attributes | |
static constexpr bool | elecCutoff = (elecType == ElecType::Cut) |
EL_CUTOFF. | |
static constexpr bool | elecRF = (elecType == ElecType::RF) |
EL_RF. | |
static constexpr bool | elecEwaldAna |
EL_EWALD_ANA. More... | |
static constexpr bool | elecEwaldTab |
EL_EWALD_TAB. More... | |
static constexpr bool | elecEwaldTwin |
Use twin cut-off. More... | |
static constexpr bool | elecEwald = (elecEwaldAna || elecEwaldTab) |
EL_EWALD_ANY. | |
static constexpr bool | vdwCombLB = (vdwType == VdwType::CutCombLB) |
LJ_COMB && !LJ_COMB_GEOM. | |
static constexpr bool | vdwCombGeom = (vdwType == VdwType::CutCombGeom) |
LJ_COMB_GEOM. | |
static constexpr bool | vdwComb = (vdwCombLB || vdwCombGeom) |
LJ_COMB. | |
static constexpr bool | vdwEwaldCombGeom = (vdwType == VdwType::EwaldGeom) |
LJ_EWALD_COMB_GEOM. | |
static constexpr bool | vdwEwaldCombLB = (vdwType == VdwType::EwaldLB) |
LJ_EWALD_COMB_LB. | |
static constexpr bool | vdwEwald = (vdwEwaldCombGeom || vdwEwaldCombLB) |
LJ_EWALD. | |
static constexpr bool | vdwFSwitch = (vdwType == VdwType::FSwitch) |
LJ_FORCE_SWITCH. | |
static constexpr bool | vdwPSwitch = (vdwType == VdwType::PSwitch) |
LJ_POT_SWITCH. | |
|
static |
EL_EWALD_ANA.
|
static |
EL_EWALD_TAB.
|
static |
Use twin cut-off.