Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
bool containsBlockedDOFManager () const
 
Teuchos::RCP< const
BlockedDOFManager
getBlockedIndexer () const
 Get the "parent" global indexer (if containsBlockedDOFManager()==false this will throw) More...
 
Teuchos::RCP< const GlobalIndexergetGlobalIndexer () 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
GlobalIndexer > > & 
getFieldDOFManagers () const
 Get DOFManagers associated with the blocks. More...
 

Private Attributes

Teuchos::RCP< const
BlockedDOFManager
blockedDOFManager_
 
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 422 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

Constructor & Destructor Documentation

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

Definition at line 424 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

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

Definition at line 425 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

Member Function Documentation

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

Definition at line 428 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

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 458 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

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 465 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

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 469 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

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 476 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

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 486 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

Member Data Documentation

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

Definition at line 490 of file Panzer_BlockedEpetraLinearObjFactory.hpp.

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

Definition at line 491 of file Panzer_BlockedEpetraLinearObjFactory.hpp.


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