DataTransferKit - Multiphysics Solution Transfer Services  2.0
Static Public Member Functions | List of all members
DataTransferKit::STKMeshHelpers Class Reference

A stateless class of helpers for STK mesh. More...

#include <DTK_STKMeshHelpers.hpp>

Static Public Member Functions

static const stk::mesh::Entity & extractEntity (const Entity dtk_entity)
 Given a DTK entity, extract the STK entity. More...
 
static stk::mesh::EntityRank getRankFromTopologicalDimension (const int topo_dim, const int space_dim)
 Given a topological dimension, get the STK entity rank. More...
 
static int getTopologicalDimensionFromRank (const stk::mesh::EntityRank stk_rank, const int space_dim)
 Given a STK entity rank, get the topological dimension. More...
 
static stk::mesh::EntityKey getKeyFromEntity (const Entity dtk_entity)
 Given a DTK entity, return the corresponding STK entity key. More...
 
static shards::CellTopology getShardsTopology (const stk::mesh::Entity stk_entity, const stk::mesh::BulkData &bulk_data)
 Given a STK entity, return its shards topology. More...
 
static Intrepid::FieldContainer< double > getEntityNodeCoordinates (const Teuchos::Array< stk::mesh::Entity > &stk_entities, const stk::mesh::BulkData &bulk_data)
 Given a STK entity, return the coordinates of its nodes in a field container ordered by canonical node order (C,N,D). More...
 

Detailed Description

A stateless class of helpers for STK mesh.

Definition at line 68 of file DTK_STKMeshHelpers.hpp.

Member Function Documentation

const stk::mesh::Entity & DataTransferKit::STKMeshHelpers::extractEntity ( const Entity  dtk_entity)
static

Given a DTK entity, extract the STK entity.

Definition at line 56 of file DTK_STKMeshHelpers.cpp.

stk::mesh::EntityRank DataTransferKit::STKMeshHelpers::getRankFromTopologicalDimension ( const int  topo_dim,
const int  space_dim 
)
static

Given a topological dimension, get the STK entity rank.

Definition at line 66 of file DTK_STKMeshHelpers.cpp.

int DataTransferKit::STKMeshHelpers::getTopologicalDimensionFromRank ( const stk::mesh::EntityRank  stk_rank,
const int  space_dim 
)
static

Given a STK entity rank, get the topological dimension.

Definition at line 122 of file DTK_STKMeshHelpers.cpp.

stk::mesh::EntityKey DataTransferKit::STKMeshHelpers::getKeyFromEntity ( const Entity  dtk_entity)
static

Given a DTK entity, return the corresponding STK entity key.

Definition at line 183 of file DTK_STKMeshHelpers.cpp.

shards::CellTopology DataTransferKit::STKMeshHelpers::getShardsTopology ( const stk::mesh::Entity  stk_entity,
const stk::mesh::BulkData &  bulk_data 
)
static

Given a STK entity, return its shards topology.

Definition at line 194 of file DTK_STKMeshHelpers.cpp.

Intrepid::FieldContainer< double > DataTransferKit::STKMeshHelpers::getEntityNodeCoordinates ( const Teuchos::Array< stk::mesh::Entity > &  stk_entities,
const stk::mesh::BulkData &  bulk_data 
)
static

Given a STK entity, return the coordinates of its nodes in a field container ordered by canonical node order (C,N,D).

Definition at line 204 of file DTK_STKMeshHelpers.cpp.


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