45 #include "Phalanx_KokkosDeviceTypes.hpp" 
   61 class BasisCoordsGenerator :  
 
   62     public PointGenerator {
 
   64   BasisCoordsGenerator(
const int basis_order, 
const std::string & basis_type)
 
   67   virtual ~BasisCoordsGenerator() = 
default;
 
   69   virtual Kokkos::DynRankView<double> getPoints(
const shards::CellTopology & topo)
 const 
   72         intrepid_basis = createIntrepid2Basis<PHX::Device::execution_space,double,double>(
_basis_type,
_basis_order,topo);
 
   74     Kokkos::DynRankView<double> view(_basis_type+
"_ref_coords",intrepid_basis->getCardinality(),topo.getDimension());
 
   76     intrepid_basis->getDofCoords(view);
 
   81   virtual int numPoints(
const shards::CellTopology & topo)
 const 
   84         intrepid_basis = createIntrepid2Basis<PHX::Device::execution_space,double,double>(
_basis_type,
_basis_order,topo);
 
   85     return intrepid_basis->getCardinality();
 
   94   BasisCoordsGenerator();
 
   95   BasisCoordsGenerator(
const BasisCoordsGenerator &);
 
  105   _key = std::hash<BasisDescriptor>{}(*this);
 
  109   _basis_type(basis_type),
 
  110   _basis_order(basis_order)
 
  112   _key = std::hash<BasisDescriptor>{}(*this);
 
  122   std::stringstream ss;
 
  123   ss << 
"cell_ref:" << _basis_type << 
"-" << 
_basis_order;
 
  137   std::size_t seed = 0;
 
PointDescriptor getPointDescriptor() const 
Build a point descriptor that builds reference points for the DOF locations. This method throws if no...
std::size_t operator()(const panzer::BasisDescriptor &desc) const 
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
const std::string & getType() const 
Get type of basis. 
int getOrder() const 
Get order of basis. 
void hash_combine(std::size_t &seed, const T &v)
BasisDescriptor()
Constructor for empty basis.