![]() |
QMCPACK
|
class to handle a set of variables that can be modified during optimizations More...
Public Types | |
using | real_type = qmcplusplus::QMCTraits::RealType |
using | pair_type = std::pair< std::string, real_type > |
using | index_pair_type = std::pair< std::string, int > |
using | iterator = std::vector< pair_type >::iterator |
using | const_iterator = std::vector< pair_type >::const_iterator |
using | size_type = std::vector< pair_type >::size_type |
Public Member Functions | |
VariableSet () | |
default constructor More... | |
virtual | ~VariableSet ()=default |
viturval destructor for safety More... | |
bool | is_optimizable () const |
if any of Index value is not zero, return true More... | |
int | size_of_active () const |
return the number of active variables More... | |
const_iterator | begin () const |
return the first const_iterator More... | |
const_iterator | end () const |
return the last const_iterator More... | |
iterator | begin () |
return the first iterator More... | |
iterator | end () |
return the last iterator More... | |
size_type | size () const |
return the size More... | |
int | where (int i) const |
return the locator of the i-th Index More... | |
iterator | find (const std::string &vname) |
return the iterator of a named parameter More... | |
int | getIndex (const std::string &vname) const |
return the Index vaule for the named parameter More... | |
int | getLoc (const std::string &vname) const |
void | insert (const std::string &vname, real_type v, bool enable=true, int type=OTHER_P) |
void | setParameterType (int type) |
void | getParameterTypeList (std::vector< int > &types) const |
real_type & | operator[] (const std::string &vname) |
equivalent to std::map<std::string,T>[string] operator More... | |
const std::string & | name (int i) const |
return the name of i-th variable More... | |
real_type | operator[] (int i) const |
return the i-th value More... | |
real_type & | operator[] (int i) |
assign the i-th value More... | |
int | getType (int i) const |
get the i-th parameter's type More... | |
bool | recompute (int i) const |
int & | recompute (int i) |
void | setComputed () |
void | setRecompute () |
void | clear () |
clear the variable set More... | |
void | insertFrom (const VariableSet &input) |
insert a VariableSet to the list More... | |
void | insertFromSum (const VariableSet &input_1, const VariableSet &input_2) |
sum together the values of the optimizable parameter values in two VariableSet objects, and set this object's values to equal them. More... | |
void | insertFromDiff (const VariableSet &input_1, const VariableSet &input_2) |
take the difference (input_1-input_2) of values of the optimizable parameter values in two VariableSet objects, and set this object's values to equal them. More... | |
template<typename ForwardIterator > | |
void | activate (ForwardIterator first, ForwardIterator last, bool reindex) |
activate variables for optimization More... | |
template<typename ForwardIterator > | |
void | disable (ForwardIterator first, ForwardIterator last, bool reindex) |
deactivate variables for optimization More... | |
void | resetIndex () |
reset Index More... | |
void | removeInactive () |
remove inactive variables and trim the internal data More... | |
void | getIndex (const VariableSet &selected) |
set the index table of this VariableSet More... | |
void | setIndexDefault () |
set default Indices, namely all the variables are active More... | |
void | print (std::ostream &os, int leftPadSpaces=0, bool printHeader=false) const |
void | writeToHDF (const std::string &filename, qmcplusplus::hdf_archive &hout) const |
void | readFromHDF (const std::string &filename, qmcplusplus::hdf_archive &hin) |
Read variational parameters from an HDF file. More... | |
Public Attributes | |
int | num_active_vars |
number of active variables More... | |
std::vector< int > | Index |
store locator of the named variable More... | |
std::vector< pair_type > | NameAndValue |
std::vector< index_pair_type > | ParameterType |
std::vector< index_pair_type > | Recompute |
class to handle a set of variables that can be modified during optimizations
A serialized container of named variables.
Definition at line 49 of file VariableSet.h.
using const_iterator = std::vector<pair_type>::const_iterator |
Definition at line 56 of file VariableSet.h.
using index_pair_type = std::pair<std::string, int> |
Definition at line 54 of file VariableSet.h.
Definition at line 55 of file VariableSet.h.
Definition at line 53 of file VariableSet.h.
Definition at line 51 of file VariableSet.h.
Definition at line 57 of file VariableSet.h.
|
inline |
default constructor
Definition at line 71 of file VariableSet.h.
|
virtualdefault |
viturval destructor for safety
|
inline |
activate variables for optimization
first | iterator of the first name |
last | iterator of the last name |
reindex | if true, Index is updated |
The status of a variable that is not included in the [first,last) remains the same.
Definition at line 264 of file VariableSet.h.
References VariableSet::find(), VariableSet::Index, VariableSet::NameAndValue, VariableSet::num_active_vars, VariableSet::removeInactive(), and VariableSet::resetIndex().
Referenced by QMCCostFunctionBase::put(), and optimize::TEST_CASE().
|
inline |
return the first const_iterator
Definition at line 80 of file VariableSet.h.
References VariableSet::NameAndValue.
Referenced by QMCCostFunctionBase::addCJParams(), QMCCostFunctionBase::addCoefficients(), and QMCCostFunctionBase::printCJParams().
|
inline |
return the first iterator
Definition at line 84 of file VariableSet.h.
References VariableSet::NameAndValue.
void clear | ( | ) |
clear the variable set
Remove all the data.
Definition at line 28 of file VariableSet.cpp.
References VariableSet::Index, VariableSet::NameAndValue, VariableSet::num_active_vars, VariableSet::ParameterType, and VariableSet::Recompute.
Referenced by RotatedSPOs::buildOptVariables(), SlaterDet::checkOutVariables(), JeeIOrbitalSoA< FT >::checkOutVariables(), J1Spin< FT >::checkOutVariables(), J1OrbitalSoA< FT >::checkOutVariables(), ExampleHeComponent::put(), QMCCostFunctionBase::put(), PadeFunctor< T >::put(), UserFunctor< T >::put(), Pade2ndOrderFunctor< T >::put(), PadeTwo2ndOrderFunctor< T >::put(), FakeOptimizableObject::readVariationalParameters(), WaveFunctionTester::runDerivNLPPTest(), and WaveFunctionTester::runDerivTest().
|
inline |
deactivate variables for optimization
first | iterator of the first name |
last | iterator of the last name |
reindex | if true, the variales are removed and Index is updated |
Definition at line 289 of file VariableSet.h.
References VariableSet::find(), VariableSet::Index, VariableSet::NameAndValue, VariableSet::removeInactive(), and VariableSet::resetIndex().
Referenced by QMCCostFunctionBase::put().
|
inline |
return the last const_iterator
Definition at line 82 of file VariableSet.h.
References VariableSet::NameAndValue.
Referenced by QMCCostFunctionBase::addCJParams(), QMCCostFunctionBase::addCoefficients(), QMCCostFunctionBase::printCJParams(), VariableSet::readFromHDF(), optimize::TEST_CASE(), and QMCCostFunctionBase::updateXmlNodes().
|
inline |
return the last iterator
Definition at line 86 of file VariableSet.h.
References VariableSet::NameAndValue.
|
inline |
return the iterator of a named parameter
vname | name of a parameter |
If vname is not found among the Names, return NameAndValue.end() so that ::end() member function can be used to validate the iterator.
Definition at line 98 of file VariableSet.h.
References VariableSet::NameAndValue.
Referenced by VariableSet::activate(), QMCCostFunctionBase::addCJParams(), VariableSet::disable(), VariableSet::insert(), VariableSet::insertFrom(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), VariableSet::operator[](), VariableSet::readFromHDF(), optimize::TEST_CASE(), and QMCCostFunctionBase::updateXmlNodes().
int getIndex | ( | const std::string & | vname | ) | const |
return the Index vaule for the named parameter
vname | name of the variable |
If vname is not found in this variables, return -1;
Definition at line 177 of file VariableSet.cpp.
References VariableSet::Index, and VariableSet::NameAndValue.
Referenced by ExampleHeComponent::checkOutVariables(), SlaterDet::checkOutVariables(), CountingJastrow< RegionType >::checkOutVariables(), CountingGaussian::checkOutVariables(), Backflow_ee_kSpace::checkOutVariables(), kSpaceJastrow::checkOutVariables(), RotatedSPOs::checkOutVariables(), PadeFunctor< T >::checkOutVariables(), UserFunctor< T >::checkOutVariables(), JeeIOrbitalSoA< FT >::checkOutVariables(), J1Spin< FT >::checkOutVariables(), J1OrbitalSoA< FT >::checkOutVariables(), Pade2ndOrderFunctor< T >::checkOutVariables(), ShortRangeCuspFunctor< T >::checkOutVariables(), BsplineFunctor< REAL >::checkOutVariables(), PadeTwo2ndOrderFunctor< T >::checkOutVariables(), ScaledPadeFunctor< T >::checkOutVariables(), PolynomialFunctor3D::checkOutVariables(), CountingJastrow< RegionType >::evaluateDerivatives(), OptimizableFunctorBase::getIndex(), VariableSet::getIndex(), QMCCostFunctionBase::put(), CountingJastrow< RegionType >::resetParametersExclusive(), and optimize::TEST_CASE().
void getIndex | ( | const VariableSet & | selected | ) |
set the index table of this VariableSet
selected | input variables |
This VariableSet is a subset of selected.
Definition at line 166 of file VariableSet.cpp.
References VariableSet::getIndex(), VariableSet::Index, VariableSet::NameAndValue, and VariableSet::num_active_vars.
|
inline |
Definition at line 121 of file VariableSet.h.
References VariableSet::NameAndValue.
Referenced by CountingGaussian::resetParameters(), and CountingJastrow< RegionType >::resetParametersExclusive().
|
inline |
Definition at line 159 of file VariableSet.h.
References VariableSet::ParameterType.
Referenced by QMCCostFunctionBase::getParameterTypes().
|
inline |
get the i-th parameter's type
i | index |
Definition at line 204 of file VariableSet.h.
References VariableSet::ParameterType.
Referenced by QMCCostFunctionBase::getType(), and DescentEngine::setupUpdate().
|
inline |
Definition at line 133 of file VariableSet.h.
References VariableSet::find(), VariableSet::Index, VariableSet::NameAndValue, VariableSet::ParameterType, and VariableSet::Recompute.
Referenced by FakeOptimizableObject::FakeOptimizableObject(), CountingGaussian::initialize(), CountingJastrow< RegionType >::initialize(), BsplineFunctor< REAL >::initialize(), kSpaceJastrow::kSpaceJastrow(), ExampleHeComponent::put(), PadeFunctor< T >::put(), UserFunctor< T >::put(), BsplineFunctor< REAL >::put(), ShortRangeCuspFunctor< T >::put(), Pade2ndOrderFunctor< T >::put(), PadeTwo2ndOrderFunctor< T >::put(), PolynomialFunctor3D::put(), FakeOptimizableObject::readVariationalParameters(), LinearMethodTestSupport::set_samples_and_param(), ShortRangeCuspFunctor< T >::set_variable_from_xml(), optimize::TEST_CASE(), and qmcplusplus::TEST_CASE().
void insertFrom | ( | const VariableSet & | input | ) |
insert a VariableSet to the list
input | variables |
Definition at line 37 of file VariableSet.cpp.
References VariableSet::find(), VariableSet::Index, VariableSet::NameAndValue, VariableSet::num_active_vars, VariableSet::ParameterType, and VariableSet::Recompute.
Referenced by CountingGaussian::checkInVariables(), Backflow_ee_kSpace::checkInVariables(), FakeOptimizableObject::checkInVariablesExclusive(), ExampleHeComponent::checkInVariablesExclusive(), MultiSlaterDetTableMethod::checkInVariablesExclusive(), kSpaceJastrow::checkInVariablesExclusive(), RotatedSPOs::checkInVariablesExclusive(), PadeFunctor< T >::checkInVariablesExclusive(), UserFunctor< T >::checkInVariablesExclusive(), Pade2ndOrderFunctor< T >::checkInVariablesExclusive(), ShortRangeCuspFunctor< T >::checkInVariablesExclusive(), BsplineFunctor< REAL >::checkInVariablesExclusive(), PadeTwo2ndOrderFunctor< T >::checkInVariablesExclusive(), ScaledPadeFunctor< T >::checkInVariablesExclusive(), PolynomialFunctor3D::checkInVariablesExclusive(), SlaterDet::checkOutVariables(), JeeIOrbitalSoA< FT >::checkOutVariables(), J1Spin< FT >::checkOutVariables(), J1OrbitalSoA< FT >::checkOutVariables(), and qmcplusplus::TEST_CASE().
void insertFromDiff | ( | const VariableSet & | input_1, |
const VariableSet & | input_2 | ||
) |
take the difference (input_1-input_2) of values of the optimizable parameter values in two VariableSet objects, and set this object's values to equal them.
first | set of input variables |
second | set of input variables |
Definition at line 95 of file VariableSet.cpp.
References VariableSet::find(), VariableSet::Index, VariableSet::name(), VariableSet::NameAndValue, VariableSet::num_active_vars, VariableSet::ParameterType, VariableSet::Recompute, and VariableSet::size().
void insertFromSum | ( | const VariableSet & | input_1, |
const VariableSet & | input_2 | ||
) |
sum together the values of the optimizable parameter values in two VariableSet objects, and set this object's values to equal them.
first | set of input variables |
second | set of input variables |
Definition at line 55 of file VariableSet.cpp.
References VariableSet::find(), VariableSet::Index, VariableSet::name(), VariableSet::NameAndValue, VariableSet::num_active_vars, VariableSet::ParameterType, VariableSet::Recompute, and VariableSet::size().
|
inline |
if any of Index value is not zero, return true
Definition at line 76 of file VariableSet.h.
References VariableSet::num_active_vars.
Referenced by optimize::TEST_CASE().
|
inline |
return the name of i-th variable
i | index |
Definition at line 189 of file VariableSet.h.
References VariableSet::NameAndValue.
Referenced by CountingJastrow< RegionType >::evaluateDerivatives(), QMCCostFunctionBase::getParamName(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), QMCCostFunctionBase::put(), QMCCostFunctionBase::reportParametersH5(), DescentEngine::setupUpdate(), qmcplusplus::TEST_CASE(), and optimize::TEST_CASE().
|
inline |
equivalent to std::map<std::string,T>[string] operator
Definition at line 171 of file VariableSet.h.
References VariableSet::find(), VariableSet::Index, VariableSet::NameAndValue, VariableSet::ParameterType, and VariableSet::Recompute.
|
inline |
return the i-th value
i | index |
Definition at line 194 of file VariableSet.h.
References VariableSet::NameAndValue.
|
inline |
assign the i-th value
i | index |
Definition at line 199 of file VariableSet.h.
References VariableSet::NameAndValue.
void print | ( | std::ostream & | os, |
int | leftPadSpaces = 0 , |
||
bool | printHeader = false |
||
) | const |
Definition at line 195 of file VariableSet.cpp.
References VariableSet::Index, VariableSet::NameAndValue, VariableSet::ParameterType, and VariableSet::Recompute.
Referenced by RotatedSPOs::buildOptVariables(), J1Spin< FT >::checkOutVariables(), BsplineFunctor< REAL >::initialize(), PadeFunctor< T >::put(), BsplineFunctor< REAL >::put(), Pade2ndOrderFunctor< T >::put(), PadeTwo2ndOrderFunctor< T >::put(), PolynomialFunctor3D::put(), QMCCostFunctionBase::Report(), QMCCostFunctionBase::reportParameters(), Backflow_ee_kSpace::reportStatus(), CountingJastrow< RegionType >::reportStatus(), CountingGaussian::reportStatus(), BsplineFunctor< REAL >::reportStatus(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), optimize::TEST_CASE(), BackflowTransformation::testDeriv(), and SlaterDetWithBackflow::testDerivGL().
void readFromHDF | ( | const std::string & | filename, |
qmcplusplus::hdf_archive & | hin | ||
) |
Read variational parameters from an HDF file.
This assumes VariableSet is already set up.
Definition at line 275 of file VariableSet.cpp.
References VariableSet::end(), VariableSet::find(), hdf_archive::open(), hdf_archive::pop(), hdf_archive::push(), and hdf_archive::read().
Referenced by WaveFunctionFactory::buildTWF(), qmcplusplus::TEST_CASE(), and optimize::TEST_CASE().
|
inline |
Definition at line 206 of file VariableSet.h.
References VariableSet::Recompute, and qmcplusplus::Units::second.
Referenced by QMCCostFunction::correlatedSampling(), RotatedSPOs::evaluateDerivatives(), MultiSlaterDetTableMethod::evaluateDerivatives(), kSpaceJastrow::evaluateDerivatives(), J1Spin< FT >::evaluateDerivatives(), TwoBodyJastrow< FT >::evaluateDerivatives(), J1OrbitalSoA< FT >::evaluateDerivatives(), JeeIOrbitalSoA< FT >::evaluateDerivatives(), MultiSlaterDetTableMethod::evaluateDerivativesWF(), RotatedSPOs::evaluateDerivativesWF(), J1Spin< FT >::evaluateDerivativesWF(), TwoBodyJastrow< FT >::evaluateDerivativesWF(), J1OrbitalSoA< FT >::evaluateDerivativesWF(), JeeIOrbitalSoA< FT >::evaluateDerivativesWF(), MultiSlaterDetTableMethod::evaluateDerivRatios(), TwoBodyJastrow< FT >::evaluateDerivRatios(), J1OrbitalSoA< FT >::evaluateDerivRatios(), and JeeIOrbitalSoA< FT >::evaluateDerivRatios().
|
inline |
Definition at line 208 of file VariableSet.h.
References VariableSet::Recompute.
void removeInactive | ( | ) |
remove inactive variables and trim the internal data
Definition at line 135 of file VariableSet.cpp.
References VariableSet::Index, VariableSet::NameAndValue, VariableSet::num_active_vars, VariableSet::ParameterType, and VariableSet::Recompute.
Referenced by VariableSet::activate(), VariableSet::disable(), and qmcplusplus::TEST_CASE().
void resetIndex | ( | ) |
reset Index
Definition at line 157 of file VariableSet.cpp.
References VariableSet::Index, and VariableSet::num_active_vars.
Referenced by VariableSet::activate(), WaveFunctionFactory::buildTWF(), VariableSet::disable(), CountingJastrow< RegionType >::initialize(), QMCCostFunctionBase::put(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), qmcplusplus::TEST_CASE(), and qmcplusplus::test_hcpBe_rotation().
|
inline |
Definition at line 210 of file VariableSet.h.
References optimize::LOGLINEAR_K, optimize::LOGLINEAR_P, VariableSet::ParameterType, VariableSet::Recompute, and qmcplusplus::Units::second.
Referenced by QMCCostFunction::checkConfigurations(), and QMCCostFunctionBatched::checkConfigurations().
void setIndexDefault | ( | ) |
set default Indices, namely all the variables are active
Definition at line 189 of file VariableSet.cpp.
References VariableSet::Index.
Referenced by BsplineFunctor< REAL >::checkInVariablesExclusive(), and PolynomialFunctor3D::checkInVariablesExclusive().
|
inline |
Definition at line 149 of file VariableSet.h.
References VariableSet::ParameterType.
Referenced by BackflowBuilder::makeLongRange_twoBody().
|
inline |
Definition at line 223 of file VariableSet.h.
References VariableSet::Recompute, and qmcplusplus::Units::second.
|
inline |
return the size
Definition at line 88 of file VariableSet.h.
References VariableSet::NameAndValue.
Referenced by RotatedSPOs::buildOptVariables(), RotatedSPOs::checkInVariablesExclusive(), JeeIOrbitalSoA< FT >::checkOutVariables(), J1Spin< FT >::checkOutVariables(), J1OrbitalSoA< FT >::checkOutVariables(), RotatedSPOs::evaluateDerivatives(), kSpaceJastrow::evaluateDerivatives(), J1Spin< FT >::evaluateDerivatives(), SlaterDet::evaluateDerivatives(), J1OrbitalSoA< FT >::evaluateDerivatives(), CountingGaussianRegion::evaluateDerivatives(), CountingJastrow< RegionType >::evaluateDerivatives(), JeeIOrbitalSoA< FT >::evaluateDerivatives(), RotatedSPOs::evaluateDerivativesWF(), J1Spin< FT >::evaluateDerivativesWF(), SlaterDet::evaluateDerivativesWF(), J1OrbitalSoA< FT >::evaluateDerivativesWF(), JeeIOrbitalSoA< FT >::evaluateDerivativesWF(), RotatedSPOs::evaluateDerivRatios(), J1OrbitalSoA< FT >::evaluateDerivRatios(), JeeIOrbitalSoA< FT >::evaluateDerivRatios(), CountingGaussianRegion::evaluateTempDerivatives(), QMCCostFunctionBase::getNumParams(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), QMCCostFunctionBase::put(), RotatedSPOs::readVariationalParameters(), QMCCostFunctionBase::Report(), QMCCostFunctionBase::reportParametersH5(), ExampleHeComponent::resetParametersExclusive(), CountingJastrow< RegionType >::resetParametersExclusive(), RotatedSPOs::resetParametersExclusive(), PadeFunctor< T >::resetParametersExclusive(), UserFunctor< T >::resetParametersExclusive(), ShortRangeCuspFunctor< T >::resetParametersExclusive(), PadeTwo2ndOrderFunctor< T >::resetParametersExclusive(), QMCCostFunction::resetPsi(), QMCCostFunctionBatched::resetPsi(), J1Spin< FT >::resizeWFOptVectors(), J1OrbitalSoA< FT >::resizeWFOptVectors(), JeeIOrbitalSoA< FT >::resizeWFOptVectors(), TwoBodyJastrow< FT >::resizeWFOptVectors(), WaveFunctionTester::runDerivCloneTest(), WaveFunctionTester::runDerivNLPPTest(), WaveFunctionTester::runDerivTest(), DescentEngine::setupUpdate(), qmcplusplus::TEST_CASE(), BackflowTransformation::testDeriv(), DiracDeterminantWithBackflow::testDerivFjj(), SlaterDetWithBackflow::testDerivGL(), DiracDeterminantWithBackflow::testDerivLi(), and RotatedSPOs::writeVariationalParameters().
|
inline |
return the number of active variables
Definition at line 78 of file VariableSet.h.
References VariableSet::num_active_vars.
Referenced by CountingJastrow< RegionType >::reportStatus(), optimize::TEST_CASE(), qmcplusplus::TEST_CASE(), qmcplusplus::test_LiH_msd(), and CountingGaussianRegion::total_num_derivs().
|
inline |
return the locator of the i-th Index
Definition at line 90 of file VariableSet.h.
References VariableSet::Index.
Referenced by RotatedSPOs::evaluateDerivatives(), kSpaceJastrow::evaluateDerivatives(), J1Spin< FT >::evaluateDerivatives(), SlaterDet::evaluateDerivatives(), J1OrbitalSoA< FT >::evaluateDerivatives(), JeeIOrbitalSoA< FT >::evaluateDerivatives(), RotatedSPOs::evaluateDerivativesWF(), J1Spin< FT >::evaluateDerivativesWF(), SlaterDet::evaluateDerivativesWF(), J1OrbitalSoA< FT >::evaluateDerivativesWF(), JeeIOrbitalSoA< FT >::evaluateDerivativesWF(), RotatedSPOs::evaluateDerivRatios(), J1OrbitalSoA< FT >::evaluateDerivRatios(), JeeIOrbitalSoA< FT >::evaluateDerivRatios(), Backflow_ee_kSpace::indexOffset(), BsplineFunctor< REAL >::isOptimizable(), Backflow_ee_kSpace::resetParameters(), ExampleHeComponent::resetParametersExclusive(), CountingJastrow< RegionType >::resetParametersExclusive(), kSpaceJastrow::resetParametersExclusive(), RotatedSPOs::resetParametersExclusive(), PadeFunctor< T >::resetParametersExclusive(), UserFunctor< T >::resetParametersExclusive(), Pade2ndOrderFunctor< T >::resetParametersExclusive(), ShortRangeCuspFunctor< T >::resetParametersExclusive(), BsplineFunctor< REAL >::resetParametersExclusive(), PadeTwo2ndOrderFunctor< T >::resetParametersExclusive(), PolynomialFunctor3D::resetParametersExclusive(), DescentEngine::setupUpdate(), RotatedSPOs::table_method_eval(), and RotatedSPOs::table_method_evalWF().
void writeToHDF | ( | const std::string & | filename, |
qmcplusplus::hdf_archive & | hout | ||
) | const |
Definition at line 247 of file VariableSet.cpp.
References hdf_archive::create(), getDateAndTime(), VariableSet::NameAndValue, hdf_archive::pop(), hdf_archive::push(), and hdf_archive::write().
Referenced by QMCCostFunctionBase::reportParameters(), qmcplusplus::TEST_CASE(), and optimize::TEST_CASE().
std::vector<int> Index |
store locator of the named variable
if(Index[i] == -1), the named variable is not active
Definition at line 65 of file VariableSet.h.
Referenced by VariableSet::activate(), JeeIOrbitalSoA< FT >::checkOutVariables(), J1Spin< FT >::checkOutVariables(), J1OrbitalSoA< FT >::checkOutVariables(), VariableSet::clear(), VariableSet::disable(), CountingJastrow< RegionType >::evaluateDerivatives(), VariableSet::getIndex(), VariableSet::insert(), VariableSet::insertFrom(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), VariableSet::operator[](), VariableSet::print(), VariableSet::removeInactive(), VariableSet::resetIndex(), VariableSet::setIndexDefault(), and VariableSet::where().
std::vector<pair_type> NameAndValue |
Definition at line 66 of file VariableSet.h.
Referenced by VariableSet::activate(), VariableSet::begin(), VariableSet::clear(), VariableSet::disable(), VariableSet::end(), CountingJastrow< RegionType >::evaluateDerivatives(), VariableSet::find(), VariableSet::getIndex(), VariableSet::getLoc(), VariableSet::insert(), VariableSet::insertFrom(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), VariableSet::name(), VariableSet::operator[](), VariableSet::print(), VariableSet::removeInactive(), VariableSet::size(), optimize::TEST_CASE(), and VariableSet::writeToHDF().
int num_active_vars |
number of active variables
Definition at line 60 of file VariableSet.h.
Referenced by VariableSet::activate(), VariableSet::clear(), SOECPComponent::evaluateValueAndDerivatives(), NonLocalECPComponent::evaluateValueAndDerivatives(), VariableSet::getIndex(), VariableSet::insertFrom(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), VariableSet::is_optimizable(), VariableSet::removeInactive(), VariableSet::resetIndex(), and VariableSet::size_of_active().
std::vector<index_pair_type> ParameterType |
Definition at line 67 of file VariableSet.h.
Referenced by VariableSet::clear(), VariableSet::getParameterTypeList(), VariableSet::getType(), VariableSet::insert(), VariableSet::insertFrom(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), VariableSet::operator[](), VariableSet::print(), VariableSet::removeInactive(), VariableSet::setComputed(), and VariableSet::setParameterType().
std::vector<index_pair_type> Recompute |
Definition at line 68 of file VariableSet.h.
Referenced by VariableSet::clear(), VariableSet::insert(), VariableSet::insertFrom(), VariableSet::insertFromDiff(), VariableSet::insertFromSum(), VariableSet::operator[](), VariableSet::print(), VariableSet::recompute(), VariableSet::removeInactive(), VariableSet::setComputed(), and VariableSet::setRecompute().