![]() |
QMCPACK
|
Public Types | |
enum | lr_type { ESLER = 0, EWALD, NATOLI, QUASI2D, STRICT2D } |
using | LRHandlerType = LRHandlerBase |
using | GridType = LinearGrid< pRealType > |
using | RadFunctorType = OneDimCubicSpline< pRealType > |
Static Public Member Functions | |
static std::unique_ptr< LRHandlerType > | getHandler (ParticleSet &ref) |
This returns an energy optimized LR handler. If non existent, it creates one. More... | |
static std::unique_ptr< LRHandlerType > | getDerivHandler (ParticleSet &ref) |
This returns a force/stress optimized LR handler. If non existent, it creates one. More... | |
static bool | isQuasi2D () |
return true if quasi 2D is selected More... | |
static std::unique_ptr< RadFunctorType > | createSpline4RbyVs (const LRHandlerType *aLR, mRealType rcut, const GridType &agrid) |
create a linear spline function More... | |
static std::unique_ptr< RadFunctorType > | createSpline4RbyVsDeriv (const LRHandlerType *aLR, mRealType rcut, const GridType &agrid) |
create a linear spline of the derivative of short-range potential More... | |
Static Public Attributes | |
static lr_type | this_lr_type = ESLER |
static std::unique_ptr< LRHandlerType > | CoulombHandler |
Stores the energ optimized LR handler. More... | |
static std::unique_ptr< LRHandlerType > | CoulombDerivHandler |
Stores the force/stress optimized LR handler. More... | |
Definition at line 32 of file LRCoulombSingleton.h.
using GridType = LinearGrid<pRealType> |
Definition at line 37 of file LRCoulombSingleton.h.
using LRHandlerType = LRHandlerBase |
Definition at line 36 of file LRCoulombSingleton.h.
using RadFunctorType = OneDimCubicSpline<pRealType> |
Definition at line 38 of file LRCoulombSingleton.h.
enum lr_type |
|
static |
create a linear spline function
aLR | LRHandler |
rcut | cutoff radius |
agrid | pointer to a grid |
The spline function is the short-range term after breaking up
Definition at line 191 of file LRCoulombSingleton.cpp.
References qmcplusplus::createSpline4RbyVs_temp().
Referenced by QMCFiniteSize::initBreakup(), CoulombPBCAA::initBreakup(), and CoulombPBCAB::initBreakup().
|
static |
create a linear spline of the derivative of short-range potential
aLR | LRHandler |
rcut | cutoff radius |
agrid | pointer to a grid |
The spline function is the short-range term after breaking up
Definition at line 198 of file LRCoulombSingleton.cpp.
References qmcplusplus::createSpline4RbyVsDeriv_temp().
Referenced by CoulombPBCAB::initBreakup().
|
static |
This returns a force/stress optimized LR handler. If non existent, it creates one.
Definition at line 103 of file LRCoulombSingleton.cpp.
References APP_ABORT, qmcplusplus::app_log(), LRCoulombSingleton::CoulombDerivHandler, LRCoulombSingleton::ESLER, LRCoulombSingleton::EWALD, LRCoulombSingleton::NATOLI, and LRCoulombSingleton::this_lr_type.
Referenced by ForceChiesaPBCAA::initBreakup(), StressPBC::initBreakup(), CoulombPBCAA::initBreakup(), and CoulombPBCAB::initBreakup().
|
static |
This returns an energy optimized LR handler. If non existent, it creates one.
Definition at line 60 of file LRCoulombSingleton.cpp.
References APP_ABORT, qmcplusplus::app_log(), LRCoulombSingleton::CoulombHandler, LRCoulombSingleton::ESLER, LRCoulombSingleton::EWALD, LRCoulombSingleton::NATOLI, LRCoulombSingleton::QUASI2D, LRCoulombSingleton::STRICT2D, and LRCoulombSingleton::this_lr_type.
Referenced by QMCFiniteSize::initBreakup(), CoulombPBCAA::initBreakup(), and CoulombPBCAB::initBreakup().
|
inlinestatic |
return true if quasi 2D is selected
Definition at line 58 of file LRCoulombSingleton.h.
References LRCoulombSingleton::QUASI2D, and LRCoulombSingleton::this_lr_type.
Referenced by KContainer::findApproxMMax(), LatticeParser::put(), and StructFact::StructFact().
|
static |
Stores the force/stress optimized LR handler.
Definition at line 52 of file LRCoulombSingleton.h.
Referenced by LRCoulombSingleton::getDerivHandler(), and qmcplusplus::TEST_CASE().
|
static |
Stores the energ optimized LR handler.
Definition at line 50 of file LRCoulombSingleton.h.
Referenced by LRCoulombSingleton::getHandler(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_CoulombPBCAA_3p().
|
static |
Definition at line 48 of file LRCoulombSingleton.h.
Referenced by LRCoulombSingleton::getDerivHandler(), LRCoulombSingleton::getHandler(), LRCoulombSingleton::isQuasi2D(), LatticeParser::put(), and qmcplusplus::TEST_CASE().