12 std::string in(
' ', indent);
18 sout << in << std::setw(16) <<
"property: " <<
property <<
"\n";
19 sout << in << std::setw(16) <<
"calctype: " <<
calctype <<
"\n";
20 sout << in << std::setw(16) <<
"ref: " <<
ref <<
"\n";
21 sout << in << std::setw(16) <<
"bset: " <<
bset <<
"\n";
22 sout << in << std::setw(16) <<
"eci: " <<
eci <<
"\n";
27 std::string
name =
"formation_energy";
28 std::string
property =
"formation_energy";
30 std::string
ref =
"default";
31 std::string
bset =
"default";
32 std::string
eci =
"default";
Specification of CASM project directory structure.
std::vector< std::string > all_eci(std::string property, std::string calctype, std::string ref, std::string bset) const
Check filesystem directory structure and return list of all eci names.
bool new_calc_settings_dir(std::string calctype) const
Add calculation settings directory path.
bool new_bset_dir(std::string bset) const
Add a basis set directory.
std::vector< std::string > all_calctype() const
Check filesystem directory structure and return list of all calctype names.
std::vector< std::string > all_bset() const
Check filesystem directory structure and return list of all basis set names.
bool new_ref_dir(std::string calctype, std::string ref) const
Add a ref directory.
bool new_eci_dir(std::string property, std::string calctype, std::string ref, std::string bset, std::string eci) const
Add an eci directory.
std::vector< std::string > all_ref(std::string calctype) const
Check filesystem directory structure and return list of all ref names for a given calctype.
jsonParser & put_obj()
Puts new empty JSON object.
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
bool clex_exists(const DirectoryStructure &dir, const ClexDescription &desc)
GenericDatumFormatter< std::string, DataObject > name()
bool operator<(const ClexDescription &A, const ClexDescription &B)
Compare using name strings: A.name < B.name.
void from_json(ClexDescription &desc, const jsonParser &json)
bool contains(const Container &container, const T &value)
Equivalent to container.end() != std::find(container.begin(), container.end(), value)
bool new_dir(const DirectoryStructure &dir, ClexDescription const &desc)
ClexDescription default_configuration_clex()
DirectoryStructure const & dir
Specifies a particular cluster expansion.
void print(std::ostream &sout, bool is_default, int indent=0) const