QMCPACK
FiniteDiffErrData Class Reference

Information for output of relative error in wavefunction derivatives vs. More...

+ Inheritance diagram for FiniteDiffErrData:
+ Collaboration diagram for FiniteDiffErrData:

Public Member Functions

 FiniteDiffErrData ()
 
bool put (xmlNodePtr q)
 

Public Attributes

int particleIndex
 
int gradientComponentIndex
 
std::string outputFile
 

Additional Inherited Members

- Public Types inherited from QMCTraits
enum  { DIM = OHMMS_DIM, DIM_VGL = OHMMS_DIM + 2 }
 
using QTBase = QMCTypes< OHMMS_PRECISION, DIM >
 
using QTFull = QMCTypes< OHMMS_PRECISION_FULL, DIM >
 
using RealType = QTBase::RealType
 
using ComplexType = QTBase::ComplexType
 
using ValueType = QTBase::ValueType
 
using PosType = QTBase::PosType
 
using GradType = QTBase::GradType
 
using TensorType = QTBase::TensorType
 
using IndexType = OHMMS_INDEXTYPE
 define other types More...
 
using FullPrecRealType = QTFull::RealType
 
using FullPrecValueType = QTFull::ValueType
 
using PropertySetType = RecordNamedProperty< FullPrecRealType >
 define PropertyList_t More...
 
using PtclGrpIndexes = std::vector< std::pair< int, int > >
 

Detailed Description

Information for output of relative error in wavefunction derivatives vs.

finite difference delta.

Definition at line 28 of file WaveFunctionTester.h.

Constructor & Destructor Documentation

◆ FiniteDiffErrData()

Member Function Documentation

◆ put()

bool put ( xmlNodePtr  q)

Definition at line 2220 of file WaveFunctionTester.cpp.

References ParameterSet::add(), FiniteDiffErrData::gradientComponentIndex, FiniteDiffErrData::outputFile, FiniteDiffErrData::particleIndex, ParameterSet::put(), and qmcplusplus::Units::time::s.

Referenced by WaveFunctionTester::put().

2221 {
2222  ParameterSet param;
2223  param.add(outputFile, "file");
2224  param.add(particleIndex, "particle_index");
2225  param.add(gradientComponentIndex, "gradient_index");
2226  bool s = param.put(q);
2227  return s;
2228 }
bool put(std::istream &is) override
read from std::istream
Definition: ParameterSet.h:42
class to handle a set of parameters
Definition: ParameterSet.h:27
void add(PDT &aparam, const std::string &aname_in, std::vector< PDT > candidate_values={}, TagStatus status=TagStatus::OPTIONAL)
add a new parameter corresponding to an xmlNode <parameter>

Member Data Documentation

◆ gradientComponentIndex

int gradientComponentIndex

◆ outputFile

std::string outputFile

◆ particleIndex

int particleIndex

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