17 #ifndef __FINLEY_REFERENCEELEMENTSETS_H__ 18 #define __FINLEY_REFERENCEELEMENTSETS_H__ 33 order=std::max(2*bf_info->
numOrder, 0);
37 reduced_order=std::max(2*(bf_info->
numOrder-1), 0);
42 throw escript::ValueError(
"ReferenceElementSet: numNodes in referenceElement and referenceElementReducedQuadrature don't match.");
47 bool reducedIntegrationOrder)
const 49 if (reducedShapefunction) {
50 return (reducedIntegrationOrder ?
54 return (reducedIntegrationOrder ?
61 return (reducedIntegrationOrder ?
84 #endif // __FINLEY_REFERENCEELEMENTSETS_H__ static const ShapeFunctionInfo * getInfo(ShapeFunctionTypeId id)
Definition: ShapeFunctions.cpp:104
boost::shared_ptr< const ReferenceElementSet > const_ReferenceElementSet_ptr
Definition: ReferenceElementSets.h:79
const_ReferenceElement_ptr borrowReferenceElement(bool reducedIntOrder) const
Definition: ReferenceElementSets.h:66
static const ReferenceElementInfo * getInfo(ElementTypeId id)
returns the element information structure for the given type id
Definition: ReferenceElements.cpp:663
const_ShapeFunction_ptr borrowBasisFunctions(bool reducedShapefunction, bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:46
ReferenceElement_ptr referenceElement
Definition: ReferenceElementSets.h:75
Definition: ReferenceElementSets.h:26
ReferenceElementSet(ElementTypeId id, int order, int reduced_order)
Definition: ReferenceElementSets.h:27
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:31
ShapeFunctionTypeId BasisFunctions
shape function for the basis functions
Definition: ReferenceElements.h:145
boost::shared_ptr< const ReferenceElement > const_ReferenceElement_ptr
Definition: ReferenceElements.h:213
const_ShapeFunction_ptr borrowParametrization(bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:59
boost::shared_ptr< const ShapeFunction > const_ShapeFunction_ptr
Definition: ShapeFunctions.h:99
this struct holds the definition of the reference element
Definition: ReferenceElements.h:120
An exception class that signals an invalid argument value.
Definition: EsysException.h:88
ElementTypeId
Definition: ReferenceElements.h:38
boost::shared_ptr< ReferenceElement > ReferenceElement_ptr
Definition: ReferenceElements.h:212
int getNumNodes() const
Definition: ReferenceElementSets.h:72
this struct holds the definition of the shape functions on an element
Definition: ShapeFunctions.h:57
this struct holds the realization of a reference element
Definition: ReferenceElements.h:176
ReferenceElement_ptr referenceElementReducedQuadrature
Definition: ReferenceElementSets.h:74
int numOrder
order of the shape functions
Definition: ShapeFunctions.h:67