43 #ifndef __Panzer_IntrepidFieldPattern_hpp__
44 #define __Panzer_IntrepidFieldPattern_hpp__
49 #include "Kokkos_Core.hpp"
50 #include "Kokkos_DynRankView.hpp"
51 #include "Intrepid2_Basis.hpp"
53 #include "Phalanx_KokkosDeviceTypes.hpp"
86 static void buildSubcellClosure(
const shards::CellTopology & cellTopo,
unsigned dim,
unsigned subCell,
87 std::set<std::pair<unsigned,unsigned> > & closure);
101 const std::vector<unsigned> & nodes,
102 std::set<std::pair<unsigned,unsigned> > & subCells);
111 static void getSubcellNodes(
const shards::CellTopology & cellTopo,
unsigned dim,
unsigned subCell,
112 std::vector<unsigned> & nodes);
136 Kokkos::DynRankView<double,PHX::Device> & coords)
const;
virtual const std::vector< int > & getSubcellIndices(int dim, int cellIndex) const
virtual int getDimension() const
static void buildSubcellClosure(const shards::CellTopology &cellTopo, unsigned dim, unsigned subCell, std::set< std::pair< unsigned, unsigned > > &closure)
std::vector< int > empty_
virtual shards::CellTopology getCellTopology() const
bool supportsInterpolatoryCoordinates() const
Does this field pattern support interpolatory coordinates?
Intrepid2FieldPattern(const Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > &intrepidBasis)
static void getSubcellNodes(const shards::CellTopology &cellTopo, unsigned dim, unsigned subCell, std::vector< unsigned > &nodes)
virtual void getSubcellClosureIndices(int dim, int cellIndex, std::vector< int > &indices) const
Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > getIntrepidBasis() const
Returns the underlying Intrepid2::Basis object.
std::vector< std::vector< std::vector< int > > > subcellIndicies_
static void findContainedSubcells(const shards::CellTopology &cellTopo, unsigned dim, const std::vector< unsigned > &nodes, std::set< std::pair< unsigned, unsigned > > &subCells)
void getInterpolatoryCoordinates(Kokkos::DynRankView< double, PHX::Device > &coords) const
virtual int getSubcellCount(int dim) const
Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > intrepidBasis_