Class xlifepp::QuadratureIM#

class QuadratureIM : public xlifepp::SingleIM#

Inheritence diagram for xlifepp::QuadratureIM:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="xlifepp::IntegrationMethod" tooltip="xlifepp::IntegrationMethod"] "1" [label="xlifepp::QuadratureIM" tooltip="xlifepp::QuadratureIM" fillcolor="#BFBFBF"] "2" [label="xlifepp::SingleIM" tooltip="xlifepp::SingleIM"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::QuadratureIM:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "6" [label="std::map< ShapeType, std::vector< xlifepp::ShapeValues > * >" tooltip="std::map< ShapeType, std::vector< xlifepp::ShapeValues > * >"] "4" [label="std::map< ShapeType, xlifepp::Quadrature * >" tooltip="std::map< ShapeType, xlifepp::Quadrature * >"] "5" [label="std::map< K, T >" tooltip="std::map< K, T >"] "3" [label="xlifepp::IntegrationMethod" tooltip="xlifepp::IntegrationMethod"] "1" [label="xlifepp::QuadratureIM" tooltip="xlifepp::QuadratureIM" fillcolor="#BFBFBF"] "2" [label="xlifepp::SingleIM" tooltip="xlifepp::SingleIM"] "6" -> "5" [dir=forward tooltip="template-instance"] "4" -> "5" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "1" -> "4" [dir=forward tooltip="usage"] "1" -> "6" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="public-inheritance"] }

class devoted to integral over a geometric element may be dealt with different shapes

Public Functions

QuadratureIM(const std::set<ShapeType>&, QuadRule = _defaultRule, number_t = 0)#

constructor for a set of shapes

QuadratureIM(QuadRule = _defaultRule, number_t = 0)#

default constructor (incomplete)

QuadratureIM(ShapeType, QuadRule = _defaultRule, number_t = 0)#

constructor for one shape

~QuadratureIM()#

destructor

void clear()#

deallocate shapevalues vector pointer and clear maps

Quadrature *getQuadrature(ShapeType) const#

return quadrature pointer related to shape

std::vector<ShapeValues> *getShapeValues(ShapeType) const#

return shape values related to shape

virtual void print(std::ostream &os) const#

print on stream

virtual std::list<Quadrature*> quadratures() const#

return the list of (single) quadratures in a list

void setQuadrature(ShapeType) const#

set Quadratures for a shape

void setQuadratures(const std::set<ShapeType>&) const#

set Quadratures for some shapes

void setShapeValues(ShapeType, std::vector<ShapeValues>*) const#

set shape values for a shape

inline virtual bool useQuadraturePoints() const#

returns true if quadrature points are used

Public Members

mutable number_t degree#

degree of quadrature

mutable std::map<ShapeType, Quadrature*> quadratures_#

structure to store Quadrature formula for different shapes

mutable QuadRule quadRule#

QuadRule to be used.

mutable std::map<ShapeType, std::vector<ShapeValues>*> shapevalues_#

structure to store shape values on quadrature points