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::ConnManagerBase< typename > Class Template Referenceabstract

#include <Panzer_STK_ModelEvaluatorFactory.hpp>

Inheritance diagram for panzer::ConnManagerBase< typename >:
Inheritance graph
[legend]

Public Types

typedef LocalOrdinalT LocalOrdinal
 

Public Member Functions

virtual ~ConnManagerBase ()
 
virtual void buildConnectivity (const FieldPattern &fp)=0
 
virtual Teuchos::RCP
< ConnManagerBase
< LocalOrdinalT > > 
noConnectivityClone () 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 void getElementBlockTopologies (std::vector< shards::CellTopology > &elementBlockTopologies) 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
 
virtual const std::vector
< LocalOrdinal > & 
getAssociatedNeighbors (const LocalOrdinal &el) const =0
 
virtual bool hasAssociatedNeighbors () const =0
 

Detailed Description

template<typename>
class panzer::ConnManagerBase< typename >

Pure abstract base class templated on the local ordinal types. This is used as a convenient abstraction over the different global ordinal types.

Definition at line 93 of file Panzer_STK_ModelEvaluatorFactory.hpp.

Member Typedef Documentation

template<typename >
typedef LocalOrdinalT panzer::ConnManagerBase< typename >::LocalOrdinal

Definition at line 62 of file Panzer_ConnManager.hpp.

Constructor & Destructor Documentation

template<typename >
virtual panzer::ConnManagerBase< typename >::~ConnManagerBase ( )
inlinevirtual

Definition at line 64 of file Panzer_ConnManager.hpp.

Member Function Documentation

template<typename >
virtual void panzer::ConnManagerBase< typename >::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

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

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

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

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

template<typename >
virtual LocalOrdinal panzer::ConnManagerBase< typename >::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.

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

template<typename >
virtual std::string panzer::ConnManagerBase< typename >::getBlockId ( LocalOrdinal  localElmtId) const
pure virtual

Get the block ID for a particular element.

Parameters
[in]localElmtIdLocal element ID

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

template<typename >
virtual std::size_t panzer::ConnManagerBase< typename >::numElementBlocks ( ) const
pure virtual

How many element blocks in this mesh?

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

template<typename >
virtual void panzer::ConnManagerBase< typename >::getElementBlockIds ( std::vector< std::string > &  elementBlockIds) const
pure virtual

What are the blockIds included in this connection manager?

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

template<typename >
virtual void panzer::ConnManagerBase< typename >::getElementBlockTopologies ( std::vector< shards::CellTopology > &  elementBlockTopologies) const
pure virtual

What are the cellTopologies linked to element blocks in this connection manager?

Implemented in panzer_stk::STKConnManager< GO >.

template<typename >
virtual const std::vector<LocalOrdinal>& panzer::ConnManagerBase< typename >::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.

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

template<typename >
virtual const std::vector<LocalOrdinal>& panzer::ConnManagerBase< typename >::getNeighborElementBlock ( const std::string &  blockID) const
pure virtual

Get the local element IDs for all "neighbor" elements that reside in a paricular 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.

Implemented in panzer::ConnManager< LO, GO >, panzer::ConnManager< int, GO >, and panzer_stk::STKConnManager< GO >.

template<typename >
virtual const std::vector<LocalOrdinal>& panzer::ConnManagerBase< typename >::getAssociatedNeighbors ( const LocalOrdinal el) const
pure virtual

Get elements, if any, associated with el, excluding el itself.

Implemented in panzer_stk::STKConnManager< GO >.

template<typename >
virtual bool panzer::ConnManagerBase< typename >::hasAssociatedNeighbors ( ) const
pure virtual

Return whether getAssociatedNeighbors will return true for at least one input.

Implemented in panzer_stk::STKConnManager< GO >.


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