11 #ifndef __Panzer_IntrepidFieldPattern_hpp__
12 #define __Panzer_IntrepidFieldPattern_hpp__
17 #include "Kokkos_Core.hpp"
18 #include "Kokkos_DynRankView.hpp"
19 #include "Intrepid2_Basis.hpp"
21 #include "Phalanx_KokkosDeviceTypes.hpp"
54 static void buildSubcellClosure(
const shards::CellTopology & cellTopo,
unsigned dim,
unsigned subCell,
55 std::set<std::pair<unsigned,unsigned> > & closure);
69 const std::vector<unsigned> & nodes,
70 std::set<std::pair<unsigned,unsigned> > & subCells);
79 static void getSubcellNodes(
const shards::CellTopology & cellTopo,
unsigned dim,
unsigned subCell,
80 std::vector<unsigned> & nodes);
108 Kokkos::DynRankView<double,PHX::Device> & coords,
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_