1 #ifndef CASM_clex_io_ProtoFuncsPrinter
2 #define CASM_clex_io_ProtoFuncsPrinter
37 template <
typename OrbitType>
41 template <
typename OrbitType>
63 Index indent_space = 6,
BasicStructure specifies the lattice and atomic basis of a crystal.
void write_site_basis_funcs(std::shared_ptr< const Structure > prim_ptr, ClexBasis const &clex_basis, jsonParser &json)
void print_tex_tabular_cluster_sites(Log &out, IntegralCluster const &cluster, xtal::BasicStructure const &prim, COORD_TYPE mode)
Print prototype cluster sites as a tex tabular.
void print_site_basis_funcs(std::shared_ptr< const Structure > prim_ptr, ClexBasis const &clex_basis, Log &out, Index indent_space=6, COORD_TYPE mode=FRAC)
Print site basis functions, as for 'casm bset –functions'.
INDEX_TYPE Index
For long integer indexing:
void print_aligned_site_basis_funcs(std::shared_ptr< const Structure > prim_ptr, ClexBasis const &clex_basis, Log &out, Index indent_space=6, COORD_TYPE mode=FRAC)
Print aligned site basis functions, as for 'casm bset –functions –align'.
Print Orbit<SymCompareType> & ClexBasis, including prototypes and prototype basis functions.
std::shared_ptr< const PrimType > PrimType_ptr
jsonParser & to_json(const OrbitType &orbit, jsonParser &json, Index orbit_index, Index Norbits) const
ClexBasis const & clex_basis
xtal::BasicStructure PrimType
void operator()(const OrbitType &orbit, Log &out, Index orbit_index, Index Norbits) const
Print to JSON.
std::vector< SubExpressionLabeler > labelers
ProtoFuncsPrinter(ClexBasis const &_clex_basis, PrimType_ptr prim_ptr, bool align, OrbitPrinterOptions const &_opt=OrbitPrinterOptions())