Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
panzer::ConnManager< LO, GO > Class Template Referenceabstract

#include <Panzer_L2Projection.hpp>

Inheritance diagram for panzer::ConnManager< LO, GO >:
Inheritance graph
[legend]

Public Types

typedef GlobalOrdinalT GlobalOrdinal
 
typedef LocalOrdinalT LocalOrdinal
 
- Public Types inherited from panzer::ConnManagerBase< LocalOrdinalT >
typedef LocalOrdinalT LocalOrdinal
 

Public Member Functions

virtual ~ConnManager ()
 
virtual void buildConnectivity (const FieldPattern &fp)=0
 
virtual Teuchos::RCP
< ConnManagerBase
< LocalOrdinalT > > 
noConnectivityClone () const =0
 
virtual const GlobalOrdinalgetConnectivity (LocalOrdinal localElmtId) const =0
 
virtual LocalOrdinal getConnectivitySize (LocalOrdinal localElmtId) const =0
 
virtual std::string getBlockId (LocalOrdinal localElmtId) const =0
 
virtual std::size_t numElementBlocks () const =0
 
virtual void getElementBlockIds (std::vector< std::string > &elementBlockIds) const =0
 
virtual const std::vector
< LocalOrdinal > & 
getElementBlock (const std::string &blockID) const =0
 
virtual const std::vector
< LocalOrdinal > & 
getNeighborElementBlock (const std::string &blockID) const =0
 
- Public Member Functions inherited from panzer::ConnManagerBase< LocalOrdinalT >
virtual ~ConnManagerBase ()
 
virtual void getElementBlockTopologies (std::vector< shards::CellTopology > &elementBlockTopologies) const =0
 
virtual const std::vector
< LocalOrdinal > & 
getAssociatedNeighbors (const LocalOrdinal &el) const =0
 
virtual bool hasAssociatedNeighbors () const =0
 

Detailed Description

template<typename LO, typename GO>
class panzer::ConnManager< LO, GO >

Pure abstract base class templated on the global and local ordinal types. It is assumed that element blocks are number by a GlobalOrdinal and local element IDs use the LocalOrdinal.

Definition at line 26 of file Panzer_L2Projection.hpp.

Member Typedef Documentation

template<typename LO, typename GO>
typedef GlobalOrdinalT panzer::ConnManager< LO, GO >::GlobalOrdinal

Definition at line 142 of file Panzer_ConnManager.hpp.

template<typename LO, typename GO>
typedef LocalOrdinalT panzer::ConnManager< LO, GO >::LocalOrdinal

Definition at line 143 of file Panzer_ConnManager.hpp.

Constructor & Destructor Documentation

template<typename LO, typename GO>
virtual panzer::ConnManager< LO, GO >::~ConnManager ( )
inlinevirtual

Definition at line 145 of file Panzer_ConnManager.hpp.

Member Function Documentation

template<typename LO, typename GO>
virtual void panzer::ConnManager< LO, GO >::buildConnectivity ( const FieldPattern fp)
pure virtual

Tell the connection manager to build the connectivity assuming a particular field pattern.

Parameters
[in]fpField pattern to build connectivity for

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual Teuchos::RCP<ConnManagerBase<LocalOrdinalT> > panzer::ConnManager< LO, GO >::noConnectivityClone ( ) const
pure virtual

Build a clone of this connection manager, without any assumptions about the required connectivity (e.g. buildConnectivity has never been called).

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual const GlobalOrdinal* panzer::ConnManager< LO, GO >::getConnectivity ( LocalOrdinal  localElmtId) const
pure virtual

Get ID connectivity for a particular element

Parameters
[in]localElmtIdLocal element ID
Returns
Pointer to beginning of indices, with total size equal to getConnectivitySize(localElmtId)

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual LocalOrdinal panzer::ConnManager< LO, GO >::getConnectivitySize ( LocalOrdinal  localElmtId) const
pure virtual

How many mesh IDs are associated with this element?

Parameters
[in]localElmtIdLocal element ID
Returns
Number of mesh IDs that are associated with this element.

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual std::string panzer::ConnManager< LO, GO >::getBlockId ( LocalOrdinal  localElmtId) const
pure virtual

Get the block ID for a particular element.

Parameters
[in]localElmtIdLocal element ID

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual std::size_t panzer::ConnManager< LO, GO >::numElementBlocks ( ) const
pure virtual

How many element blocks in this mesh?

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual void panzer::ConnManager< LO, GO >::getElementBlockIds ( std::vector< std::string > &  elementBlockIds) const
pure virtual

What are the blockIds included in this connection manager?

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual const std::vector<LocalOrdinal>& panzer::ConnManager< LO, GO >::getElementBlock ( const std::string &  blockID) const
pure virtual

Get the local element IDs for a paricular element block.

Parameters
[in]blockIDBlock ID
Returns
Vector of local element IDs.

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename LO, typename GO>
virtual const std::vector<LocalOrdinal>& panzer::ConnManager< LO, GO >::getNeighborElementBlock ( const std::string &  blockID) const
pure virtual

Get the local element IDs for all "neighbor" elements that reside in a particular element block (An element is a neighbor if it is in the one ring of owned elements).

Parameters
[in]blockIDBlock ID
Returns
Vector of local element IDs.

Implements panzer::ConnManagerBase< LocalOrdinalT >.

Implemented in panzer_stk::STKConnManager< GO >.


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