QMCPACK
VMCDriverInput.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2020 QMCPACK developers.
6 //
7 // File developed by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
8 //
9 // File created by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef QMCPLUSPLUS_VMCDRIVERINPUT_H
13 #define QMCPLUSPLUS_VMCDRIVERINPUT_H
14 
15 #include "Configuration.h"
16 #include "OhmmsData/ParameterSet.h"
17 
18 namespace qmcplusplus
19 {
20 /** Input representation for VMC driver class runtime parameters
21  */
23 {
24 public:
29  VMCDriverInput(bool use_drift);
30  void readXML(xmlNodePtr xml_input);
31 
32 protected:
33  /** @ingroup Parameters for VMC Driver
34  * @{
35  *
36  * Do not write out blocks of gets for variables like this
37  * there is are code_generation tools in QMCPACK_ROOT/utils/code_tools
38  */
39  bool use_drift_ = true;
41  /** @} */
42 
43 public:
44  bool get_use_drift() const { return use_drift_; }
45  IndexType get_samples() const { return samples_; }
46 
47  friend std::ostream& operator<<(std::ostream& o_stream, const VMCDriverInput& vmci);
48 };
49 
50 extern std::ostream& operator<<(std::ostream& o_stream, const VMCDriverInput& vmci);
51 
52 } // namespace qmcplusplus
53 #endif
QMCTraits::RealType RealType
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
IndexType get_samples() const
QTBase::RealType RealType
Definition: Configuration.h:58
Input representation for VMC driver class runtime parameters.
QMCTraits::IndexType IndexType
friend std::ostream & operator<<(std::ostream &o_stream, const VMCDriverInput &vmci)
QMCTraits::FullPrecRealType FullPrecisionRealType
void readXML(xmlNodePtr xml_input)
std::ostream & operator<<(std::ostream &out, const AntiSymTensor< T, D > &rhs)
OHMMS_INDEXTYPE IndexType
define other types
Definition: Configuration.h:65
bool use_drift_
Do not write out blocks of gets for variables like this there is are code_generation tools in QMCPAC...
QTFull::RealType FullPrecRealType
Definition: Configuration.h:66