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"
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
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
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>
void readXML(xmlNodePtr xml_input)