Serendipity Basis, defined as the sub-basis of a provided basis, consisting of basis elements for which tensorial component polynomial orders satisfy the Serendipity criterion.
More...
#include <Intrepid2_SerendipityBasis.hpp>
|
| | SerendipityBasis (BasisPtr fullBasis) |
| | Constructor.
|
| |
| virtual int | getNumTensorialExtrusions () const override |
| |
| virtual BasisValues< OutputValueType, DeviceType > | allocateBasisValues (TensorPoints< PointValueType, DeviceType > points, const EOperator operatorType=OPERATOR_VALUE) const override |
| | Allocate BasisValues container suitable for passing to the getValues() variant that takes a TensorPoints container as argument.
|
| |
| virtual const char * | getName () const override |
| | Returns basis name.
|
| |
| virtual void | getValues (BasisValues< OutputValueType, DeviceType > outputValues, const TensorPoints< PointValueType, DeviceType > inputPoints, const EOperator operatorType=OPERATOR_VALUE) const override |
| | Evaluation of a FEM basis on a reference cell, using point and output value containers that allow preservation of tensor-product structure.
|
| |
| virtual void | getValues (OutputViewType outputValues, const PointViewType inputPoints, const EOperator operatorType=OPERATOR_VALUE) const override |
| | Evaluation of a FEM basis on a reference cell.
|
| |
| virtual HostBasisPtr< OutputValueType, PointValueType > | getHostBasis () const override |
| | Creates and returns a Basis object whose DeviceType template argument is Kokkos::HostSpace::device_type, but is otherwise identical to this.
|
| |
| BasisPtr | getUnderlyingBasis () const |
| | Returns a pointer to the underlying full basis.
|
| |
| OrdinalTypeArray1D | ordinalMap () const |
| | Returns the ordinal map from the Serendipity basis ordinal to the ordinal in the underlying full basis.
|
| |
template<typename BasisBaseClass = void>
class Intrepid2::SerendipityBasis< BasisBaseClass >
Serendipity Basis, defined as the sub-basis of a provided basis, consisting of basis elements for which tensorial component polynomial orders satisfy the Serendipity criterion.
Definition at line 28 of file Intrepid2_SerendipityBasis.hpp.
◆ BasisBase
template<typename BasisBaseClass = void>
◆ BasisPtr
template<typename BasisBaseClass = void>
◆ DeviceType
template<typename BasisBaseClass = void>
◆ ExecutionSpace
template<typename BasisBaseClass = void>
◆ OrdinalTypeArray1D
template<typename BasisBaseClass = void>
◆ OrdinalTypeArray1DHost
template<typename BasisBaseClass = void>
◆ OrdinalTypeArray2DHost
template<typename BasisBaseClass = void>
◆ OutputValueType
template<typename BasisBaseClass = void>
◆ OutputViewType
template<typename BasisBaseClass = void>
◆ PointValueType
template<typename BasisBaseClass = void>
◆ PointViewType
template<typename BasisBaseClass = void>
◆ SerendipityBasis()
template<typename BasisBaseClass = void>
◆ allocateBasisValues()
template<typename BasisBaseClass = void>
◆ getHostBasis()
template<typename BasisBaseClass = void>
Creates and returns a Basis object whose DeviceType template argument is Kokkos::HostSpace::device_type, but is otherwise identical to this.
- Returns
- Pointer to the new Basis object.
Definition at line 271 of file Intrepid2_SerendipityBasis.hpp.
◆ getName()
template<typename BasisBaseClass = void>
◆ getNumTensorialExtrusions()
template<typename BasisBaseClass = void>
◆ getUnderlyingBasis()
template<typename BasisBaseClass = void>
◆ getValues() [1/2]
template<typename BasisBaseClass = void>
Evaluation of a FEM basis on a reference cell, using point and output value containers that allow preservation of tensor-product structure.
Returns values of operatorType acting on FEM basis functions for a set of points in the reference cell for which the basis is defined.
- Parameters
-
This is the preferred getValues() method for SerendipityBasis. It allows a reduced memory footprint and optimized integration, etc.
Definition at line 232 of file Intrepid2_SerendipityBasis.hpp.
◆ getValues() [2/2]
template<typename BasisBaseClass = void>
| virtual void Intrepid2::SerendipityBasis< BasisBaseClass >::getValues |
( |
OutputViewType |
outputValues, |
|
|
const PointViewType |
inputPoints, |
|
|
const EOperator |
operatorType = OPERATOR_VALUE |
|
) |
| const |
|
inlineoverridevirtual |
Evaluation of a FEM basis on a reference cell.
Returns values of operatorType acting on FEM basis functions for a set of points in the reference cell for which the basis is defined.
- Parameters
-
| outputValues | [out] - variable rank array with the basis values |
| inputPoints | [in] - rank-2 array (P,D) with the evaluation points |
| operatorType | [in] - the operator acting on the basis functions |
Definition at line 259 of file Intrepid2_SerendipityBasis.hpp.
◆ ordinalMap()
template<typename BasisBaseClass = void>
Returns the ordinal map from the Serendipity basis ordinal to the ordinal in the underlying full basis.
- Returns
- Ordinal map from the Serendipity basis ordinal to the ordinal in the underlying full basis. (Indices to the container are Serendipity basis ordinals; values are full basis ordinals.)
Definition at line 291 of file Intrepid2_SerendipityBasis.hpp.
◆ fullBasis_
template<typename BasisBaseClass = void>
◆ name_
template<typename BasisBaseClass = void>
◆ numTensorialExtrusions_
template<typename BasisBaseClass = void>
◆ ordinalMap_
template<typename BasisBaseClass = void>
The documentation for this class was generated from the following file: