#include <EffectiveMediumTheory.h>
Public Member Functions | |
| EffectiveMediumTheory (const Parameters &p) | |
| ~EffectiveMediumTheory () | |
| void | cleanMemory () |
| void | force (long N, const double *R, const int *atomicNrs, double *F, double *U, double *variance, const double *box) |
| Public Member Functions inherited from eonc::Potential | |
| Potential (PotType a_ptype) | |
| Potential (PotType a_ptype, const Parameters &) | |
| Potential (const Parameters &a_params) | |
| virtual | ~Potential () |
| std::tuple< double, AtomMatrix > | get_ef (const AtomMatrix &pos, const VectorXi &atmnrs, const Matrix3d &box) |
| PotType | getType () const |
| virtual bool | isSurrogate () const noexcept |
| Whether this is a surrogate (GP) potential. | |
| virtual bool | requiresIsolatedMoleculeLayout () const noexcept |
| True for molecular QM / non-PBC backends (NWChem socket, ASE ORCA/NWChem, …). | |
| virtual bool | isThreadSafe () const noexcept |
| Whether this potential's force() can be called from multiple threads on the SAME instance. | |
| virtual bool | isSharedInstanceThreadSafe () const noexcept |
| Conservative gate for sharing one Potential instance across threads. | |
| virtual bool | needsPerImageInstance () const noexcept |
| Whether NEB should create separate Potential instances per image for true parallel force evaluation. | |
| virtual bool | supportsBatchEvaluation () const noexcept |
| Whether this potential supports batched evaluation of N systems in a single call. | |
| virtual void | forceBatch (long nSystems, long nAtoms, const double *const *positions, const int *const *atomicNrs, double *const *forces, double *energies, double *variances, const double *const *boxes) |
| Evaluate forces for N systems in a single call. | |
Private Attributes | |
| bool | emtRasmussen {false} |
| long | numberOfAtoms {0} |
| bool | periodicity [3] {true, true, true} |
| Atoms * | AtomsObj {nullptr} |
| EMTDefaultParameterProvider * | EMTParameterObj {nullptr} |
| EMT * | EMTObj {nullptr} |
| SuperCell * | SuperCellObj {nullptr} |
Additional Inherited Members | |
| Public Attributes inherited from eonc::Potential | |
| std::atomic< size_t > | forceCallCounter |
| Protected Attributes inherited from eonc::Potential | |
| PotType | ptype |
EMT potential.
Inspect the EMT_parms.h to see what the EMT potential is hardcoded to describe.
Definition at line 29 of file EffectiveMediumTheory.h.
|
inline |
Definition at line 41 of file EffectiveMediumTheory.h.
|
inline |
Definition at line 44 of file EffectiveMediumTheory.h.
| void EffectiveMediumTheory::cleanMemory | ( | ) |
Definition at line 18 of file EffectiveMediumTheory.cpp.
|
virtual |
Implements eonc::Potential.
Definition at line 32 of file EffectiveMediumTheory.cpp.
|
private |
Definition at line 35 of file EffectiveMediumTheory.h.
|
private |
Definition at line 37 of file EffectiveMediumTheory.h.
|
private |
Definition at line 36 of file EffectiveMediumTheory.h.
|
private |
Definition at line 32 of file EffectiveMediumTheory.h.
|
private |
Definition at line 33 of file EffectiveMediumTheory.h.
|
private |
Definition at line 34 of file EffectiveMediumTheory.h.
|
private |
Definition at line 38 of file EffectiveMediumTheory.h.