CASM  1.1.0
A Clusters Approach to Statistical Mechanics
ClexBasis_stream_io.hh
Go to the documentation of this file.
1 #ifndef CASM_clex_ClexBasis_stream_io
2 #define CASM_clex_ClexBasis_stream_io
3 
4 #include <memory>
5 
8 
9 namespace CASM {
10 
11 class Log;
12 class PrimClex;
13 class Structure;
14 
19  public:
21  std::shared_ptr<Structure const> _shared_prim,
22  ClexBasisSpecs const &_basis_set_specs, bool align,
24 
25  template <typename OrbitVecType>
26  void operator()(OrbitVecType const &orbits) const;
27 
28  private:
29  std::shared_ptr<Structure const> m_shared_prim;
32  bool m_align;
34 };
35 
38  std::shared_ptr<Structure const> const &shared_prim,
39  ClexBasisSpecs const &basis_set_specs, bool align,
41 
44  std::string basis_set_name, bool align,
46 
47 } // namespace CASM
48 
49 #endif
std::shared_ptr< Structure const > shared_prim
std::shared_ptr< Structure const > m_shared_prim
ClexBasisFunctionPrinter(Log &_log, std::shared_ptr< Structure const > _shared_prim, ClexBasisSpecs const &_basis_set_specs, bool align, OrbitPrinterOptions _opt=OrbitPrinterOptions())
OrbitPrinterOptions m_orbit_printer_opt
void operator()(OrbitVecType const &orbits) const
Definition: Log.hh:48
PrimClex is the top-level data structure for a CASM project.
Definition: PrimClex.hh:55
Main CASM namespace.
Definition: APICommand.hh:8
Log & log()
Definition: Log.hh:424
void print_basis_functions(Log &log, std::shared_ptr< Structure const > const &shared_prim, ClexBasisSpecs const &basis_set_specs, bool align, OrbitPrinterOptions opt=OrbitPrinterOptions())
Pretty-print basis functions – generate, then print.
PrimClex * primclex
Definition: settings.cc:135
Provides parameters for constructing a cluster expansion basis (ClexBasis)