CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::ChemicalReferencePrinter Struct Reference

#include <ChemicalReference.hh>

Detailed Description

BasicStructure to help print ChemicalReference.

Definition at line 177 of file ChemicalReference.hh.

Public Member Functions

 ChemicalReferencePrinter (std::ostream &_stream, const ChemicalReference &_ref, int _indent=0, int _indent_incr=2)
 
void incr ()
 
void decr ()
 
void print (const std::string &str)
 
void print (const Eigen::VectorXd &plane)
 
void print (const std::vector< ChemicalReferenceState > &ref_state_vec)
 
void print (const std::pair< std::string, Eigen::VectorXd > &_pair)
 
void print (const std::pair< std::string, std::vector< ChemicalReferenceState > > &_pair)
 
void print_global ()
 
void print_supercell ()
 
void print_supercell (const std::string &name)
 
void print_config ()
 
void print_config (const std::string &name)
 
void print_all ()
 

Public Attributes

std::ostream & stream
 
int indent
 
int indent_incr
 
const ChemicalReferenceref
 
std::vector< std::string > struc_mol_name
 

Constructor & Destructor Documentation

◆ ChemicalReferencePrinter()

CASM::ChemicalReferencePrinter::ChemicalReferencePrinter ( std::ostream &  _stream,
const ChemicalReference _ref,
int  _indent = 0,
int  _indent_incr = 2 
)

Definition at line 490 of file ChemicalReference.cc.

Member Function Documentation

◆ decr()

void CASM::ChemicalReferencePrinter::decr ( )

Definition at line 501 of file ChemicalReference.cc.

◆ incr()

void CASM::ChemicalReferencePrinter::incr ( )

Definition at line 499 of file ChemicalReference.cc.

◆ print() [1/5]

void CASM::ChemicalReferencePrinter::print ( const Eigen::VectorXd &  plane)

Definition at line 509 of file ChemicalReference.cc.

◆ print() [2/5]

void CASM::ChemicalReferencePrinter::print ( const std::pair< std::string, Eigen::VectorXd > &  _pair)

Definition at line 554 of file ChemicalReference.cc.

◆ print() [3/5]

void CASM::ChemicalReferencePrinter::print ( const std::pair< std::string, std::vector< ChemicalReferenceState > > &  _pair)

Definition at line 567 of file ChemicalReference.cc.

◆ print() [4/5]

void CASM::ChemicalReferencePrinter::print ( const std::string &  str)

Definition at line 504 of file ChemicalReference.cc.

◆ print() [5/5]

void CASM::ChemicalReferencePrinter::print ( const std::vector< ChemicalReferenceState > &  ref_state_vec)

Definition at line 523 of file ChemicalReference.cc.

◆ print_all()

void CASM::ChemicalReferencePrinter::print_all ( )

Definition at line 615 of file ChemicalReference.cc.

◆ print_config() [1/2]

void CASM::ChemicalReferencePrinter::print_config ( )

Definition at line 599 of file ChemicalReference.cc.

◆ print_config() [2/2]

void CASM::ChemicalReferencePrinter::print_config ( const std::string &  name)

Definition at line 608 of file ChemicalReference.cc.

◆ print_global()

void CASM::ChemicalReferencePrinter::print_global ( )

Definition at line 575 of file ChemicalReference.cc.

◆ print_supercell() [1/2]

void CASM::ChemicalReferencePrinter::print_supercell ( )

Definition at line 583 of file ChemicalReference.cc.

◆ print_supercell() [2/2]

void CASM::ChemicalReferencePrinter::print_supercell ( const std::string &  name)

Definition at line 592 of file ChemicalReference.cc.

Member Data Documentation

◆ indent

int CASM::ChemicalReferencePrinter::indent

Definition at line 184 of file ChemicalReference.hh.

◆ indent_incr

int CASM::ChemicalReferencePrinter::indent_incr

Definition at line 185 of file ChemicalReference.hh.

◆ ref

const ChemicalReference& CASM::ChemicalReferencePrinter::ref

Definition at line 186 of file ChemicalReference.hh.

◆ stream

std::ostream& CASM::ChemicalReferencePrinter::stream

Definition at line 183 of file ChemicalReference.hh.

◆ struc_mol_name

std::vector<std::string> CASM::ChemicalReferencePrinter::struc_mol_name

Definition at line 187 of file ChemicalReference.hh.


The documentation for this struct was generated from the following files: