17 #ifndef __FINLEY_REFERENCEELEMENTSETS_H__ 18 #define __FINLEY_REFERENCEELEMENTSETS_H__ 35 order=std::max(2*bf_info->
numOrder, 0);
40 reduced_order=std::max(2*(bf_info->
numOrder-1), 0);
47 setError(
VALUE_ERROR,
"ReferenceElementSet: numNodes in referenceElement and referenceElementReducedQuadrature don't match.");
53 bool reducedIntegrationOrder)
const 55 if (reducedShapefunction) {
56 return (reducedIntegrationOrder ?
60 return (reducedIntegrationOrder ?
67 return (reducedIntegrationOrder ?
90 #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:85
const_ShapeFunction_ptr borrowParametrization(bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:65
static const ReferenceElementInfo * getInfo(ElementTypeId id)
returns the element information structure for the given type id
Definition: ReferenceElements.cpp:667
ReferenceElement_ptr referenceElement
Definition: ReferenceElementSets.h:81
Definition: ReferenceElementSets.h:26
ReferenceElementSet(ElementTypeId id, int order, int reduced_order)
Definition: ReferenceElementSets.h:27
void setError(ErrorCodeType err, const char *msg)
sets an error
Definition: Finley.cpp:43
const_ReferenceElement_ptr borrowReferenceElement(bool reducedIntOrder) const
Definition: ReferenceElementSets.h:72
Definition: finley/src/Assemble.h:32
ShapeFunctionTypeId BasisFunctions
shape function for the basis functions
Definition: ReferenceElements.h:145
bool noError()
checks if there is no error
Definition: Finley.cpp:49
boost::shared_ptr< const ReferenceElement > const_ReferenceElement_ptr
Definition: ReferenceElements.h:213
int getNumNodes() const
Definition: ReferenceElementSets.h:78
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
ElementTypeId
Definition: ReferenceElements.h:38
boost::shared_ptr< ReferenceElement > ReferenceElement_ptr
Definition: ReferenceElements.h:212
const_ShapeFunction_ptr borrowBasisFunctions(bool reducedShapefunction, bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:52
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:80
int numOrder
order of the shape functions
Definition: ShapeFunctions.h:67