![]() |
QMCPACK
|
This class creates, contains, and writes both user and machine readable referencepoints. More...
Inheritance diagram for NEReferencePoints:
Collaboration diagram for NEReferencePoints:Public Types | |
| using | Real = QMCTraits::FullPrecRealType |
| using | Axes = Tensor< Real, OHMMS_DIM > |
| using | Point = TinyVector< Real, OHMMS_DIM > |
| using | Points = std::map< std::string, Point > |
| using | Coord = typename ReferencePointsInput::Coord |
Public Member Functions | |
| NEReferencePoints (const ReferencePointsInput &rp_input, const ParticleSet &pset, RefVector< ParticleSet > &ref_psets) | |
| Usual constructor. More... | |
| NEReferencePoints (const NEReferencePoints &nerp)=default | |
| void | write_description (std::ostream &os, const std::string &indent) const |
| writes a human readable representation of the reference points. More... | |
| void | write (hdf_archive &file) const |
| machine readable output More... | |
| const Points & | get_points () const |
| return const ref to map of reference points. More... | |
Protected Attributes | |
| Points | points_ |
Private Member Functions | |
| void | processParticleSets (const ParticleSet &P, RefVector< ParticleSet > &Pref) |
Private Attributes | |
| Axes | axes |
| ReferencePointsInput | input_ |
This class creates, contains, and writes both user and machine readable referencepoints.
they are derived from the lattice of the pset passed and the particle positions in the ref_psets an arbitrary number of additional points can be defined in the input that ReferencePointsInput presents as native input. It is a dependency of Estimators/NESpaceGrid and Estimatorss/EnergyDensityEstimator
Definition at line 37 of file NEReferencePoints.h.
| using Coord = typename ReferencePointsInput::Coord |
Definition at line 44 of file NEReferencePoints.h.
| using Point = TinyVector<Real, OHMMS_DIM> |
Definition at line 42 of file NEReferencePoints.h.
Definition at line 43 of file NEReferencePoints.h.
| using Real = QMCTraits::FullPrecRealType |
Definition at line 40 of file NEReferencePoints.h.
| NEReferencePoints | ( | const ReferencePointsInput & | rp_input, |
| const ParticleSet & | pset, | ||
| RefVector< ParticleSet > & | ref_psets | ||
| ) |
Usual constructor.
| [in] | rp_input | Input object for reference points which can contain and arbitrary set of points beyond those take from the pset, and ref_psets |
| [in] | pset | pset that supplies the lattice information for reference points |
| [in] | ref_psets | pset reference vector the particle points in this/these psets are reference points ions are surfaced in the reference points as ion{num} with no special formatting. |
Definition at line 23 of file NEReferencePoints.cpp.
References NEReferencePoints::axes, qmcplusplus::dot(), ReferencePointsInput::get_coord_form(), ReferencePointsInput::get_points(), NEReferencePoints::input_, OHMMS_DIM, NEReferencePoints::points_, NEReferencePoints::processParticleSets(), and qmcplusplus::pset.
|
default |
|
inline |
return const ref to map of reference points.
labeling scheme unchanged from legacy
Definition at line 70 of file NEReferencePoints.h.
References NEReferencePoints::points_.
Referenced by qmcplusplus::TEST_CASE().
|
private |
Definition at line 53 of file NEReferencePoints.cpp.
References ParticleSet::getLattice(), NEReferencePoints::points_, and qmcplusplus::pset.
Referenced by NEReferencePoints::NEReferencePoints().
| void write | ( | hdf_archive & | file | ) | const |
machine readable output
| [in,out] | file | hdf5 file to write to. Respects current state of file. |
Definition at line 102 of file NEReferencePoints.cpp.
References NEReferencePoints::points_, hdf_archive::pop(), hdf_archive::push(), and hdf_archive::write().
Referenced by qmcplusplus::TEST_CASE().
| void write_description | ( | std::ostream & | os, |
| const std::string & | indent | ||
| ) | const |
writes a human readable representation of the reference points.
| [in,out] | os | ostream to write description to |
| [in] | indent | spaces or other text to preface each line of output with. needed to preserve legacy output format. |
Definition at line 90 of file NEReferencePoints.cpp.
References NEReferencePoints::points_.
Referenced by qmcplusplus::operator<<(), and qmcplusplus::TEST_CASE().
|
private |
Definition at line 76 of file NEReferencePoints.h.
Referenced by NEReferencePoints::NEReferencePoints().
|
private |
Definition at line 77 of file NEReferencePoints.h.
Referenced by NEReferencePoints::NEReferencePoints().
|
protected |
Definition at line 73 of file NEReferencePoints.h.
Referenced by NEReferencePoints::get_points(), NEReferencePoints::NEReferencePoints(), NEReferencePoints::processParticleSets(), NEReferencePoints::write(), NEReferencePoints::write_description(), and TestableNEReferencePoints::write_testable_description().