GemaCoreLib
The GeMA Core library
Public Member Functions | List of all members
GmIntNewtonIntegrationRule Class Reference

Newton Cotes Integration rule for 3D triangular interface. Similar to GmTriNewtonIntegrationRule but uses natural coordinates with only two components. More...

#include <gmInt3dTFaceIntegrationRule.h>

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

Public Member Functions

 GmIntNewtonIntegrationRule (int rule, bool closed)
 Basic constructor using Newton rules. Rule should be 1 to 5. Creates an invalid object for rules outside the valid range. See comments on GmIntegrationRule::isValid()
 
 GmIntNewtonIntegrationRule (GmIntegrationRuleType irType, int rule1, int rule2, int rule3)
 Standard constructor to enable the class use with GmCellIntegrationRuleSet.
 
- Public Member Functions inherited from GmReducedBarycentricSingleTableIntegrationRule< 2 >
virtual void integrationPoint (int index, GmVector &naturalCoord, double *weight) const
 This function returns weights and points to be sampled for the configured integration rule, assuming that the number of coordinates in the positions stored in the rule table are equal to N+1. The FIRST coordinate is IGNORED. More...
 
- Public Member Functions inherited from GmSingleTableIntegrationRule< N >
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 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...
 
- 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...
 

Additional Inherited Members

- 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 Member Functions inherited from GmSingleTableIntegrationRule< N >
 GmSingleTableIntegrationRule (GmIntegrationRuleType ruleType, GmIntegrationRuleCacheKeyBase cacheKeyBase, int rule, const QVector< QPair< GmVector, double >> *table, int degree)
 Constructor. Receives the rule type + cache key base, along with the rule number + the table defining the integration rule in that dimension. More...
 
- 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.
 
- Protected Attributes inherited from GmSingleTableIntegrationRule< N >
GmIntegrationRuleType _rtype
 The rule type.
 
int _degree
 The rule degree.
 
int _rule
 The rule number.
 
const QVector< QPair< GmVector, double > > * _table
 The selected rule table or NULL for invalid rules.
 
GmIntegrationRuleCacheKeyBase _keyBase
 The base cache key.
 

Detailed Description

Newton Cotes Integration rule for 3D triangular interface. Similar to GmTriNewtonIntegrationRule but uses natural coordinates with only two components.


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