1 #ifndef CASM_Calculable
2 #define CASM_Calculable
22 template <
typename _Base>
64 template <
typename ConfigType>
67 template <
typename ConfigType>
71 template <
typename ConfigType>
75 template <
typename ConfigType>
78 template <
typename ConfigType>
81 template <
typename ConfigType>
84 template <
typename ConfigType>
88 template <
typename ConfigType>
91 template <
typename ConfigType>
97 const std::vector<std::string> &required_properties);
DB::Indexed< _Base > Base
void set_calc_properties(const MappedProperties &_prop, std::string calctype="")
MappedProperties const & calc_properties(std::string calctype="") const
Return MappedProperties for requested calctype.
void _modify_dof()
Call in MostDerived any time DoF may be modified.
Base::MostDerived MostDerived
void set_source(const jsonParser &source)
void _refresh_calc_properties(std::string calctype="") const
grabs properties from the indicated calctype and adds info to calc_properties_map
void push_back_source(const jsonParser &source)
std::map< std::string, MappedProperties > m_calc_properties_map
std::map< std::string, MappedProperties > calc_properties_map() const
void refresh_calc_properties(std::string calctype="")
grabs properties from the indicated calctype and adds info to calc_properties_map
const jsonParser & source() const
Base::MostDerived MostDerived
PrimClex is the top-level data structure for a CASM project.
ConfigIO::GenericConfigFormatter< jsonParser > config()
ConfigIO::GenericConfigFormatter< std::string > configname()
Constructs DataFormmaterDictionary containing all Configuration DatumFormatters.
std::string calc_properties_path(const ConfigType &config, std::string calctype="")
bool is_calculated(const ConfigType &config, std::string calctype="")
Return true if all required properties have been been calculated for the configuration.
std::string pos_path(const ConfigType &config, std::string calctype="")
void reset_properties(ConfigType &config)
std::string calc_status_path(const ConfigType &config, std::string calctype="")
std::string failure_type(const ConfigType &config, std::string calctype="")
std::string calc_status(const ConfigType &_config, std::string calctype="")
Status of calculation.
bool has_calc_status(const ConfigType &config, std::string calctype="")
bool has_failure_type(const ConfigType &config, std::string calctype="")