51 #ifndef Intrepid2_DerivedBasis_HVOL_WEDGE_h
52 #define Intrepid2_DerivedBasis_HVOL_WEDGE_h
58 template<
class HVOL_TRI,
class HVOL_LINE>
64 ordinal_type order_xy_, order_z_;
65 EPointType pointType_;
67 using ExecutionSpace =
typename HVOL_LINE::ExecutionSpace;
68 using OutputValueType =
typename HVOL_LINE::OutputValueType;
69 using PointValueType =
typename HVOL_LINE::PointValueType;
71 using OutputViewType =
typename HVOL_LINE::OutputViewType;
72 using PointViewType =
typename HVOL_LINE::PointViewType ;
73 using ScalarViewType =
typename HVOL_LINE::ScalarViewType;
75 using BasisBase =
typename HVOL_LINE::BasisBase;
76 using TriBasis = HVOL_TRI;
77 using LineBasis = HVOL_LINE;
87 TensorBasis(Teuchos::rcp( new TriBasis(polyOrder_xy, pointType)),
88 Teuchos::rcp( new LineBasis(polyOrder_z, pointType)))
90 this->functionSpace_ = FUNCTION_SPACE_HVOL;
92 std::ostringstream basisName;
94 name_ = basisName.str();
96 order_xy_= polyOrder_xy;
97 order_z_ = polyOrder_z;
98 pointType_ = pointType;
100 this->setShardsTopologyAndTags();
116 using BasisBase::getValues;
125 return name_.c_str();
132 virtual HostBasisPtr<OutputValueType, PointValueType>
136 auto hostBasis = Teuchos::rcp(
new HostBasis(order_xy_, order_z_, pointType_));
Basis_Derived_HVOL_WEDGE(int polyOrder_xy, int polyOrder_z, const EPointType pointType=POINTTYPE_DEFAULT)
Constructor.
Implementation of bases that are tensor products of two or three component bases. ...
virtual HostBasisPtr< OutputValueType, PointValueType > getHostBasis() const override
Creates and returns a Basis object whose DeviceType template argument is Kokkos::HostSpace::device_ty...
virtual bool requireOrientation() const override
True if orientation is required.
virtual const char * getName() const override
Returns basis name.
virtual const char * getName() const override
Returns basis name.
Basis_Derived_HVOL_WEDGE(int polyOrder, const EPointType pointType=POINTTYPE_DEFAULT)
Constructor.
Basis defined as the tensor product of two component bases.