Bulk Data Finite Element Entities
[Sierra Toolkit Mesh]


Detailed Description

Create entities with common used finite element topologies.


Functions

void stk::mesh::set_cell_topology (Part &, const CellTopologyData *singleton)
 Attach a CellTopology to a Part.
template<class Traits>
void stk::mesh::set_cell_topology (Part &p)
 Attach a CellTopology to a Part.
const CellTopologyData * stk::mesh::get_cell_topology (const Part &)
 The the CellTopology attached to the Part, if any.
const CellTopologyData * stk::mesh::get_cell_topology (const Bucket &)
 The the CellTopology attached to at most one Part of the Bucket.
const CellTopologyData * stk::mesh::get_cell_topology (const Entity &)
 The the CellTopology attached to at most one Part of the Entity.
template<class Traits>
void stk::mesh::get_parts_with_topology (stk::mesh::BulkData &mesh, stk::mesh::PartVector &parts)
template<typename IdType>
Entity & stk::mesh::declare_element (BulkData &mesh, Part &part, const IdType elem_id, const IdType node_id[])
 Declare an element member of a Part with a CellTopology and nodes conformal to that topology.
template<typename IdType>
Entity & stk::mesh::declare_element (BulkData &mesh, Part &part, const IdType elem_id, Entity *node[])
 Declare an element member of a Part with a CellTopology and nodes conformal to that topology.
Entity & stk::mesh::declare_element_side (BulkData &mesh, const stk::mesh::EntityId global_side_id, Entity &elem, const unsigned local_side_id, Part *part=NULL)
 Create (or find) an element side.
bool stk::mesh::element_side_polarity (const Entity &elem, const Entity &side, int local_side_id=-1)
 Determine the polarity of the local side, more efficient if the local_side_id is known.
int stk::mesh::element_local_side_id (const Entity &elem, const Entity &side)
 Determine the local side identifier, return -1 if the side doesn't match the element.
void stk::mesh::get_adjacent_entities (const Entity &entity, unsigned subcell_rank, unsigned subcell_identifier, std::vector< std::pair< Entity *, unsigned > > &adjacent_entities)
 Get the entities adjacent to the input entity.
int stk::mesh::element_local_side_id (const Entity &elem, const std::vector< Entity * > &entity_nodes)
 Given an element and collection of nodes, return the local id of any side that contains those nodes.


Function Documentation

void stk::mesh::set_cell_topology ( Part &  ,
const CellTopologyData *  singleton 
)

Attach a CellTopology to a Part.

There is at most one cell topology allowed.

Definition at line 35 of file TopologyHelpers.cpp.

template<class Traits>
void stk::mesh::set_cell_topology ( Part &  p  ) 

Attach a CellTopology to a Part.

There is at most one element topology allowed.

Definition at line 40 of file TopologyHelpers.hpp.

Entity & stk::mesh::declare_element_side ( BulkData &  mesh,
const stk::mesh::EntityId  global_side_id,
Entity &  elem,
const unsigned  local_side_id,
Part *  part = NULL 
)

Create (or find) an element side.

The element must be a member of a Part with a CellTopology.

Definition at line 104 of file TopologyHelpers.cpp.

void stk::mesh::get_adjacent_entities ( const Entity &  entity,
unsigned  subcell_rank,
unsigned  subcell_identifier,
std::vector< std::pair< Entity *, unsigned > > &  adjacent_entities 
)

Get the entities adjacent to the input entity.

The adjacent entities are of the same rank as the input entity. Adjacency is defined by the input entity sharing a common sub-cell with the adjacent entities.

subcell_rank defines the rank of the (potentially) common subcell subcell_identifier defined the local id of the common subcell adjacent_entities is an output parameter that contains pairs that have the adjacent entity and the local id of the common subcell with respect to the adjacent entity.

Definition at line 217 of file TopologyHelpers.cpp.


Generated on Tue Jul 13 09:27:32 2010 for Sierra Toolkit by  doxygen 1.4.7