![]() |
GemaCoreLib
The GeMA Core library
|
A helper class used to store the class types for each rule type. Template parameters are the implementation classes, for an element type, for each of the possible rule types. If a rule type is not supported for an element, just pass GmCellGeometryNullIntegrationRule as template parameter. More...
#include <gmCellGeometryIntegrationRuleSet.h>
Static Public Member Functions | |
template<class RuleSetDefaults > | |
static GmIntegrationRule * | instance (const GmCellGeometryMetadata *gType, GmIntegrationRuleType irType, int rule1, int rule2, int rule3) |
Instance, using the type's default signature constructor, an integration rule. The template parameter is the associated set of default values used to replace GM_AUTO_RULE_TYPE and -1 values for the rule parameters. | |
template<class RuleSetDefaults > | |
static GmBorderIntegrationRule * | edgeInstance (const GmCellGeometryMetadata *gType, GmIntegrationRuleType irType, int rule1) |
Instance, using the type's default signature constructor, an edge integration rule. The template parameter is the associated set of default values used to replace GM_AUTO_RULE_TYPE and -1 values for the rule parameters. | |
template<class RuleSetDefaults > | |
static GmBorderIntegrationRule * | faceInstance (const GmCellGeometryMetadata *gType, int faceType, GmIntegrationRuleType irType, int rule1, int rule2) |
Instance, using the type's default signature constructor, a face integration rule. The template parameter is the associated set of default values used to replace GM_AUTO_RULE_TYPE and -1 values for the rule parameters. | |
Static Private Member Functions | |
template<class T > | |
static GmIntegrationRule * | instanceOrNull (GmIntegrationRuleType irType, int rule1, int rule2, int rule3) |
Helper function to instance an integration rule type using its default signature constructor. | |
template<> | |
static GmIntegrationRule * | instanceOrNull (GmIntegrationRuleType, int, int, int) |
Helper function to return a NULL integration rule for the GmCellGeometryNullIntegrationRule template parameter. | |
template<class T > | |
static GmBorderIntegrationRule * | edgeInstanceOrNull (GmCellType type, GmIntegrationRuleType irType, int rule1) |
Helper function to instance an edge integration rule type using its default signature constructor. | |
template<> | |
static GmBorderIntegrationRule * | edgeInstanceOrNull (GmCellType, GmIntegrationRuleType, int) |
Helper function to return a NULL edge integration rule for the GmCellGeometryNullIntegrationRule template parameter. | |
template<class T > | |
static GmBorderIntegrationRule * | faceInstanceOrNull (GmCellType type, GmCellFaceType faceType, GmIntegrationRuleType irType, int rule1, int rule2) |
Helper function to instance a face integration rule type using its default signature constructor. | |
template<> | |
static GmBorderIntegrationRule * | faceInstanceOrNull (GmCellType, GmCellFaceType, GmIntegrationRuleType, int, int) |
Helper function to return a NULL face integration rule for the GmCellGeometryNullIntegrationRule template parameter. | |
A helper class used to store the class types for each rule type. Template parameters are the implementation classes, for an element type, for each of the possible rule types. If a rule type is not supported for an element, just pass GmCellGeometryNullIntegrationRule as template parameter.