![]() |
GemaCoreLib
The GeMA Core library
|
Gauss integration rule for Wedge element faces. More...
#include <gmWedgeIntegrationRule.h>
Public Member Functions | |
GmWedgeGaussFaceIntegrationRule (GmCellType type, GmCellFaceType faceType, int rule1, int rule2) | |
Constructor. | |
GmWedgeGaussFaceIntegrationRule (GmCellType type, GmCellFaceType faceType, GmIntegrationRuleType irType, int rule1, int rule2) | |
Standard constructor to enable the class use with GmCellIntegrationRuleSet. | |
![]() | |
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... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
static GmBorderIntegrationRule * | faceInstance (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 GmBorderIntegrationRule * | edgeInstance (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 GmIntegrationRule * | instance (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... | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
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? | |
Gauss integration rule for Wedge element faces.