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::UniqueGlobalIndexerFactory< LO, GO, CONN_LO, CONN_GO > Class Template Referenceabstract

#include <Panzer_UniqueGlobalIndexerFactory.hpp>

Inheritance diagram for panzer::UniqueGlobalIndexerFactory< LO, GO, CONN_LO, CONN_GO >:
Inheritance graph
[legend]

Public Member Functions

virtual ~UniqueGlobalIndexerFactory ()
 
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< CONN_LO, CONN_GO > > &connMngr, const std::string &fieldOrder="") const =0
 

Detailed Description

template<typename LO, typename GO, typename CONN_LO, typename CONN_GO>
class panzer::UniqueGlobalIndexerFactory< LO, GO, CONN_LO, CONN_GO >

A factory for building UniqueGlobalIndexer 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 67 of file Panzer_UniqueGlobalIndexerFactory.hpp.

Constructor & Destructor Documentation

template<typename LO, typename GO, typename CONN_LO, typename CONN_GO>
virtual panzer::UniqueGlobalIndexerFactory< LO, GO, CONN_LO, CONN_GO >::~UniqueGlobalIndexerFactory ( )
inlinevirtual

Definition at line 70 of file Panzer_UniqueGlobalIndexerFactory.hpp.

Member Function Documentation

template<typename LO, typename GO, typename CONN_LO, typename CONN_GO>
virtual Teuchos::RCP<panzer::UniqueGlobalIndexer<LO,GO> > panzer::UniqueGlobalIndexerFactory< LO, GO, CONN_LO, CONN_GO >::buildUniqueGlobalIndexer ( const Teuchos::RCP< const Teuchos::OpaqueWrapper< MPI_Comm > > &  mpiComm,
const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &  physicsBlocks,
const Teuchos::RCP< ConnManager< CONN_LO, CONN_GO > > &  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 UniqueGlobalIndexer object. If buildGlobalUnknowns is true, the object is fully constructed. If it is false, the caller must finalize it.

Implemented in panzer::DOFManagerFactory< LO, GO >, panzer::BlockedDOFManagerFactory< LO, GO >, and panzer::DOFManagerFactory< LO, GO >.


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