Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Panzer_DOFManagerFactory.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Panzer: A partial differential equation assembly
4 // engine for strongly coupled complex multiphysics systems
5 //
6 // Copyright 2011 NTESS and the Panzer contributors.
7 // SPDX-License-Identifier: BSD-3-Clause
8 // *****************************************************************************
9 // @HEADER
10 
11 #ifndef __Panzer_DOFManagerFactory_decl_hpp__
12 #define __Panzer_DOFManagerFactory_decl_hpp__
13 
14 #include "PanzerDiscFE_config.hpp"
15 
17 
18 namespace panzer {
19 
20 class DOFManagerFactory : public virtual GlobalIndexerFactory {
21 public:
23 
24  virtual ~DOFManagerFactory() {}
25 
26 
44  const std::vector<Teuchos::RCP<panzer::PhysicsBlock> > & physicsBlocks,
45  const Teuchos::RCP<ConnManager> & connMngr,
46  const std::string & fieldOrder="") const;
47 
48  void setUseDOFManagerFEI(bool flag)
49  {
50  useDOFManagerFEI_ = flag;
51  }
52 
53  bool getUseDOFManagerFEI() const
54  {
55  return false;
56  }
57 
58  void setUseTieBreak(bool flag)
59  { useTieBreak_ = flag; }
60 
61  bool getUseTieBreak() const
62  { return useTieBreak_; }
63 
64  void setUseNeighbors(bool flag)
65  { useNeighbors_ = flag; }
66 
67  bool getUseNeighbors() const
68  { return useNeighbors_; }
69 
70  static void buildFieldOrder(const std::string & fieldOrderStr,std::vector<std::string> & fieldOrder);
71 
72 protected:
73 
77 };
78 
79 }
80 
81 #endif
static void buildFieldOrder(const std::string &fieldOrderStr, std::vector< std::string > &fieldOrder)
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