43 #ifndef PANZER_DOF_MANAGER_FACTORY_IMPL_HPP
44 #define PANZER_DOF_MANAGER_FACTORY_IMPL_HPP
59 const std::string & fieldOrder)
const
61 PANZER_FUNC_TIME_MONITOR_DIFF(
"panzer::DOFManagerFactory::buildUnqueGlobalIndexer",BUGI);
75 bool orientationsRequired =
false;
77 std::vector<Teuchos::RCP<panzer::PhysicsBlock> >::const_iterator physIter;
78 for(physIter=physicsBlocks.begin();physIter!=physicsBlocks.end();++physIter) {
81 const std::vector<StrPureBasisPair> & blockFields = pb->
getProvidedDOFs();
84 std::set<StrPureBasisPair,StrPureBasisComp> fieldNames;
85 fieldNames.insert(blockFields.begin(),blockFields.end());
88 std::set<StrPureBasisPair,StrPureBasisComp>::const_iterator fieldItr;
89 for (fieldItr=fieldNames.begin();fieldItr!=fieldNames.end();++fieldItr) {
93 orientationsRequired |= fieldItr->second->requiresOrientations();
96 = fieldItr->second->getIntrepid2Basis();
109 std::vector<std::string> fieldOrderV;
115 PANZER_FUNC_TIME_MONITOR_DIFF(
"panzer::DOFManagerFactory::buildUnqueGlobalIndexer:buildGlobalUnknowns",BGU);
135 buildFieldOrder(
const std::string & fieldOrderStr,std::vector<std::string> & fieldOrder)
139 std::stringstream ss;
149 fieldOrder.push_back(token);
void setFieldOrder(const std::vector< std::string > &fieldOrder)
static void buildFieldOrder(const std::string &fieldOrderStr, std::vector< std::string > &fieldOrder)
basic_FancyOStream & setShowProcRank(const bool showProcRank)
void enableTieBreak(bool enable)
void useNeighbors(bool flag)
void buildGlobalUnknowns()
builds the global unknowns array
void setOrientationsRequired(bool ro)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
std::string elementBlockID() const
virtual Teuchos::RCP< panzer::GlobalIndexer > buildGlobalIndexer(const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &mpiComm, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, const Teuchos::RCP< ConnManager > &connMngr, const std::string &fieldOrder="") const
basic_FancyOStream & setOutputToRootOnly(const int rootRank)
int addField(const std::string &str, const Teuchos::RCP< const FieldPattern > &pattern, const panzer::FieldType &type=panzer::FieldType::CG)
Add a field to the DOF manager.
const std::vector< StrPureBasisPair > & getProvidedDOFs() const