QMCPACK
PerParticleHamiltonianLoggerInput Class Reference
+ Collaboration diagram for PerParticleHamiltonianLoggerInput:

Classes

class  PerParticleHamiltonianLoggerInputSection
 

Public Types

using Consumer = PerParticleHamiltonianLogger
 
using Real = QMCTraits::RealType
 

Public Member Functions

 PerParticleHamiltonianLoggerInput (const PerParticleHamiltonianLoggerInput &other)=default
 
 PerParticleHamiltonianLoggerInput (xmlNodePtr cur)
 
 PerParticleHamiltonianLoggerInput ()=default
 For this input class its valid with just its defaults. More...
 
const std::string & get_name () const
 
bool get_to_stdout () const
 

Private Attributes

PerParticleHamiltonianLoggerInputSection input_section_
 
std::string name_ = "per_particle_log"
 
bool to_stdout_ = false
 

Detailed Description

Definition at line 22 of file PerParticleHamiltonianLoggerInput.h.

Member Typedef Documentation

◆ Consumer

◆ Real

Definition at line 26 of file PerParticleHamiltonianLoggerInput.h.

Constructor & Destructor Documentation

◆ PerParticleHamiltonianLoggerInput() [1/3]

◆ PerParticleHamiltonianLoggerInput() [2/3]

PerParticleHamiltonianLoggerInput ( xmlNodePtr  cur)

Definition at line 16 of file PerParticleHamiltonianLoggerInput.cpp.

References PerParticleHamiltonianLoggerInput::input_section_, LAMBDA_setIfInInput, PerParticleHamiltonianLoggerInput::name_, InputSection::readXML(), and PerParticleHamiltonianLoggerInput::to_stdout_.

17  {
19  auto setIfInInput = LAMBDA_setIfInInput;
20  setIfInInput(to_stdout_, "to_stdout");
21  setIfInInput(name_, "name");
22  }
#define LAMBDA_setIfInInput
If tag is present in input_secution set its variable.
void readXML(xmlNodePtr cur)
Read variable values (initialize) from XML input, call checkValid.
PerParticleHamiltonianLoggerInputSection input_section_

◆ PerParticleHamiltonianLoggerInput() [3/3]

For this input class its valid with just its defaults.

Member Function Documentation

◆ get_name()

◆ get_to_stdout()

Member Data Documentation

◆ input_section_

◆ name_

◆ to_stdout_


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