42 #include "Intrepid2_config.h" 43 #if ! defined ( HAVE_INTREPID2_KOKKOS_DYNRANKVIEW ) 44 #ifndef __Panzer_IntrepidFieldPattern_hpp__ 45 #define __Panzer_IntrepidFieldPattern_hpp__ 50 #include "Intrepid2_Basis.hpp" 51 #include "Kokkos_DynRankView.hpp" 52 #include "Phalanx_KokkosDeviceTypes.hpp" 53 #include "Teuchos_RCP.hpp" 62 Intrepid2FieldPattern(
const Teuchos::RCP< Intrepid2::Basis<
double,Kokkos::DynRankView<double,PHX::Device> > > & intrepidBasis)
85 static void buildSubcellClosure(
const shards::CellTopology & cellTopo,
unsigned dim,
unsigned subCell,
86 std::set<std::pair<unsigned,unsigned> > & closure);
100 const std::vector<unsigned> & nodes,
101 std::set<std::pair<unsigned,unsigned> > & subCells);
110 static void getSubcellNodes(
const shards::CellTopology & cellTopo,
unsigned dim,
unsigned subCell,
111 std::vector<unsigned> & nodes);
135 Kokkos::DynRankView<double,PHX::Device> & coords)
const;
138 Teuchos::RCP< Intrepid2::Basis<double,Kokkos::DynRankView<double,PHX::Device> > >
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< double, Kokkos::DynRankView< double, PHX::Device > > > 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
static void findContainedSubcells(const shards::CellTopology &cellTopo, unsigned dim, const std::vector< unsigned > &nodes, std::set< std::pair< unsigned, unsigned > > &subCells)
Intrepid2FieldPattern(const Teuchos::RCP< Intrepid2::Basis< double, Kokkos::DynRankView< double, PHX::Device > > > &intrepidBasis)