MADNESS 0.10.1
|
#include <molecule.h>
Public Member Functions | |
GeometryParameters () | |
GeometryParameters (const GeometryParameters &other)=default | |
GeometryParameters (World &world, const commandlineparser &parser) | |
std::string | core_type () const |
double | eprec () const |
std::vector< double > | field () const |
bool | no_orient () const |
bool | psp_calc () const |
bool | pure_ae () const |
void | set_derived_values (const commandlineparser &parser) |
void | set_global_convenience_options (const commandlineparser &parser) |
std::string | source_name () const |
std::string | source_type () const |
double | symtol () const |
std::string | units () const |
Public Member Functions inherited from madness::QCCalculationParametersBase | |
bool | file_exists (World &world, std::string filename) const |
void | from_json (const json &j) |
template<typename T > | |
T | get (const std::string key) const |
ParameterContainerT | get_all_parameters () const |
QCParameter & | get_parameter (const std::string key) |
hashT | hash () const |
bool | is_user_defined (std::string key) const |
bool | operator== (const QCCalculationParametersBase &other) const |
bool | parameter_exists (const std::string &key) const |
void | print (const std::string header="", const std::string footer="") const |
print all parameters | |
std::string | print_to_string (bool non_defaults_only=false) const |
virtual void | read_internal (World &world, std::string &filecontents, std::string tag) |
read the stream, starting from tag | |
template<typename Archive > | |
void | serialize (Archive &ar) |
template<typename T > | |
void | set_derived_value (const std::string &key, const T &value) |
template<typename T > | |
void | set_user_defined_value (const std::string &key, const T &value) |
json | to_json () const |
void | to_json (json &j) const |
Static Public Member Functions | |
static std::string | derive_source_type_from_name (const std::string name, const commandlineparser &parser) |
Static Public Member Functions inherited from madness::QCCalculationParametersBase | |
static std::string | add_quotes (const std::string arg) |
template<typename T > | |
static bool | check_type (const std::string key, const QCParameter ¶meter) |
template<typename T > | |
static bool | check_type_silent (const QCParameter ¶meter) |
template<typename T > | |
static std::enable_if<!std::is_same< T, bool >::value, T >::type | fromstring (const std::string &arg) |
template<typename T > | |
static std::enable_if< std::is_same< T, bool >::value, T >::type | fromstring (const std::string &arg) |
template<typename T > | |
static std::enable_if< std::is_floating_point< T >::value, void >::type | overwrite_if_inf (std::string &str, const T &arg) |
template<typename T > | |
static std::enable_if<!std::is_floating_point< T >::value, void >::type | overwrite_if_inf (std::string &str, const T &arg) |
template<typename T > | |
static std::enable_if< std::is_same< T, std::string >::value, T >::type | read_quotes (std::stringstream &ssvalue) |
template<typename T > | |
static std::enable_if<!std::is_same< T, std::string >::value, T >::type | read_quotes (std::stringstream &ssvalue) |
static std::string | tostring (const bool &arg) |
template<typename T > | |
static std::string | tostring (const T &arg) |
static std::string | trim_blanks (const std::string arg) |
static std::string | trim_quotes (const std::string arg) |
Additional Inherited Members | |
Protected Types inherited from madness::QCCalculationParametersBase | |
typedef std::map< std::string, QCParameter > | ParameterContainerT |
Protected Member Functions inherited from madness::QCCalculationParametersBase | |
QCCalculationParametersBase () | |
ctor for testing | |
QCCalculationParametersBase (const QCCalculationParametersBase &other) | |
copy ctor | |
virtual | ~QCCalculationParametersBase () |
destructor | |
const QCParameter & | get_parameter (const std::string key) const |
template<typename T > | |
void | initialize (const std::string &key, const T &value, const std::string comment="", const std::vector< T > allowed_values={}) |
virtual void | read_input_and_commandline_options (World &world, const commandlineparser &parser, const std::string tag) |
template<typename T > | |
bool | try_setting_user_defined_value (const std::string &key, const std::string &val) |
Protected Attributes inherited from madness::QCCalculationParametersBase | |
bool | ignore_unknown_keys =true |
bool | ignore_unknown_keys_silently =false |
ParameterContainerT | parameters |
bool | print_debug =false |
bool | throw_if_datagroup_not_found =true |
|
default |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
References madness::name(), and madness::commandlineparser::value().
Referenced by set_derived_values().
|
inline |
|
inline |
Referenced by madness::Molecule::Molecule().
|
inline |
Referenced by madness::Molecule::get_structure(), and madness::Znemo::recompute_factors_and_potentials().
|
inline |
|
inline |
|
inline |
References derive_source_type_from_name(), madness::f, madness::Molecule::get_structure_library_path(), madness::QCCalculationParametersBase::is_user_defined(), madness::commandlineparser::key_exists(), MADNESS_EXCEPTION, madness::Molecule::position_stream_in_library(), madness::print(), madness::QCCalculationParametersBase::set_derived_value(), source_name(), source_type(), units(), and madness::commandlineparser::value().
Referenced by GeometryParameters().
|
inline |
|
inline |
Referenced by madness::Molecule::get_structure(), and set_derived_values().
|
inline |
Referenced by madness::Molecule::get_structure(), and set_derived_values().
|
inline |
Referenced by madness::Molecule::orient().
|
inline |
Referenced by madness::Molecule::read(), madness::Molecule::read_xyz(), and set_derived_values().