CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::OccFuncEvaluator Class Reference

#include <FunctionVisitor.hh>

+ Inheritance diagram for CASM::OccFuncEvaluator:

Detailed Description

Evaluates.

Definition at line 102 of file FunctionVisitor.hh.

Public Member Functions

 OccFuncEvaluator (int state)
 
double value ()
 
std::string type_name () const
 
bool visit (OccupantFunction &host, BasisSet const *bset_ptr) const
 
bool visit (OccupantFunction const &host, BasisSet const *bset_ptr) const
 
virtual bool visit (Variable const &host, BasisSet const *bset_ptr) const
 
virtual bool visit (Variable &host, BasisSet const *bset_ptr) const
 
virtual bool visit (PolynomialFunction const &host, BasisSet const *bset_ptr) const
 
virtual bool visit (PolynomialFunction &host, BasisSet const *bset_ptr) const
 

Private Member Functions

bool _generic_visit (Function const &host, BasisSet const *bset_ptr) const
 
virtual bool _visit (const Array< Function * > &host_list, BasisSet const *bset_ptr) const
 

Private Attributes

int m_state
 
double m_value
 

Constructor & Destructor Documentation

◆ OccFuncEvaluator()

CASM::OccFuncEvaluator::OccFuncEvaluator ( int  state)
inline

Definition at line 104 of file FunctionVisitor.hh.

Member Function Documentation

◆ _generic_visit()

bool CASM::OccFuncEvaluator::_generic_visit ( Function const &  host,
BasisSet const *  bset_ptr 
) const
inlineprivatevirtual

Reimplemented from CASM::FunctionVisitor.

Definition at line 115 of file FunctionVisitor.hh.

◆ _visit()

virtual bool CASM::FunctionVisitor::_visit ( const Array< Function * > &  host_list,
BasisSet const *  bset_ptr 
) const
inlineprivatevirtualinherited

Definition at line 60 of file FunctionVisitor.hh.

◆ type_name()

std::string CASM::OccFuncEvaluator::type_name ( ) const
inlinevirtual

Implements CASM::FunctionVisitor.

Definition at line 108 of file FunctionVisitor.hh.

◆ value()

double CASM::OccFuncEvaluator::value ( )
inline

Definition at line 106 of file FunctionVisitor.hh.

◆ visit() [1/6]

bool CASM::OccFuncEvaluator::visit ( OccupantFunction host,
BasisSet const *  bset_ptr 
) const
virtual

Reimplemented from CASM::FunctionVisitor.

Definition at line 66 of file FunctionVisitor.cc.

◆ visit() [2/6]

bool CASM::OccFuncEvaluator::visit ( OccupantFunction const &  host,
BasisSet const *  bset_ptr 
) const
virtual

Reimplemented from CASM::FunctionVisitor.

Definition at line 72 of file FunctionVisitor.cc.

◆ visit() [3/6]

bool CASM::FunctionVisitor::visit ( PolynomialFunction host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Definition at line 50 of file FunctionVisitor.cc.

◆ visit() [4/6]

bool CASM::FunctionVisitor::visit ( PolynomialFunction const &  host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Definition at line 45 of file FunctionVisitor.cc.

◆ visit() [5/6]

bool CASM::FunctionVisitor::visit ( Variable host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Reimplemented in CASM::VariableLabeler.

Definition at line 31 of file FunctionVisitor.cc.

◆ visit() [6/6]

bool CASM::FunctionVisitor::visit ( Variable const &  host,
BasisSet const *  bset_ptr 
) const
virtualinherited

Definition at line 26 of file FunctionVisitor.cc.

Member Data Documentation

◆ m_state

int CASM::OccFuncEvaluator::m_state
private

Definition at line 121 of file FunctionVisitor.hh.

◆ m_value

double CASM::OccFuncEvaluator::m_value
mutableprivate

Definition at line 122 of file FunctionVisitor.hh.


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