GemaCoreLib
The GeMA Core library
Protected Member Functions | List of all members
GmQuadEdgeIntegrationRule Class Reference

Integration rule for Quad element borders. More...

#include <gmQuadIntegrationRule.h>

Inheritance diagram for GmQuadEdgeIntegrationRule:
Inheritance graph
[legend]
Collaboration diagram for GmQuadEdgeIntegrationRule:
Collaboration graph
[legend]

Protected Member Functions

 GmQuadEdgeIntegrationRule (GmCellType type, GmIntegrationRule *ir)
 Constructor. See comments about parameters in GmProxyBorderIntegrationRule.
 
- Protected Member Functions inherited from GmProxyBorderIntegrationRule
 GmProxyBorderIntegrationRule (GmCellType type, int nnatural, GmIntegrationRule *ir, bool face)
 Constructor. Receives the element type for which we are tied to (the element type, not the border type), the number of expected natural coordinates for the element (might be different from _shape->numNaturalCoord() for interface elements), the wrapped border integration rule and a boolean stating if the rule is for a face or an edge.
 
- Protected Member Functions inherited from GmIntegrationRule
int makeCacheKey (GmIntegrationRuleCacheKeyBase base, bool closed, int rule1, int rule2=-1, int rule3=-1) const
 Creates an unique cache key based on the rule type cache key and the rule parameters.
 
QString makeRuleName (GmIntegrationRuleType irType, int rule1, int rule2=-1, int rule3=-1) const
 Returns a standard rule name based on rule type and rule parameters.
 

Additional Inherited Members

- Public Member Functions inherited from GmProxyBorderIntegrationRule
virtual ~GmProxyBorderIntegrationRule ()
 Destructor.
 
bool isValid () const
 Returns true if this is a valid integration rule object, false if not. More...
 
virtual int numPoints () const
 Returns the number of integration points returned by this rule.
 
virtual void integrationPoint (int index, GmVector &naturalCoord, double *weight) const
 Given an index from 0 to numPoints() - 1, fills naturalCoord and weight with the position and weigth of the given integration point. More...
 
virtual int numNaturalCoord () const
 Returns the number of natural coordinates used by this integration rule.
 
virtual int degree () const
 Returns the integration degree for this rule (The polynomial degree for which this rule is exact)
 
virtual GmIntegrationRuleType ruleType () const
 Returns the type of the integration rule.
 
virtual QString ruleName () const
 Returns the current ruleName adopted by this integration rule.
 
virtual int rulePar (int num) const
 Returns the value of the numbered rule parameter received in the rule constructor (-1 if unused). Num should be a value between 1 and 3.
 
virtual int ruleParNumPoints (int num) const
 
virtual int cacheKey () const
 Returns an unique integer that can be used to uniquelly represent this kind of integration rule (i.e, two objects with the same cache key should return exactly the same set of integration points). More...
 
virtual int numBorderCoord () const
 Returns the number of expected coordinates in a border coordinate.
 
virtual bool translatePoint (int border, const GmVector &borderCoord, GmVector &elementCoord) const
 Given an integration point calculated with the border rule, by a call to integrationPoint(), whose returned coordinate uses the border reference (edge or face), and so has less coordinates than the element coordinate system, returns a new point in the element reference system, filling the original set of coordinates with the missing, fixed, values assciated with a border. More...
 
- Public Member Functions inherited from GmIntegrationRule
virtual ~GmIntegrationRule ()
 Virtual destructor.
 
virtual const QVector< int > & closestIntegrationIndex (GmCellType type, int P, int Q, int nodeIndex) const
 Returns a list with the index of the closest(s) integraion points from nodeIndex. More...
 
- Static Public Member Functions inherited from GmBorderIntegrationRule
static GmBorderIntegrationRulefaceInstance (GmCellType type, int P, int Q, int faceType, GmIntegrationRuleType irType, int rule1=-1, int rule2=-1)
 Instanciates a face integration rule for the specified element type using the provided parameters. Returns NULL if the parameter set results in an invalid integration rule. More...
 
static GmBorderIntegrationRuleedgeInstance (GmCellType type, int P, int Q, GmIntegrationRuleType irType, int rule1=-1)
 Instanciates an edge integration rule for the specified element type using the provided parameters. Returns NULL if the parameter set results in an invalid integration rule. More...
 
- Static Public Member Functions inherited from GmIntegrationRule
static GmIntegrationRuleinstance (GmCellType type, int P, int Q, GmIntegrationRuleType irType, int rule1=-1, int rule2=-1, int rule3=-1)
 Instanciates an integration rule for the specified element type using the provided parameters. Returns NULL if the parameter set results in an invalid integration rule. More...
 
- Protected Attributes inherited from GmProxyBorderIntegrationRule
GmIntegrationRule_rule
 The basic wrapped integration rule.
 
const GmShape_shape
 The shape function of the element type associated with this rule.
 
int _nnatural
 The number of natural coordinates for the rule. Might be different from _shape->numNaturalCoord() for interface elements.
 
bool _face
 Is this a face or an edge border integration rule?
 

Detailed Description

Integration rule for Quad element borders.

IMPORTANT: This class should not be instanced directly. It exists to be a base class for other integration rules.


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