Intrepid2
Public Types | Public Member Functions | List of all members
Intrepid2::SerendipityBasisWrapper< FullBasis, numPolyOrderArgs > Class Template Reference

Helper class that allows SerendipityBasis construction with poly order arguments that are passed to the tensor-basis constructor. (SerendipityBasis itself requires a BasisPtr at construction.) More...

#include <Intrepid2_SerendipityBasisFamily.hpp>

Inheritance diagram for Intrepid2::SerendipityBasisWrapper< FullBasis, numPolyOrderArgs >:
Intrepid2::SerendipityBasis< FullBasis::BasisBase >

Public Types

using BasisBase = typename FullBasis::BasisBase
 
using BasisPtr = Teuchos::RCP< BasisBase >
 
using DeviceType = typename BasisBase::DeviceType
 
using ExecutionSpace = typename BasisBase::ExecutionSpace
 
using OutputValueType = typename BasisBase::OutputValueType
 
using PointValueType = typename BasisBase::PointValueType
 
using OrdinalTypeArray1D = typename BasisBase::OrdinalTypeArray1D
 
using OrdinalTypeArray1DHost = typename BasisBase::OrdinalTypeArray1DHost
 
using OrdinalTypeArray2DHost = typename BasisBase::OrdinalTypeArray2DHost
 
using OutputViewType = typename BasisBase::OutputViewType
 
using PointViewType = typename BasisBase::PointViewType
 
- Public Types inherited from Intrepid2::SerendipityBasis< FullBasis::BasisBase >
using BasisBase = FullBasis::BasisBase
 
using BasisPtr = Teuchos::RCP< BasisBase >
 
using DeviceType = typename BasisBase::DeviceType
 
using ExecutionSpace = typename BasisBase::ExecutionSpace
 
using OutputValueType = typename BasisBase::OutputValueType
 
using PointValueType = typename BasisBase::PointValueType
 
using OrdinalTypeArray1D = typename BasisBase::OrdinalTypeArray1D
 
using OrdinalTypeArray1DHost = typename BasisBase::OrdinalTypeArray1DHost
 
using OrdinalTypeArray2DHost = typename BasisBase::OrdinalTypeArray2DHost
 
using OutputViewType = typename BasisBase::OutputViewType
 
using PointViewType = typename BasisBase::PointViewType
 

Public Member Functions

 SerendipityBasisWrapper (int polyOrder, const EPointType pointType=POINTTYPE_DEFAULT)
 single-argument constructor, for isotropic bases.
 
template<bool M = (numPolyOrderArgs==2)>
 SerendipityBasisWrapper (int polyOrder_x, int polyOrder_y, const EPointType pointType=POINTTYPE_DEFAULT, typename std::enable_if< M >::type *=0)
 two-argument constructor; enabled if numPolyOrderArgs is 2.
 
template<bool M = (numPolyOrderArgs==3)>
 SerendipityBasisWrapper (int polyOrder_x, int polyOrder_y, int polyOrder_z, const EPointType pointType=POINTTYPE_DEFAULT, typename std::enable_if< M >::type *=0)
 three-argument constructor; enabled if numPolyOrderArgs is 3.
 
- Public Member Functions inherited from Intrepid2::SerendipityBasis< FullBasis::BasisBase >
 SerendipityBasis (BasisPtr fullBasis)
 Constructor. More...
 
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. More...
 
virtual const char * getName () const override
 Returns basis name. More...
 
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. More...
 
virtual void getValues (OutputViewType outputValues, const PointViewType inputPoints, const EOperator operatorType=OPERATOR_VALUE) const override
 Evaluation of a FEM basis on a reference cell. More...
 
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. More...
 
BasisPtr getUnderlyingBasis () const
 Returns a pointer to the underlying full basis. More...
 
OrdinalTypeArray1D ordinalMap () const
 Returns the ordinal map from the Serendipity basis ordinal to the ordinal in the underlying full basis. More...
 

Additional Inherited Members

- Protected Attributes inherited from Intrepid2::SerendipityBasis< FullBasis::BasisBase >
BasisPtr fullBasis_
 
std::string name_
 
int numTensorialExtrusions_
 
OrdinalTypeArray1D ordinalMap_
 

Detailed Description

template<class FullBasis, int numPolyOrderArgs>
class Intrepid2::SerendipityBasisWrapper< FullBasis, numPolyOrderArgs >

Helper class that allows SerendipityBasis construction with poly order arguments that are passed to the tensor-basis constructor. (SerendipityBasis itself requires a BasisPtr at construction.)

Definition at line 35 of file Intrepid2_SerendipityBasisFamily.hpp.


The documentation for this class was generated from the following file: