Go to the documentation of this file.
17 #ifndef __FINLEY_REFERENCEELEMENTSETS_H__
18 #define __FINLEY_REFERENCEELEMENTSETS_H__
26 struct ReferenceElementSet {
31 id_info->BasisFunctions);
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__
ReferenceElementSet(ElementTypeId id, int order, int reduced_order)
Definition: ReferenceElementSets.h:50
int getNumNodes() const
Definition: ReferenceElementSets.h:95
boost::shared_ptr< ReferenceElement > ReferenceElement_ptr
Definition: ReferenceElements.h:210
const_ReferenceElement_ptr borrowReferenceElement(bool reducedIntOrder) const
Definition: ReferenceElementSets.h:89
boost::shared_ptr< const ReferenceElementSet > const_ReferenceElementSet_ptr
Definition: ReferenceElementSets.h:90
ReferenceElement_ptr referenceElement
Definition: ReferenceElementSets.h:98
boost::shared_ptr< const ReferenceElement > const_ReferenceElement_ptr
Definition: ReferenceElements.h:211
static const ShapeFunctionInfo * getInfo(ShapeFunctionTypeId id)
Definition: ShapeFunctions.cpp:117
const_ShapeFunction_ptr borrowBasisFunctions(bool reducedShapefunction, bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:69
ElementTypeId
Definition: ReferenceElements.h:36
static const ReferenceElementInfo * getInfo(ElementTypeId id)
returns the element information structure for the given type id
Definition: ReferenceElements.cpp:676
const_ShapeFunction_ptr borrowParametrization(bool reducedIntegrationOrder) const
Definition: ReferenceElementSets.h:82
boost::shared_ptr< const ShapeFunction > const_ShapeFunction_ptr
Definition: ShapeFunctions.h:98
ReferenceElement_ptr referenceElementReducedQuadrature
Definition: ReferenceElementSets.h:97
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:31
An exception class that signals an invalid argument value.
Definition: EsysException.h:99
this struct holds the realization of a reference element
Definition: ReferenceElements.h:174