flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
flexiblesusy::AnyNumericalConstraint Class Reference

#include <lattice_numerical_constraint.hpp>

Inheritance diagram for flexiblesusy::AnyNumericalConstraint:
Inheritance graph
Collaboration diagram for flexiblesusy::AnyNumericalConstraint:
Collaboration graph

Public Member Functions

 AnyNumericalConstraint (std::vector< size_t > dependence, std::function< Real(const AnyNumericalConstraint *, const Real *x)> fxn, Real epsilon=default_epsilon)
 
- Public Member Functions inherited from flexiblesusy::NumericalConstraint
virtual void init (RGFlow< Lattice > *flow)
 
void init (RGFlow< Lattice > *flow, size_t theory, size_t site)
 
void init (RGFlow< Lattice > *flow, size_t theory, size_t site)
 
virtual void init (RGFlow< Lattice > *flow, size_t theory, size_t site)
 
virtual void init (RGFlow< Lattice > *flow, size_t theory, size_t site, size_t span_)
 
 NumericalConstraint (std::vector< size_t > dependence, Real epsilon=default_epsilon)
 
void operator() ()
 
- Public Member Functions inherited from flexiblesusy::ForeignConstraint
void alloc_rows ()
 
 ForeignConstraint (size_t nrows)
 
virtual void init (RGFlow< Lattice > *flow)
 
void init (RGFlow< Lattice > *flow, size_t theory, size_t site)
 
virtual void init (RGFlow< Lattice > *flow, size_t theory, size_t site)
 
virtual void init (RGFlow< Lattice > *flow, size_t theory, size_t site, size_t span_)
 
- Public Member Functions inherited from flexiblesusy::Constraint< Lattice >
virtual double get_scale () const
 
virtual void init (RGFlow< Lattice > *flow)
 
virtual void init (RGFlow< Lattice > *flow, size_t theory, size_t site)
 
virtual void init (RGFlow< Lattice > *flow, size_t theory, size_t site, size_t span_)
 
- Public Member Functions inherited from flexiblesusy::IntraTheoryConstraint
virtual void init (RGFlow< Lattice > *flow)
 
virtual void init (RGFlow< Lattice > *flow, size_t theory, size_t site, size_t span_)
 
virtual void relocate (const std::vector< size_t > &site_map)
 
virtual void relocate (const std::vector< std::vector< size_t > > &site_maps)
 
- Public Member Functions inherited from flexiblesusy::Lattice_constraint
virtual void alloc_rows ()=0
 
virtual void deactivate ()
 
virtual void free_rows ()
 
virtual void init (RGFlow< Lattice > *flow)
 
virtual void operator() ()=0
 
virtual void relocate (const std::vector< std::vector< size_t > > &site_maps)=0
 
virtual ~Lattice_constraint ()=default
 

Protected Member Functions

Real c (const Real *x) const
 
virtual Real c (const Real *x) const =0
 
- Protected Member Functions inherited from flexiblesusy::ForeignConstraint
void copy_row (size_t r)
 
void set_x ()
 
- Protected Member Functions inherited from flexiblesusy::Constraint< Lattice >
RealA (size_t r, size_t j)
 
void ralloc (size_t nrows)
 
Real x (size_t i) const
 
Real y (size_t i) const
 
Realz (size_t r)
 
- Protected Member Functions inherited from flexiblesusy::IntraTheoryConstraint
RealA (size_t r, size_t m, size_t j)
 
void ralloc (size_t nrows, size_t m, size_t span)
 
Real u (size_t i) const
 
Real x (size_t m, size_t i) const
 
Real y (size_t m, size_t i) const
 
Realz (size_t r)
 
- Protected Member Functions inherited from flexiblesusy::Lattice_constraint
RealA (size_t r, size_t T, size_t m, size_t j)
 
virtual void activate ()
 
void ralloc (size_t nrows, size_t T, size_t m, size_t span)
 
void rfree ()
 
Real u (size_t T, size_t i) const
 
Real x (size_t T, size_t m, size_t i) const
 
Real y (size_t T, size_t m, size_t i) const
 
Realz (size_t r)
 

Private Attributes

std::function< Real(const AnyNumericalConstraint *, const Real *x)> fxn_
 

Additional Inherited Members

- Public Attributes inherited from flexiblesusy::IntraTheoryConstraint
size_t mbegin
 
- Public Attributes inherited from flexiblesusy::Lattice_constraint
RGFlow< Lattice > * f
 
- Static Public Attributes inherited from flexiblesusy::NumericalConstraintCommon
static constexpr Real default_epsilon = 1e-8
 
- Protected Attributes inherited from flexiblesusy::ForeignConstraint
Real rhs
 
RVec row
 
RVec x
 
- Protected Attributes inherited from flexiblesusy::IntraTheoryConstraint
size_t span
 
size_t T
 

Detailed Description

Definition at line 39 of file lattice_numerical_constraint.hpp.

Constructor & Destructor Documentation

◆ AnyNumericalConstraint()

flexiblesusy::AnyNumericalConstraint::AnyNumericalConstraint ( std::vector< size_t >  dependence,
std::function< Real(const AnyNumericalConstraint *, const Real *x)>  fxn,
Real  epsilon = default_epsilon 
)
inline

Definition at line 41 of file lattice_numerical_constraint.hpp.

Member Function Documentation

◆ c()

Real flexiblesusy::AnyNumericalConstraint::c ( const Real x) const
inlineprotectedvirtual

Member Data Documentation

◆ fxn_

std::function<Real(const AnyNumericalConstraint *, const Real *x)> flexiblesusy::AnyNumericalConstraint::fxn_
private

Definition at line 50 of file lattice_numerical_constraint.hpp.

Referenced by c().


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