#include <Panzer_STKConnManager.hpp>
|
void | applyPeriodicBCs (const panzer::FieldPattern &fp, GlobalOrdinal nodeOffset, GlobalOrdinal edgeOffset, GlobalOrdinal faceOffset, GlobalOrdinal cellOffset) |
|
void | applyInterfaceConditions () |
|
void | buildLocalElementMapping () |
|
void | clearLocalElementMapping () |
|
void | buildOffsetsAndIdCounts (const panzer::FieldPattern &fp, LocalOrdinal &nodeIdCnt, LocalOrdinal &edgeIdCnt, LocalOrdinal &faceIdCnt, LocalOrdinal &cellIdCnt, GlobalOrdinal &nodeOffset, GlobalOrdinal &edgeOffset, GlobalOrdinal &faceOffset, GlobalOrdinal &cellOffset) const |
|
LocalOrdinal | addSubcellConnectivities (stk::mesh::Entity element, unsigned subcellRank, LocalOrdinal idCnt, GlobalOrdinal offset) |
|
void | modifySubcellConnectivities (const panzer::FieldPattern &fp, stk::mesh::Entity element, unsigned subcellRank, unsigned subcellId, GlobalOrdinal newId, GlobalOrdinal offset) |
|
Definition at line 62 of file Panzer_STKConnManager.hpp.
◆ LocalOrdinal
◆ GlobalOrdinal
◆ GlobalOrdinalView
◆ LocalOrdinalView
◆ STKConnManager()
panzer_stk::STKConnManager::STKConnManager |
( |
const Teuchos::RCP< const STK_Interface > & | stkMeshDB | ) |
|
◆ ~STKConnManager()
virtual panzer_stk::STKConnManager::~STKConnManager |
( |
| ) |
|
|
inlinevirtual |
◆ buildConnectivity()
Tell the connection manager to build the connectivity assuming a particular field pattern.
- Parameters
-
[in] | fp | Field pattern to build connectivity for |
Implements panzer::ConnManager.
Definition at line 245 of file Panzer_STKConnManager.cpp.
◆ noConnectivityClone()
Build a clone of this connection manager, without any assumptions about the required connectivity (e.g. buildConnectivity
has never been called).
Implements panzer::ConnManager.
Definition at line 84 of file Panzer_STKConnManager.cpp.
◆ getConnectivity() [1/2]
virtual const panzer::GlobalOrdinal * panzer_stk::STKConnManager::getConnectivity |
( |
LocalOrdinal | localElmtId | ) |
const |
|
inlinevirtual |
Get ID connectivity for a particular element
- Parameters
-
[in] | localElmtId | Local element ID |
- Returns
- Pointer to beginning of indices, with total size equal to
getConnectivitySize(localElmtId)
Implements panzer::ConnManager.
Definition at line 93 of file Panzer_STKConnManager.hpp.
◆ getConnectivity() [2/2]
virtual panzer::GlobalOrdinal * panzer_stk::STKConnManager::getConnectivity |
( |
LocalOrdinal | localElmtId | ) |
|
|
inlinevirtual |
Get ID connectivity for a particular element
- Parameters
-
[in] | localElmtId | Local element ID |
- Returns
- Pointer to beginning of indices, with total size equal to
getConnectivitySize(localElmtId)
Definition at line 103 of file Panzer_STKConnManager.hpp.
◆ getConnectivitySize()
How many mesh IDs are associated with this element?
- Parameters
-
[in] | localElmtId | Local element ID |
- Returns
- Number of mesh IDs that are associated with this element.
Implements panzer::ConnManager.
Definition at line 112 of file Panzer_STKConnManager.hpp.
◆ getConnectivityView()
◆ getConnectivitySizeView()
◆ getElementLidToConnView()
◆ getBlockId()
◆ numElementBlocks()
virtual std::size_t panzer_stk::STKConnManager::numElementBlocks |
( |
| ) |
const |
|
inlinevirtual |
◆ getElementBlockIds()
virtual void panzer_stk::STKConnManager::getElementBlockIds |
( |
std::vector< std::string > & | elementBlockIds | ) |
const |
|
inlinevirtual |
◆ getElementBlockTopologies()
virtual void panzer_stk::STKConnManager::getElementBlockTopologies |
( |
std::vector< shards::CellTopology > & | elementBlockTopologies | ) |
const |
|
inlinevirtual |
◆ getElementBlock()
virtual const std::vector< LocalOrdinal > & panzer_stk::STKConnManager::getElementBlock |
( |
const std::string & | blockId | ) |
const |
|
inlinevirtual |
Get the local element IDs for a paricular element block. These are only the owned element ids.
- Parameters
-
[in] | blockIndex | Block Index |
- Returns
- Vector of local element IDs.
Implements panzer::ConnManager.
Definition at line 156 of file Panzer_STKConnManager.hpp.
◆ getNeighborElementBlock()
virtual const std::vector< LocalOrdinal > & panzer_stk::STKConnManager::getNeighborElementBlock |
( |
const std::string & | blockId | ) |
const |
|
inlinevirtual |
Get the local element IDs for a paricular element block. These element ids are not owned, and the element will live on another processor.
- Parameters
-
[in] | blockIndex | Block Index |
- Returns
- Vector of local element IDs.
Implements panzer::ConnManager.
Definition at line 167 of file Panzer_STKConnManager.hpp.
◆ getDofCoords()
void panzer_stk::STKConnManager::getDofCoords |
( |
const std::string & | blockId, |
|
|
const panzer::Intrepid2FieldPattern & | coordProvider, |
|
|
std::vector< std::size_t > & | localCellIds, |
|
|
Kokkos::DynRankView< double, PHX::Device > & | points ) const |
|
virtual |
Get the coordinates (with local cell ids) for a specified element block and field pattern.
- Parameters
-
[in] | blockId | Block containing the cells |
[in] | coordProvider | Field pattern that builds the coordinates |
[out] | localCellIds | Local cell Ids (indices) |
[out] | Resizable | field container that contains the coordinates of the points on exit. |
Get the coordinates for a specified element block and field pattern.
Definition at line 369 of file Panzer_STKConnManager.cpp.
◆ getSTKInterface()
Teuchos::RCP< const STK_Interface > panzer_stk::STKConnManager::getSTKInterface |
( |
| ) |
const |
|
inline |
◆ getOwnedElementCount()
std::size_t panzer_stk::STKConnManager::getOwnedElementCount |
( |
| ) |
const |
|
inline |
How many elements are owned by this processor. Further, the ordering of the local ids is suct that the first getOwnedElementCount()
elements are owned by this processor. This is true only because of the local element ids generated by the STK_Interface
object.
Definition at line 195 of file Panzer_STKConnManager.hpp.
◆ associateElementsInSideset()
void panzer_stk::STKConnManager::associateElementsInSideset |
( |
const std::string | sideset_id | ) |
|
Before calling buildConnectivity, provide sideset IDs from which to extract associated elements.
Definition at line 391 of file Panzer_STKConnManager.cpp.
◆ checkAssociateElementsInSidesets()
std::vector< std::string > panzer_stk::STKConnManager::checkAssociateElementsInSidesets |
( |
const Teuchos::Comm< int > & | comm | ) |
const |
After calling buildConnectivity
, optionally check which sidesets yielded no element associations in this communicator. This is a parallel operation. In many applications, the outcome indicating correctness is that the returned vector is empty.
Definition at line 433 of file Panzer_STKConnManager.cpp.
◆ getAssociatedNeighbors()
◆ hasAssociatedNeighbors()
bool panzer_stk::STKConnManager::hasAssociatedNeighbors |
( |
| ) |
const |
|
virtual |
◆ applyPeriodicBCs()
Apply periodic boundary conditions associated with the mesh object.
- Note
- This function requires global All-2-All communication IFF periodic boundary conditions are required.
Definition at line 314 of file Panzer_STKConnManager.cpp.
◆ applyInterfaceConditions()
void panzer_stk::STKConnManager::applyInterfaceConditions |
( |
| ) |
|
|
protected |
◆ buildLocalElementMapping()
void panzer_stk::STKConnManager::buildLocalElementMapping |
( |
| ) |
|
|
protected |
◆ clearLocalElementMapping()
void panzer_stk::STKConnManager::clearLocalElementMapping |
( |
| ) |
|
|
protected |
◆ buildOffsetsAndIdCounts()
◆ addSubcellConnectivities()
◆ modifySubcellConnectivities()
◆ stkMeshDB_
Teuchos::RCP<const STK_Interface> panzer_stk::STKConnManager::stkMeshDB_ |
|
protected |
◆ elements_
Teuchos::RCP<std::vector<stk::mesh::Entity> > panzer_stk::STKConnManager::elements_ |
|
protected |
◆ elementBlocks_
std::map<std::string,Teuchos::RCP<std::vector<LocalOrdinal> > > panzer_stk::STKConnManager::elementBlocks_ |
|
protected |
◆ neighborElementBlocks_
std::map<std::string,Teuchos::RCP<std::vector<LocalOrdinal> > > panzer_stk::STKConnManager::neighborElementBlocks_ |
|
protected |
◆ blockIdToIndex_
std::map<std::string,GlobalOrdinal> panzer_stk::STKConnManager::blockIdToIndex_ |
|
protected |
◆ elmtLidToConn_
std::vector<LocalOrdinal> panzer_stk::STKConnManager::elmtLidToConn_ |
|
protected |
◆ connSize_
std::vector<LocalOrdinal> panzer_stk::STKConnManager::connSize_ |
|
protected |
◆ connectivity_
std::vector<GlobalOrdinal> panzer_stk::STKConnManager::connectivity_ |
|
protected |
◆ ownedElementCount_
std::size_t panzer_stk::STKConnManager::ownedElementCount_ |
|
protected |
◆ sidesetsToAssociate_
std::vector<std::string> panzer_stk::STKConnManager::sidesetsToAssociate_ |
|
protected |
◆ sidesetYieldedAssociations_
std::vector<bool> panzer_stk::STKConnManager::sidesetYieldedAssociations_ |
|
protected |
◆ elmtToAssociatedElmts_
std::vector<std::vector<LocalOrdinal> > panzer_stk::STKConnManager::elmtToAssociatedElmts_ |
|
protected |
The documentation for this class was generated from the following files: