Panzer Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer Class Reference

#include <Panzer_BlockedEpetraLinearObjFactory.hpp>

Public Member Functions

 DOFManagerContainer ()
 
 DOFManagerContainer (const Teuchos::RCP< const GlobalIndexer > &ugi)
 
void setGlobalIndexer (const Teuchos::RCP< const GlobalIndexer > &ugi)
 
int getFieldBlocks () const
 Get the number of global indexers (not including the blocked one) contained.
 
bool containsBlockedDOFManager () const
 
Teuchos::RCP< const BlockedDOFManagergetBlockedIndexer () const
 Get the "parent" global indexer (if containsBlockedDOFManager()==false this will throw)
 
Teuchos::RCP< const GlobalIndexergetGlobalIndexer () const
 Get the "parent" global indexer (if getFieldBlocks()>1 this will be blocked, otherwise it may be either)
 
const std::vector< Teuchos::RCP< const GlobalIndexer > > & getFieldDOFManagers () const
 Get DOFManagers associated with the blocks.
 

Private Attributes

Teuchos::RCP< const BlockedDOFManagerblockedDOFManager_
 
std::vector< Teuchos::RCP< const GlobalIndexer > > gidProviders_
 

Detailed Description

template<typename Traits, typename LocalOrdinalT>
class panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer

This classes is mean to abstract away the different global indexer types and hide if this is a blocked data structure or a unblocked one.

Definition at line 454 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

Constructor & Destructor Documentation

◆ DOFManagerContainer() [1/2]

template<typename Traits , typename LocalOrdinalT >
panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::DOFManagerContainer ( )
inline

Definition at line 456 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ DOFManagerContainer() [2/2]

template<typename Traits , typename LocalOrdinalT >
panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::DOFManagerContainer ( const Teuchos::RCP< const GlobalIndexer > & ugi)
inline

Definition at line 457 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

Member Function Documentation

◆ setGlobalIndexer()

template<typename Traits , typename LocalOrdinalT >
void panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::setGlobalIndexer ( const Teuchos::RCP< const GlobalIndexer > & ugi)
inline

Definition at line 460 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ getFieldBlocks()

template<typename Traits , typename LocalOrdinalT >
int panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::getFieldBlocks ( ) const
inline

Get the number of global indexers (not including the blocked one) contained.

Definition at line 490 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ containsBlockedDOFManager()

template<typename Traits , typename LocalOrdinalT >
bool panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::containsBlockedDOFManager ( ) const
inline

Return true if this contains a blocked DOFManager as opposed to only a single DOFManager. If this returns true then getGlobalIndexer will return a BlockedDOFManager<int,GO>, other wise it will return a GlobalIndexer<int,GO>.

Definition at line 497 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ getBlockedIndexer()

template<typename Traits , typename LocalOrdinalT >
Teuchos::RCP< const BlockedDOFManager > panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::getBlockedIndexer ( ) const
inline

Get the "parent" global indexer (if containsBlockedDOFManager()==false this will throw)

Definition at line 501 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ getGlobalIndexer()

template<typename Traits , typename LocalOrdinalT >
Teuchos::RCP< const GlobalIndexer > panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::getGlobalIndexer ( ) const
inline

Get the "parent" global indexer (if getFieldBlocks()>1 this will be blocked, otherwise it may be either)

Definition at line 508 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ getFieldDOFManagers()

template<typename Traits , typename LocalOrdinalT >
const std::vector< Teuchos::RCP< const GlobalIndexer > > & panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::getFieldDOFManagers ( ) const
inline

Get DOFManagers associated with the blocks.

Definition at line 518 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

Member Data Documentation

◆ blockedDOFManager_

template<typename Traits , typename LocalOrdinalT >
Teuchos::RCP<const BlockedDOFManager> panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::blockedDOFManager_
private

Definition at line 522 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ gidProviders_

template<typename Traits , typename LocalOrdinalT >
std::vector<Teuchos::RCP<const GlobalIndexer> > panzer::BlockedEpetraLinearObjFactory< Traits, LocalOrdinalT >::DOFManagerContainer::gidProviders_
private

Definition at line 523 of file Panzer_BlockedEpetraLinearObjFactory.hpp.


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