QMCPACK
TestableNEReferencePoints Class Reference
+ Inheritance diagram for TestableNEReferencePoints:
+ Collaboration diagram for TestableNEReferencePoints:

Public Member Functions

 TestableNEReferencePoints (const NEReferencePoints &nerp)
 
void write_testable_description (std::ostream &os) const
 
- Public Member Functions inherited from NEReferencePoints
 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 Pointsget_points () const
 return const ref to map of reference points. More...
 

Additional Inherited Members

- Public Types inherited from NEReferencePoints
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
 
- Protected Attributes inherited from NEReferencePoints
Points points_
 

Detailed Description

Definition at line 29 of file test_ReferencePoints.cpp.

Constructor & Destructor Documentation

◆ TestableNEReferencePoints()

TestableNEReferencePoints ( const NEReferencePoints nerp)
inline

Definition at line 32 of file test_ReferencePoints.cpp.

32 : NEReferencePoints(nerp) {}
NEReferencePoints(const ReferencePointsInput &rp_input, const ParticleSet &pset, RefVector< ParticleSet > &ref_psets)
Usual constructor.

Member Function Documentation

◆ write_testable_description()

void write_testable_description ( std::ostream &  os) const

Definition at line 36 of file test_ReferencePoints.cpp.

References NEReferencePoints::points_.

Referenced by qmcplusplus::operator<<().

37 {
38  os << "{" << '\n';
39  std::map<std::string, Point>::const_iterator it, end = points_.end();
40  for (it = points_.begin(); it != end; ++it)
41  {
42  os << " {\"" << it->first << "\", {" << std::setw(16) << std::setprecision(16) << it->second[0] << ","
43  << it->second[1] << "," << it->second[2] << "}}," << '\n';
44  }
45  os << "};" << '\n';
46  return;
47 }

The documentation for this class was generated from the following file: