16 json[
"tol"] = opt.tol;
17 json[
"prec"] = opt.prec;
18 json[
"print_matrix_tau"] = opt.print_matrix_tau;
46 j[
"rotation_axis"][
"CART"]);
48 j[
"rotation_axis"][
"FRAC"]);
49 j[
"rotation_angle"] = info.
angle;
53 j[
"mirror_normal"][
"CART"]);
55 j[
"mirror_normal"][
"FRAC"]);
#define ENUM_JSON_IO_DEF(ENUM)
jsonParser & put_obj()
Puts new empty JSON object.
const vector_type & const_frac() const
user override to force const Access the fractional coordinate vector
const vector_type & const_cart() const
user override to force const Access the Cartesian coordinate vector
bool get_if(T &t, const std::string &key, Args &&... args) const
CASM::jsonParser & to_json_array(const Eigen::MatrixBase< Derived > &value, CASM::jsonParser &json)
Write Eigen Matrix with 1 row or 1 column to JSON array.
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
void from_json(ClexDescription &desc, const jsonParser &json)
Simple struct to be used as return type for SymOp::info().
xtal::Coordinate screw_glide_shift
xtal::Coordinate location
A Cartesian coordinate that is invariant to the operation (if one exists)
Options for printing SymInfo.
static ReturnType from_json(const jsonParser &json)
Default from_json is equivalent to.