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 Attributes | List of all members
panzer::DOFManagerFactory Class Reference

#include <Panzer_DOFManagerFactory.hpp>

Inheritance diagram for panzer::DOFManagerFactory:
Inheritance graph
[legend]

Public Member Functions

 DOFManagerFactory ()
 
virtual ~DOFManagerFactory ()
 
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
 
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::GlobalIndexerFactory
virtual ~GlobalIndexerFactory ()
 

Static Public Member Functions

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

Protected Attributes

bool useDOFManagerFEI_
 
bool useTieBreak_
 
bool useNeighbors_
 

Detailed Description

Definition at line 52 of file Panzer_DOFManagerFactory.hpp.

Constructor & Destructor Documentation

panzer::DOFManagerFactory::DOFManagerFactory ( )
inline

Definition at line 54 of file Panzer_DOFManagerFactory.hpp.

virtual panzer::DOFManagerFactory::~DOFManagerFactory ( )
inlinevirtual

Definition at line 56 of file Panzer_DOFManagerFactory.hpp.

Member Function Documentation

Teuchos::RCP< panzer::GlobalIndexer > panzer::DOFManagerFactory::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
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 GlobalIndexer object. If buildGlobalUnknowns is true, the object is fully constructed. If it is false, the caller must finalize it.

Implements panzer::GlobalIndexerFactory.

Definition at line 56 of file Panzer_DOFManagerFactory.cpp.

void panzer::DOFManagerFactory::setUseDOFManagerFEI ( bool  flag)
inline

Definition at line 80 of file Panzer_DOFManagerFactory.hpp.

bool panzer::DOFManagerFactory::getUseDOFManagerFEI ( ) const
inline

Definition at line 85 of file Panzer_DOFManagerFactory.hpp.

void panzer::DOFManagerFactory::setUseTieBreak ( bool  flag)
inline

Definition at line 90 of file Panzer_DOFManagerFactory.hpp.

bool panzer::DOFManagerFactory::getUseTieBreak ( ) const
inline

Definition at line 93 of file Panzer_DOFManagerFactory.hpp.

void panzer::DOFManagerFactory::setUseNeighbors ( bool  flag)
inline

Definition at line 96 of file Panzer_DOFManagerFactory.hpp.

bool panzer::DOFManagerFactory::getUseNeighbors ( ) const
inline

Definition at line 99 of file Panzer_DOFManagerFactory.hpp.

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

Definition at line 135 of file Panzer_DOFManagerFactory.cpp.

Member Data Documentation

bool panzer::DOFManagerFactory::useDOFManagerFEI_
protected

Definition at line 106 of file Panzer_DOFManagerFactory.hpp.

bool panzer::DOFManagerFactory::useTieBreak_
protected

Definition at line 107 of file Panzer_DOFManagerFactory.hpp.

bool panzer::DOFManagerFactory::useNeighbors_
protected

Definition at line 108 of file Panzer_DOFManagerFactory.hpp.


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