Go to the documentation of this file.
18 #ifndef __FINLEY_REFERENCEELEMENTSETS_H__
19 #define __FINLEY_REFERENCEELEMENTSETS_H__
27 struct ReferenceElementSet {
32 id_info->BasisFunctions);
34 order=std::max(2*bf_info->numOrder, 0);
38 reduced_order=std::max(2*(bf_info->numOrder-1), 0);
43 throw escript::ValueError(
"ReferenceElementSet: numNodes in referenceElement and referenceElementReducedQuadrature don't match.");
48 bool reducedIntegrationOrder)
const
50 if (reducedShapefunction) {
51 return (reducedIntegrationOrder ?
55 return (reducedIntegrationOrder ?
62 return (reducedIntegrationOrder ?
85 #endif // __FINLEY_REFERENCEELEMENTSETS_H__
ReferenceElementSet(ElementTypeId id, int order, int reduced_order)
Definition: ReferenceElementSets.h:53
int getNumNodes() const
Definition: ReferenceElementSets.h:98
boost::shared_ptr< ReferenceElement > ReferenceElement_ptr
Definition: ReferenceElements.h:211
const_ReferenceElement_ptr borrowReferenceElement(bool reducedIntOrder) const
Definition: ReferenceElementSets.h:92
boost::shared_ptr< const ReferenceElementSet > const_ReferenceElementSet_ptr
Definition: ReferenceElementSets.h:92
ReferenceElement_ptr referenceElement
Definition: ReferenceElementSets.h:101
boost::shared_ptr< const ReferenceElement > const_ReferenceElement_ptr
Definition: ReferenceElements.h:212
static const ShapeFunctionInfo * getInfo(ShapeFunctionTypeId id)
Definition: ShapeFunctions.cpp:119
const_ShapeFunction_ptr borrowBasisFunctions(bool reducedShapefunction, bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:72
ElementTypeId
Definition: ReferenceElements.h:37
static const ReferenceElementInfo * getInfo(ElementTypeId id)
returns the element information structure for the given type id
Definition: ReferenceElements.cpp:678
const_ShapeFunction_ptr borrowParametrization(bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:85
boost::shared_ptr< const ShapeFunction > const_ShapeFunction_ptr
Definition: ShapeFunctions.h:99
ReferenceElement_ptr referenceElementReducedQuadrature
Definition: ReferenceElementSets.h:100
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:32
An exception class that signals an invalid argument value.
Definition: EsysException.h:101
this struct holds the realization of a reference element
Definition: ReferenceElements.h:175