CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include "casm/crystallography/io/BasicStructureIO.hh"
#include <boost/filesystem.hpp>
#include "casm/casm_io/Log.hh"
#include "casm/casm_io/SafeOfstream.hh"
#include "casm/casm_io/container/json_io.hh"
#include "casm/casm_io/json/jsonParser.hh"
#include "casm/crystallography/AnisoValTraits.hh"
#include "casm/crystallography/BasicStructure.hh"
#include "casm/crystallography/CoordinateSystems.hh"
#include "casm/crystallography/io/DoFSetIO.hh"
#include "casm/global/enum/json_io.hh"
#include "casm/misc/ParsingDictionary.hh"
Go to the source code of this file.
Namespaces | |
CASM | |
Main CASM namespace. | |
Functions | |
jsonParser const & | CASM::from_json (xtal::SpeciesAttribute &_attr, jsonParser const &json) |
Read SpeciesAttribute from json. More... | |
jsonParser & | CASM::to_json (xtal::SpeciesAttribute const &_attr, jsonParser &json) |
From SpeciesAttribute to json. More... | |
jsonParser & | CASM::to_json (const xtal::AtomPosition &apos, jsonParser &json, Eigen::Ref< const Eigen::Matrix3d > const &cart2frac) |
Print AtomPosition to json after applying affine transformation cart2frac*cart()+trans. More... | |
void | CASM::from_json (xtal::AtomPosition &apos, const jsonParser &json, Eigen::Ref< const Eigen::Matrix3d > const &frac2cart, ParsingDictionary< AnisoValTraits > const &_aniso_val_dict) |
Read AtomPosition from json and then apply affine transformation cart2frac*cart() More... | |
jsonParser & | CASM::to_json (const xtal::Molecule &mol, jsonParser &json, Eigen::Ref< const Eigen::Matrix3d > const &c2f_mat) |
void | CASM::from_json (xtal::Molecule &mol, const jsonParser &json, Eigen::Ref< const Eigen::Matrix3d > const &f2c_mat, ParsingDictionary< AnisoValTraits > const &_aniso_val_dict) |
jsonParser & | CASM::to_json (const xtal::Site &value, jsonParser &json, COORD_TYPE coordtype) |
void | CASM::from_json (xtal::Site &value, const jsonParser &json, xtal::Lattice const &_home, COORD_TYPE coordtype, std::map< std::string, xtal::Molecule > const &mol_map, ParsingDictionary< AnisoValTraits > const &_aniso_val_dict) |
xtal::BasicStructure | CASM::read_prim (fs::path filename, double xtal_tol, ParsingDictionary< AnisoValTraits > const *_aniso_val_dict=nullptr) |
xtal::BasicStructure | CASM::read_prim (const jsonParser &json, double xtal_tol, ParsingDictionary< AnisoValTraits > const *_aniso_val_dict) |
Read prim.json. More... | |
void | CASM::write_prim (const xtal::BasicStructure &prim, fs::path filename, COORD_TYPE mode, bool include_va=false) |
Write prim.json to file. More... | |
void | CASM::write_prim (const xtal::BasicStructure &prim, jsonParser &json, COORD_TYPE mode, bool include_va=false) |
Write prim.json as JSON. More... | |
void | CASM::from_json (xtal::BasicStructure &prim, jsonParser const &json, double xtal_tol, ParsingDictionary< AnisoValTraits > const *_aniso_val_dict=nullptr) |
jsonParser & | CASM::to_json (const xtal::BasicStructure &prim, jsonParser &json, COORD_TYPE mode, bool include_va=false) |