Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
panzer::GlobalIndexerFactory Class Referenceabstract

#include <Panzer_GlobalIndexerFactory.hpp>

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

Public Member Functions

virtual ~GlobalIndexerFactory ()
 
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 =0
 

Detailed Description

A factory for building GlobalIndexer objects. This is basically a single function that takes an MPI_Comm object, a vector of PhysicsBlocks and a connection manager. The Connection manager can have different local and global index types. The use case for this is the block assembly functionality.

Definition at line 66 of file Panzer_GlobalIndexerFactory.hpp.

Constructor & Destructor Documentation

virtual panzer::GlobalIndexerFactory::~GlobalIndexerFactory ( )
inlinevirtual

Definition at line 69 of file Panzer_GlobalIndexerFactory.hpp.

Member Function Documentation

virtual Teuchos::RCP<panzer::GlobalIndexer> panzer::GlobalIndexerFactory::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
pure 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.

Implemented in panzer::BlockedDOFManagerFactory, and panzer::DOFManagerFactory.


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