QMCPACK
GradientTestInput.cpp
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: Mark Dewing, mdewing@anl.gov, Argonne National Laboratory
8
//
9
// File created by: Mark Dewing, mdewing@anl.gov, Argonne National Laboratory
10
//////////////////////////////////////////////////////////////////////////////////////
11
12
#include "
GradientTestInput.h
"
13
#include "
io/OhmmsData/ParameterSet.h
"
14
15
namespace
qmcplusplus
16
{
17
void
GradientTestInput::readXML
(xmlNodePtr xml_input)
18
{
19
ParameterSet
param;
20
param.
add
(
do_param_output_
,
"output_param_file"
, {
false
});
21
param.
add
(
finite_diff_delta_
,
"finite_diff_delta"
);
22
param.
put
(xml_input);
23
}
24
25
26
}
// namespace qmcplusplus
qmcplusplus
helper functions for EinsplineSetBuilder
Definition:
Configuration.h:43
GradientTestInput.h
qmcplusplus::GradientTestInput::finite_diff_delta_
double finite_diff_delta_
Definition:
GradientTestInput.h:28
ParameterSet::put
bool put(std::istream &is) override
read from std::istream
Definition:
ParameterSet.h:42
qmcplusplus::GradientTestInput::do_param_output_
bool do_param_output_
Definition:
GradientTestInput.h:27
ParameterSet
class to handle a set of parameters
Definition:
ParameterSet.h:27
ParameterSet::add
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>
Definition:
ParameterSet.cpp:58
qmcplusplus::GradientTestInput::readXML
void readXML(xmlNodePtr xml_input)
Definition:
GradientTestInput.cpp:17
ParameterSet.h
src
QMCDrivers
WFOpt
GradientTestInput.cpp
Generated on Fri Jun 28 2024 10:45:18 for QMCPACK by
1.8.14