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;
Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > intrepidBasis_
virtual void getSubcellClosureIndices(int dim, int cellIndex, std::vector< int > &indices) const
virtual int getDimension() const
std::vector< int > empty_
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
Teuchos::RCP< Intrepid2::Basis< PHX::Device, double, double > > getIntrepidBasis() const
Returns the underlying Intrepid2::Basis object.
bool supportsInterpolatoryCoordinates() const
Does this field pattern support interpolatory coordinates?
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)
virtual const std::vector< int > & getSubcellIndices(int dim, int cellIndex) const
static void buildSubcellClosure(const shards::CellTopology &cellTopo, unsigned dim, unsigned subCell, std::set< std::pair< unsigned, unsigned > > &closure)
virtual int getSubcellCount(int dim) const