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

Detailed Description

Definition at line 115 of file SymInfo_stream_io.cc.

Public Member Functions

 PolyWriter (SymInfoOptions _opt=SymInfoOptions())
 
void add_constant (double val)
 
void add_term (double coeff, std::string var)
 

Static Public Member Functions

static void standardize (Eigen::Vector3d &v, double tol=TOL)
 

Public Attributes

std::stringstream ss
 
SymInfoOptions opt
 
bool add
 

Constructor & Destructor Documentation

◆ PolyWriter()

CASM::PolyWriter::PolyWriter ( SymInfoOptions  _opt = SymInfoOptions())
inline

Definition at line 120 of file SymInfo_stream_io.cc.

Member Function Documentation

◆ add_constant()

void CASM::PolyWriter::add_constant ( double  val)
inline

Definition at line 122 of file SymInfo_stream_io.cc.

◆ add_term()

void CASM::PolyWriter::add_term ( double  coeff,
std::string  var 
)
inline

Definition at line 137 of file SymInfo_stream_io.cc.

◆ standardize()

static void CASM::PolyWriter::standardize ( Eigen::Vector3d &  v,
double  tol = TOL 
)
inlinestatic

Definition at line 156 of file SymInfo_stream_io.cc.

Member Data Documentation

◆ add

bool CASM::PolyWriter::add

Definition at line 118 of file SymInfo_stream_io.cc.

◆ opt

SymInfoOptions CASM::PolyWriter::opt

Definition at line 117 of file SymInfo_stream_io.cc.

◆ ss

std::stringstream CASM::PolyWriter::ss

Definition at line 116 of file SymInfo_stream_io.cc.


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