Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
panzer::DOFManagerFactory< LO, GO > Class Template Reference

#include <Panzer_DOFManagerFactory_decl.hpp>

Inheritance diagram for panzer::DOFManagerFactory< LO, GO >:
Inheritance graph
[legend]

Public Member Functions

 DOFManagerFactory ()
 
virtual ~DOFManagerFactory ()
 
virtual Teuchos::RCP
< panzer::UniqueGlobalIndexer
< LO, GO > > 
buildUniqueGlobalIndexer (const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &mpiComm, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, const Teuchos::RCP< ConnManager< LO, GO > > &connMngr, const std::string &fieldOrder="") const
 
void setUseDOFManagerFEI (bool flag)
 
bool getUseDOFManagerFEI () const
 
void setUseTieBreak (bool flag)
 
bool getUseTieBreak () const
 
void setUseNeighbors (bool flag)
 
bool getUseNeighbors () const
 
- Public Member Functions inherited from panzer::UniqueGlobalIndexerFactory< LO, GO, LO, GO >
virtual ~UniqueGlobalIndexerFactory ()
 

Static Public Member Functions

static void buildFieldOrder (const std::string &fieldOrderStr, std::vector< std::string > &fieldOrder)
 

Protected Member Functions

template<typename DOFManagerT >
Teuchos::RCP
< panzer::UniqueGlobalIndexer
< LO, GO > > 
buildUniqueGlobalIndexer (const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &mpiComm, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, const Teuchos::RCP< ConnManager< LO, GO > > &connMngr, const std::string &fieldOrder) const
 

Protected Attributes

bool useDOFManagerFEI_
 
bool useTieBreak_
 
bool useNeighbors_
 

Detailed Description

template<typename LO, typename GO>
class panzer::DOFManagerFactory< LO, GO >

Definition at line 53 of file Panzer_DOFManagerFactory_decl.hpp.

Constructor & Destructor Documentation

template<typename LO, typename GO>
panzer::DOFManagerFactory< LO, GO >::DOFManagerFactory ( )
inline

Definition at line 55 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
virtual panzer::DOFManagerFactory< LO, GO >::~DOFManagerFactory ( )
inlinevirtual

Definition at line 57 of file Panzer_DOFManagerFactory_decl.hpp.

Member Function Documentation

template<typename LO , typename GO >
Teuchos::RCP< panzer::UniqueGlobalIndexer< LO, GO > > panzer::DOFManagerFactory< LO, GO >::buildUniqueGlobalIndexer ( const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &  mpiComm,
const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &  physicsBlocks,
const Teuchos::RCP< ConnManager< LO, GO > > &  connMngr,
const std::string &  fieldOrder = "" 
) const
virtual

Use the physics block to construct a unique global indexer object.

Parameters
[in]mpiCommMPI communicator to use in the construction
[in]physicsBlocksA vector of physics block objects that contain unknown field information.
[in]connMngrConnection manager that contains the mesh topology
[in]fieldOrderSpecifies the local ordering of the degrees of freedom. This is relevant when degrees of freedom are shared on the same geometric entity. The default is an alphabetical ordering.
Returns
A UniqueGlobalIndexer object. If buildGlobalUnknowns is true, the object is fully constructed. If it is false, the caller must finalize it.

Implements panzer::UniqueGlobalIndexerFactory< LO, GO, LO, GO >.

Definition at line 56 of file Panzer_DOFManagerFactory_impl.hpp.

template<typename LO, typename GO>
void panzer::DOFManagerFactory< LO, GO >::setUseDOFManagerFEI ( bool  flag)
inline

Definition at line 81 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
bool panzer::DOFManagerFactory< LO, GO >::getUseDOFManagerFEI ( ) const
inline

Definition at line 86 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
void panzer::DOFManagerFactory< LO, GO >::setUseTieBreak ( bool  flag)
inline

Definition at line 91 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
bool panzer::DOFManagerFactory< LO, GO >::getUseTieBreak ( ) const
inline

Definition at line 94 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
void panzer::DOFManagerFactory< LO, GO >::setUseNeighbors ( bool  flag)
inline

Definition at line 97 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
bool panzer::DOFManagerFactory< LO, GO >::getUseNeighbors ( ) const
inline

Definition at line 100 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO , typename GO >
void panzer::DOFManagerFactory< LO, GO >::buildFieldOrder ( const std::string &  fieldOrderStr,
std::vector< std::string > &  fieldOrder 
)
static

Definition at line 160 of file Panzer_DOFManagerFactory_impl.hpp.

template<typename LO, typename GO>
template<typename DOFManagerT >
Teuchos::RCP<panzer::UniqueGlobalIndexer<LO,GO> > panzer::DOFManagerFactory< LO, GO >::buildUniqueGlobalIndexer ( const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &  mpiComm,
const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &  physicsBlocks,
const Teuchos::RCP< ConnManager< LO, GO > > &  connMngr,
const std::string &  fieldOrder 
) const
protectedvirtual

Use the physics block to construct a unique global indexer object.

Parameters
[in]mpiCommMPI communicator to use in the construction
[in]physicsBlocksA vector of physics block objects that contain unknown field information.
[in]connMngrConnection manager that contains the mesh topology
[in]fieldOrderSpecifies the local ordering of the degrees of freedom. This is relevant when degrees of freedom are shared on the same geometric entity. The default is an alphabetical ordering.
Returns
A UniqueGlobalIndexer object. If buildGlobalUnknowns is true, the object is fully constructed. If it is false, the caller must finalize it.

Implements panzer::UniqueGlobalIndexerFactory< LO, GO, LO, GO >.

Member Data Documentation

template<typename LO, typename GO>
bool panzer::DOFManagerFactory< LO, GO >::useDOFManagerFEI_
protected

Definition at line 112 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
bool panzer::DOFManagerFactory< LO, GO >::useTieBreak_
protected

Definition at line 113 of file Panzer_DOFManagerFactory_decl.hpp.

template<typename LO, typename GO>
bool panzer::DOFManagerFactory< LO, GO >::useNeighbors_
protected

Definition at line 114 of file Panzer_DOFManagerFactory_decl.hpp.


The documentation for this class was generated from the following files: