|
votca 2026-dev
|
#include <ewaldregistry.h>

Classes | |
| struct | KeyLess |
Public Member Functions | |
| EwaldRegistry ()=default | |
| void | Register (Index id, EwaldChargeState state, PolarSegment segment) |
| bool | Has (Index id, EwaldChargeState state) const |
| const PolarSegment & | Get (Index id, EwaldChargeState state) const |
| PolarSegment & | Get (Index id, EwaldChargeState state) |
| void | Erase (Index id, EwaldChargeState state) |
| std::vector< Index > | AllIds () const |
| std::vector< EwaldChargeState > | StatesFor (Index id) const |
| Index | size () const |
| void | WriteToCpt (CheckpointWriter &w) const |
| void | ReadFromCpt (CheckpointReader &r) |
Private Types | |
| using | Key = std::pair<Index, EwaldChargeState> |
Private Attributes | |
| std::map< Key, PolarSegment, KeyLess > | store_ |
Definition at line 65 of file ewaldregistry.h.
|
private |
Definition at line 103 of file ewaldregistry.h.
|
default |
| std::vector< Index > votca::xtp::EwaldRegistry::AllIds | ( | ) | const |
Definition at line 126 of file ewaldregistry.cc.
| void votca::xtp::EwaldRegistry::Erase | ( | Index | id, |
| EwaldChargeState | state ) |
Definition at line 122 of file ewaldregistry.cc.
| PolarSegment & votca::xtp::EwaldRegistry::Get | ( | Index | id, |
| EwaldChargeState | state ) |
Definition at line 111 of file ewaldregistry.cc.
| const PolarSegment & votca::xtp::EwaldRegistry::Get | ( | Index | id, |
| EwaldChargeState | state ) const |
Definition at line 100 of file ewaldregistry.cc.
| bool votca::xtp::EwaldRegistry::Has | ( | Index | id, |
| EwaldChargeState | state ) const |
Definition at line 96 of file ewaldregistry.cc.
| void votca::xtp::EwaldRegistry::ReadFromCpt | ( | CheckpointReader & | r | ) |
Definition at line 160 of file ewaldregistry.cc.
| void votca::xtp::EwaldRegistry::Register | ( | Index | id, |
| EwaldChargeState | state, | ||
| PolarSegment | segment ) |
Definition at line 69 of file ewaldregistry.cc.
|
inline |
Definition at line 97 of file ewaldregistry.h.
| std::vector< EwaldChargeState > votca::xtp::EwaldRegistry::StatesFor | ( | Index | id | ) | const |
Definition at line 137 of file ewaldregistry.cc.
| void votca::xtp::EwaldRegistry::WriteToCpt | ( | CheckpointWriter & | w | ) | const |
Definition at line 147 of file ewaldregistry.cc.
|
private |
Definition at line 114 of file ewaldregistry.h.