Class template model_helper
alps::model_helper
Synopsis
Description
model_helper
public
construct/copy/destruct
model_helper(alps::Parameters const & p, bool issymbolic = false);
template<typename G>
model_helper(alps::graph_helper< G > const & g, alps::Parameters const & p,
bool issymbolic = false);
model_helper
public member functions
HamiltonianDescriptor< I > & model();
const HamiltonianDescriptor< I > & model() const;
basis_descriptor_type & basis();
const basis_descriptor_type & basis() const;
const site_basis_descriptor_type & site_basis(int type = 0) const;
SiteOperator site_term(int type = 0) const;
BondOperator bond_term(int type = 0) const;
bool has_site_operator(const std::string & name) const;
bool has_bond_operator(const std::string & name) const;
bool has_global_operator(const std::string & name) const;
bool has_operator(const std::string & name) const;
SiteOperator
get_site_operator(const std::string & name, const Parameters & p) const;
BondOperator
get_bond_operator(const std::string & name, const Parameters & p) const;
SiteOperator get_site_operator(const std::string & name) const;
BondOperator get_bond_operator(const std::string & name) const;
GlobalOperator get_global_operator(const std::string & name) const;
template<typename OP> void substitute_operators(OP & op, const Parameters & p);