#include <ProjectBuilder.hh>
Sets up directories and files for a new CASM project.
Definition at line 18 of file ProjectBuilder.hh.
CASM::ProjectBuilder::ProjectBuilder |
( |
fs::path |
_root, |
|
|
std::string |
_name, |
|
|
std::string |
_property |
|
) |
| |
|
inline |
Construct a CASM ProjectBuilder.
- Parameters
-
_root | The directory where a new CASM project should be created. |
_name | The name of the CASM project. Should be a short name suitable for prepending to files. |
_property | The name of the default cluster expansion property, i.e. "formation_energy" |
check if m_name is suitable:
Definition at line 28 of file ProjectBuilder.hh.
void CASM::ProjectBuilder::build |
( |
| ) |
const |
Builds a new CASM project.
- requires a prim.json in the project directory
- does not perform any checks if structure is primitive, right-handed, reduced, etc.
- creates directories
- create project_settings, symmetry, and standard composition axes files
re-throw exceptions
Definition at line 14 of file ProjectBuilder.cc.
ProjectBuilder& CASM::ProjectBuilder::set_crystallography_tol |
( |
double |
_tol | ) |
|
|
inline |
double CASM::ProjectBuilder::m_crystallography_tol = CASM::TOL |
|
private |
double CASM::ProjectBuilder::m_lin_alg_tol = 1e-10 |
|
private |
std::string CASM::ProjectBuilder::m_name |
|
private |
std::string CASM::ProjectBuilder::m_property |
|
private |
fs::path CASM::ProjectBuilder::m_root |
|
private |
std::vector<std::string> m_properties CASM::ProjectBuilder::relaxed_energy |
|
private |
The documentation for this class was generated from the following files:
- /Users/bpuchala/Work/codes/CASMcode_v0.2.X_reference/include/casm/app/ProjectBuilder.hh
- /Users/bpuchala/Work/codes/CASMcode_v0.2.X_reference/src/casm/app/ProjectBuilder.cc