CASM  1.1.0
A Clusters Approach to Statistical Mechanics
Calculable.cc File Reference
#include "casm/clex/Calculable.hh"
#include <algorithm>
#include <boost/filesystem.hpp>
#include "casm/app/ProjectSettings.hh"
#include "casm/clex/PrimClex_impl.hh"
#include "casm/database/DatabaseTypes_impl.hh"
#include "casm/database/PropertiesDatabase.hh"

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 

Macros

#define INST_ConfigType(r, data, type)
 

Functions

template<typename ConfigType >
bool CASM::is_calculated (const ConfigType &config, std::string calctype="")
 Return true if all required properties have been been calculated for the configuration. More...
 
template<typename ConfigType >
void CASM::reset_properties (ConfigType &config)
 
template<typename ConfigType >
std::string CASM::calc_status (const ConfigType &_config, std::string calctype="")
 Status of calculation. More...
 
template<typename ConfigType >
std::string CASM::failure_type (const ConfigType &config, std::string calctype="")
 
template<typename ConfigType >
bool CASM::has_calc_status (const ConfigType &config, std::string calctype="")
 
template<typename ConfigType >
bool CASM::has_failure_type (const ConfigType &config, std::string calctype="")
 
template<typename ConfigType >
std::string CASM::calc_properties_path (const ConfigType &config, std::string calctype="")
 
template<typename ConfigType >
std::string CASM::pos_path (const ConfigType &config)
 
template<typename ConfigType >
std::string CASM::calc_status_path (const ConfigType &config, std::string calctype="")
 
bool CASM::is_calculated (const MappedProperties &calc_properties, const std::vector< std::string > &required_properties)
 Return true if all required properties are included in the JSON. More...
 
std::string CASM::calc_properties_path (const PrimClex &primclex, const std::string &configname, std::string calctype="")
 
std::string CASM::pos_path (const PrimClex &primclex, const std::string &configname)
 
std::string CASM::calc_status_path (const PrimClex &primclex, const std::string &configname, std::string calctype="")
 

Macro Definition Documentation

◆ INST_ConfigType

#define INST_ConfigType (   r,
  data,
  type 
)
Value:
template bool is_calculated(const type &config, std::string calctype); \
template void reset_properties(type &config); \
template std::string calc_status(const type &_config, std::string calctype); \
template std::string failure_type(const type &config, std::string calctype); \
template bool has_calc_status(const type &config, std::string calctype); \
template bool has_failure_type(const type &config, std::string calctype); \
template std::string calc_properties_path(const type &config, \
std::string calctype); \
template std::string pos_path(const type &config); \
template std::string calc_status_path(const type &config, \
std::string calctype); \
template class Calculable<CRTPBase<type>>;
ConfigIO::GenericConfigFormatter< jsonParser > config()
Definition: ConfigIO.cc:777
std::string calc_properties_path(const ConfigType &config, std::string calctype="")
Definition: Calculable.cc:197
bool is_calculated(const ConfigType &config, std::string calctype="")
Return true if all required properties have been been calculated for the configuration.
Definition: Calculable.cc:137
void reset_properties(ConfigType &config)
Definition: Calculable.cc:147
std::string calc_status_path(const ConfigType &config, std::string calctype="")
Definition: Calculable.cc:211
std::string pos_path(const ConfigType &config)
Definition: Calculable.cc:206
std::string failure_type(const ConfigType &config, std::string calctype="")
Definition: Calculable.cc:167
std::string calc_status(const ConfigType &_config, std::string calctype="")
Status of calculation.
Definition: Calculable.cc:153
bool has_calc_status(const ConfigType &config, std::string calctype="")
Definition: Calculable.cc:181
bool has_failure_type(const ConfigType &config, std::string calctype="")
Definition: Calculable.cc:189
pair_type calctype
Definition: settings.cc:143

Definition at line 278 of file Calculable.cc.