CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <ProtoFuncsPrinter.hh>
Print Orbit<SymCompareType> & ClexBasis, including prototypes and prototype basis functions.
Definition at line 22 of file ProtoFuncsPrinter.hh.
Public Types | |
typedef xtal::BasicStructure | PrimType |
typedef std::shared_ptr< const PrimType > | PrimType_ptr |
typedef IntegralCluster | Element |
Public Member Functions | |
ProtoFuncsPrinter (ClexBasis const &_clex_basis, PrimType_ptr prim_ptr, bool align, OrbitPrinterOptions const &_opt=OrbitPrinterOptions()) | |
template<typename OrbitType > | |
void | operator() (const OrbitType &orbit, Log &out, Index orbit_index, Index Norbits) const |
Print to JSON. More... | |
template<typename OrbitType > | |
jsonParser & | to_json (const OrbitType &orbit, jsonParser &json, Index orbit_index, Index Norbits) const |
void | print (const Element &element, Log &out) const |
void | coord_type (Log &out) |
void | increase_indent (Log &out) const |
void | decrease_indent (Log &out) const |
template<typename OrbitType > | |
void | print_equivalence_map (const OrbitType &orbit, Index equiv_index, Log &out) const |
template<typename OrbitType > | |
void | print_equivalence_map (const OrbitType &orbit, Index equiv_index, jsonParser &json) const |
template<typename OrbitType > | |
void | print_equivalence_map (const OrbitType &orbit, Log &out) const |
template<typename OrbitType , typename Element > | |
void | print_invariant_group (const OrbitType &orbit, const Element &element, Log &out) const |
template<typename OrbitType , typename Element > | |
void | print_invariant_group (const OrbitType &orbit, const Element &element, jsonParser &json) const |
Public Attributes | |
ClexBasis const & | clex_basis |
std::vector< SubExpressionLabeler > | labelers |
OrbitPrinterOptions | opt |
Static Public Attributes | |
static const std::string | element_name = "Clusters" |
Private Attributes | |
PrimType_ptr | prim_ptr |
bool | m_align |
|
inherited |
Definition at line 97 of file OrbitPrinter.hh.
Definition at line 23 of file ProtoFuncsPrinter.hh.
typedef std::shared_ptr<const PrimType> CASM::ProtoFuncsPrinter::PrimType_ptr |
Definition at line 24 of file ProtoFuncsPrinter.hh.
CASM::ProtoFuncsPrinter::ProtoFuncsPrinter | ( | ClexBasis const & | _clex_basis, |
PrimType_ptr | prim_ptr, | ||
bool | align, | ||
OrbitPrinterOptions const & | _opt = OrbitPrinterOptions() |
||
) |
Definition at line 19 of file ProtoFuncsPrinter.cc.
|
inherited |
Definition at line 54 of file OrbitPrinter.cc.
|
inlineinherited |
Definition at line 58 of file OrbitPrinter.hh.
|
inlineinherited |
Definition at line 55 of file OrbitPrinter.hh.
void CASM::ProtoFuncsPrinter::operator() | ( | const OrbitType & | orbit, |
Log & | out, | ||
Index | orbit_index, | ||
Index | Norbits | ||
) | const |
Print to JSON.
Note: for 'read_clust' to work, "prototype" must be written
Definition at line 12 of file ProtoFuncsPrinter_impl.hh.
|
inherited |
Definition at line 61 of file OrbitPrinter.cc.
|
inherited |
Definition at line 40 of file OrbitPrinter_impl.hh.
|
inherited |
Definition at line 24 of file OrbitPrinter_impl.hh.
|
inherited |
Definition at line 61 of file OrbitPrinter_impl.hh.
|
inherited |
Definition at line 96 of file OrbitPrinter_impl.hh.
|
inherited |
Definition at line 82 of file OrbitPrinter_impl.hh.
jsonParser & CASM::ProtoFuncsPrinter::to_json | ( | const OrbitType & | orbit, |
jsonParser & | json, | ||
Index | orbit_index, | ||
Index | Norbits | ||
) | const |
Definition at line 99 of file ProtoFuncsPrinter_impl.hh.
ClexBasis const& CASM::ProtoFuncsPrinter::clex_basis |
Definition at line 26 of file ProtoFuncsPrinter.hh.
|
staticinherited |
Definition at line 98 of file OrbitPrinter.hh.
std::vector<SubExpressionLabeler> CASM::ProtoFuncsPrinter::labelers |
Definition at line 28 of file ProtoFuncsPrinter.hh.
|
private |
Definition at line 47 of file ProtoFuncsPrinter.hh.
|
inherited |
Definition at line 49 of file OrbitPrinter.hh.
|
private |
Definition at line 46 of file ProtoFuncsPrinter.hh.