Panzer  Version of the Day
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 UniqueGlobalIndexerBase > &ugi)
 
void setGlobalIndexer (const Teuchos::RCP< const UniqueGlobalIndexerBase > &ugi)
 
int getFieldBlocks () const
 Get the number of global indexers (not including the blocked one) contained. More...
 
bool containsBlockedDOFManager () const
 
Teuchos::RCP< const BlockedDOFManager< LocalOrdinalT, int > > getBlockedIndexer () const
 Get the "parent" global indexer (if containsBlockedDOFManager()==false this will throw) More...
 
Teuchos::RCP< const UniqueGlobalIndexerBasegetGlobalIndexer () const
 Get the "parent" global indexer (if getFieldBlocks()>1 this will be blocked, otherwise it may be either) More...
 
const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LocalOrdinalT, int > > > & getFieldDOFManagers () const
 Get DOFManagers associated with the blocks. More...
 

Private Attributes

Teuchos::RCP< const BlockedDOFManager< LocalOrdinalT, int > > blockedDOFManager_
 
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LocalOrdinalT, int > > > 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 UniqueGlobalIndexerBase > &  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 UniqueGlobalIndexerBase > &  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 UniqueGlobalIndexer<int,GO>.

Definition at line 497 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

◆ getBlockedIndexer()

template<typename Traits, typename LocalOrdinalT>
Teuchos::RCP<const BlockedDOFManager<LocalOrdinalT,int> > 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 UniqueGlobalIndexerBase> 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 UniqueGlobalIndexer<LocalOrdinalT,int> > >& 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<LocalOrdinalT,int> > 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 UniqueGlobalIndexer<LocalOrdinalT,int> > > 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: