43 #ifndef __Panzer_STK_SetupUtilities_hpp__ 44 #define __Panzer_STK_SetupUtilities_hpp__ 53 #include "Teuchos_RCP.hpp" 68 Teuchos::RCP<std::vector<panzer::Workset> >
80 Teuchos::RCP<std::vector<panzer::Workset> >
82 const std::string & eBlock,
98 Teuchos::RCP<std::vector<panzer::Workset> >
101 const std::string & sideset,
102 bool useCascade=
false);
118 Teuchos::RCP<std::vector<panzer::Workset> >
121 const std::string & sideset,
122 const std::string & eBlock,
123 bool useCascade=
false);
135 Teuchos::RCP<std::map<unsigned,panzer::Workset> >
139 const std::string & sideset);
152 Teuchos::RCP<std::map<unsigned,panzer::Workset> >
155 const std::string & sidesetID);
169 Teuchos::RCP<std::map<unsigned,panzer::Workset> >
172 const std::string & eblockID,
173 const std::string & sidesetID);
177 namespace workset_utils {
187 template<
typename ArrayT>
190 std::vector<std::size_t>& localIds,
214 const std::string & blockId,
215 const std::vector<stk::mesh::Entity> & entities,
216 std::vector<std::size_t> & localEntityIds,
217 std::vector<stk::mesh::Entity> & elements);
239 const std::string & blockId,
240 const std::vector<stk::mesh::Entity> & entities,
241 std::vector<std::size_t> & localEntityIds,
242 std::vector<stk::mesh::Entity> & elements);
264 const std::string & blockId,
265 const std::vector<stk::mesh::Entity> & sides,
266 std::vector<std::size_t> & localSideIds,
267 std::vector<stk::mesh::Entity> & elements);
299 const std::string & blockId_a,
300 const std::string & blockId_b,
301 const std::vector<stk::mesh::Entity> & sides,
302 std::vector<std::size_t> & localSideIds_a,
303 std::vector<stk::mesh::Entity> & elements_a,
304 std::vector<std::size_t> & localSideIds_b,
305 std::vector<stk::mesh::Entity> & elements_b);
327 const std::string & blockId,
328 const std::vector<stk::mesh::Entity> & nodes,
329 std::vector<std::size_t> & localNodeIds,
330 std::vector<stk::mesh::Entity> & elements);
350 const std::string & blockId,
351 const std::vector<stk::mesh::Entity> & sides,
352 std::vector<std::size_t> & localSubcellDim,
353 std::vector<std::size_t> & subcellIds,
354 std::vector<stk::mesh::Entity> & elements);
369 const std::vector<stk::mesh::Entity> & entities,
370 std::vector<std::vector<stk::mesh::Entity> > & subcells);
void getIdsAndVertices(const panzer_stk::STK_Interface &mesh, std::string blockId, std::vector< std::size_t > &localIds, ArrayT &vertices)
Object that contains information on the physics and discretization of a block of elements with the SA...
void getSubcellEntities(const panzer_stk::STK_Interface &mesh, const std::vector< stk::mesh::Entity > &entities, std::vector< std::vector< stk::mesh::Entity > > &subcells)
Teuchos::RCP< std::vector< panzer::Workset > > buildWorksets(const panzer_stk::STK_Interface &mesh, const panzer::PhysicsBlock &pb)
void getSubcellElements(const panzer_stk::STK_Interface &mesh, const std::string &blockId, const std::vector< stk::mesh::Entity > &entities, std::vector< std::size_t > &localEntityIds, std::vector< stk::mesh::Entity > &elements)
PHX::MDField< ScalarT > vector
void getSideElements(const panzer_stk::STK_Interface &mesh, const std::string &blockId, const std::vector< stk::mesh::Entity > &sides, std::vector< std::size_t > &localSideIds, std::vector< stk::mesh::Entity > &elements)
void getUniversalSubcellElements(const panzer_stk::STK_Interface &mesh, const std::string &blockId, const std::vector< stk::mesh::Entity > &entities, std::vector< std::size_t > &localEntityIds, std::vector< stk::mesh::Entity > &elements)
Teuchos::RCP< std::map< unsigned, panzer::Workset > > buildBCWorksets(const panzer_stk::STK_Interface &mesh, const panzer::PhysicsBlock &pb_a, const panzer::PhysicsBlock &pb_b, const std::string &sideset)
void getSideElementCascade(const panzer_stk::STK_Interface &mesh, const std::string &blockId, const std::vector< stk::mesh::Entity > &sides, std::vector< std::size_t > &localSubcellDim, std::vector< std::size_t > &localSubcellIds, std::vector< stk::mesh::Entity > &elements)
void getNodeElements(const panzer_stk::STK_Interface &mesh, const std::string &blockId, const std::vector< stk::mesh::Entity > &nodes, std::vector< std::size_t > &localNodeIds, std::vector< stk::mesh::Entity > &elements)