stk::unit_test::UnitTestMesh Class Reference

List of all members.

Detailed Description

Definition at line 29 of file UnitTestMesh.hpp.

Public Types

 MAX_RANK = 3
enum  { MAX_RANK = 3 }

Public Member Functions

 UnitTestMesh (stk::ParallelMachine pm=MPI_COMM_WORLD, unsigned block_size=1000)
 ~UnitTestMesh ()
const stk::mesh::BulkDatabulk_data () const
stk::mesh::BulkDatanonconst_bulk_data ()
unsigned comm_size () const
unsigned comm_rank () const
void generate_boxes (bool aura=false)
stk::mesh::Entityget_new_entity (stk::mesh::EntityType rank, stk::mesh::EntityId parallel_dependent_id)
const stk::mesh::MetaDatameta_data () const
stk::mesh::Partget_test_part ()
stk::mesh::Partget_cell_part ()
stk::mesh::Partget_part_a_0 ()
stk::mesh::Partget_part_a_1 ()
stk::mesh::Partget_part_a_2 ()
stk::mesh::Partget_part_a_3 ()
stk::mesh::Partget_part_a_superset ()
stk::mesh::Partget_part_b_0 ()
stk::mesh::Partget_part_b_1 ()
stk::mesh::Partget_part_b_2 ()
stk::mesh::Partget_part_b_3 ()
stk::mesh::Partget_part_b_superset ()

Protected Member Functions

void priv_generate_boxes (stk::mesh::BulkData &mesh, const bool generate_aura, const int root_box[][2], int local_box[][2])
 Generate a box mesh which is globally ( ngx X ngy X ngz ) elements where: ngx = root_box[0][1] - root_box[0][0] ; ngy = root_box[1][1] - root_box[1][0] ; ngz = root_box[2][1] - root_box[2][0] ;.
void enter_modification ()
void exit_modification ()

Protected Attributes

stk::mesh::MetaData m_meta_data
stk::mesh::BulkData m_bulk_data
stk::mesh::Partm_test_part
stk::mesh::Partm_cell_part
stk::mesh::Partm_part_A_0
stk::mesh::Partm_part_A_1
stk::mesh::Partm_part_A_2
stk::mesh::Partm_part_A_3
stk::mesh::Partm_part_A_superset
stk::mesh::Partm_part_B_0
stk::mesh::Partm_part_B_1
stk::mesh::Partm_part_B_2
stk::mesh::Partm_part_B_3
stk::mesh::Partm_part_B_superset
unsigned m_comm_rank
unsigned m_comm_size
stk::mesh::BulkData::BulkDataSyncState m_previous_state


Member Function Documentation

void stk::unit_test::UnitTestMesh::priv_generate_boxes ( stk::mesh::BulkData mesh,
const bool  generate_aura,
const int  root_box[][2],
int  local_box[][2] 
) [protected]

Generate a box mesh which is globally ( ngx X ngy X ngz ) elements where: ngx = root_box[0][1] - root_box[0][0] ; ngy = root_box[1][1] - root_box[1][0] ; ngz = root_box[2][1] - root_box[2][0] ;.

The box is partitioned via recursive coordinate bisection and the resulting local box are given in 'local_box'.

Definition at line 140 of file UnitTestMesh.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:27:33 2010 for Sierra Toolkit by  doxygen 1.4.7