Sierra Toolkit
Version of the Day
|
#include <RingFixture.hpp>
Public Member Functions | |
RingFixture (stk_classic::ParallelMachine pm, unsigned num_edge_per_proc=10, bool use_edge_parts=false) | |
void | generate_mesh () |
void | fixup_node_ownership () |
Public Attributes | |
const int | m_spatial_dimension |
fem::FEMMetaData | m_meta_data |
BulkData | m_bulk_data |
PartVector | m_edge_parts |
Part & | m_edge_part_extra |
const size_t | m_num_edge_per_proc |
std::vector< EntityId > | m_node_ids |
std::vector< EntityId > | m_edge_ids |
Creates a ring mesh (circular loop of edges and nodes). Note that we create a part for each locally owned edge.
Definition at line 37 of file RingFixture.hpp.
stk_classic::mesh::fixtures::RingFixture::RingFixture | ( | stk_classic::ParallelMachine | pm, |
unsigned | num_edge_per_proc = 10 , |
||
bool | use_edge_parts = false |
||
) |
Creates a ring mesh (circular loop of edges and nodes). Note that we create a part for each locally owned edge. Also note that, since we are in 1D, the "edges" are actually elements.
Definition at line 35 of file RingFixture.cpp.
void stk_classic::mesh::fixtures::RingFixture::generate_mesh | ( | ) |
Generate a simple loop of mesh entities: node[i] : edge[i] : node[ ( i + 1 ) % node.size() ]
Definition at line 57 of file RingFixture.cpp.
void stk_classic::mesh::fixtures::RingFixture::fixup_node_ownership | ( | ) |
Make sure that edge->owner_rank() == edge->node[1]->owner_rank()
Definition at line 97 of file RingFixture.cpp.