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" 54 #include "Teuchos_RCP.hpp" 64 Intrepid2FieldPattern(
const Teuchos::RCP< Intrepid2::Basis<PHX::Device,double,double> > &intrepidBasis);
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;
139 Teuchos::RCP< Intrepid2::Basis<PHX::Device,double,double> >
getIntrepidBasis()
const;
virtual int getSubcellCount(int dim) const
virtual const std::vector< int > & getSubcellIndices(int dim, int cellIndex) const
bool supportsInterpolatoryCoordinates() const
Does this field pattern support interpolatory coordinates?
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_
Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > getIntrepidBasis() const
Returns the underlying Intrepid2::Basis object.
Intrepid2FieldPattern(const Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > &intrepidBasis)
virtual void getSubcellClosureIndices(int dim, int cellIndex, std::vector< int > &indices) const
static void getSubcellNodes(const shards::CellTopology &cellTopo, unsigned dim, unsigned subCell, std::vector< unsigned > &nodes)
void getInterpolatoryCoordinates(Kokkos::DynRankView< double, PHX::Device > &coords) const
virtual shards::CellTopology getCellTopology() const
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)
Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > intrepidBasis_