43 #ifndef __Panzer_ConnManager_hpp__
44 #define __Panzer_ConnManager_hpp__
50 #include "Shards_CellTopology.hpp"
59 template <
typename LocalOrdinalT>
60 class ConnManagerBase {
112 virtual const std::vector<LocalOrdinal> &
getElementBlock(
const std::string & blockID)
const = 0;
139 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
140 class ConnManager :
public ConnManagerBase<LocalOrdinalT> {
189 virtual void getElementBlockIds(std::vector<std::string> & elementBlockIds)
const = 0;
198 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 std::string getBlockId(LocalOrdinal localElmtId) const =0
virtual Teuchos::RCP< ConnManagerBase< LocalOrdinalT > > noConnectivityClone() const =0
GlobalOrdinalT GlobalOrdinal
virtual void buildConnectivity(const FieldPattern &fp)=0
virtual void getElementBlockIds(std::vector< std::string > &elementBlockIds) const =0
virtual std::string getBlockId(LocalOrdinal localElmtId) const =0
virtual bool hasAssociatedNeighbors() const =0
LocalOrdinalT LocalOrdinal
LocalOrdinalT LocalOrdinal
virtual void getElementBlockTopologies(std::vector< shards::CellTopology > &elementBlockTopologies) const =0
virtual LocalOrdinal getConnectivitySize(LocalOrdinal localElmtId) const =0
virtual std::size_t numElementBlocks() const =0
virtual const GlobalOrdinal * getConnectivity(LocalOrdinal localElmtId) const =0
virtual void getElementBlockIds(std::vector< std::string > &elementBlockIds) const =0
virtual Teuchos::RCP< ConnManagerBase< LocalOrdinalT > > noConnectivityClone() const =0
virtual std::size_t numElementBlocks() const =0
virtual const std::vector< LocalOrdinal > & getElementBlock(const std::string &blockID) const =0
virtual const std::vector< LocalOrdinal > & getAssociatedNeighbors(const LocalOrdinal &el) const =0
virtual const std::vector< LocalOrdinal > & getElementBlock(const std::string &blockID) const =0
virtual void buildConnectivity(const FieldPattern &fp)=0
virtual ~ConnManagerBase()
virtual const std::vector< LocalOrdinal > & getNeighborElementBlock(const std::string &blockID) const =0
virtual LocalOrdinal getConnectivitySize(LocalOrdinal localElmtId) const =0