|
Sierra Toolkit
Version of the Day
|
#include <BoxFixture.hpp>

Public Types | |
| typedef int | BOX [3][2] |
Public Member Functions | |
| BoxFixture (stk_classic::ParallelMachine pm=MPI_COMM_WORLD, unsigned block_size=1000, const std::vector< std::string > &entity_names=stk_classic::mesh::fem::entity_rank_names(spatial_dimension)) | |
| fem::FEMMetaData & | fem_meta () |
| BulkData & | bulk_data () |
| unsigned | comm_size () const |
| unsigned | comm_rank () const |
| void | generate_boxes (const BOX root_box, BOX local_box) |
| Entity & | get_new_entity (EntityRank rank, EntityId parallel_dependent_id) |
Static Protected Member Functions | |
| static void | box_partition (int ip, int up, int axis, const BOX box, BOX p_box[]) |
Protected Attributes | |
| fem::FEMMetaData | m_fem_meta |
| BulkData | m_bulk_data |
| unsigned | m_comm_rank |
| unsigned | m_comm_size |
| BulkData::BulkDataSyncState | m_previous_state |
A fixture that creates a "box" mesh of hexes
Definition at line 26 of file BoxFixture.hpp.
| void stk_classic::mesh::fixtures::BoxFixture::generate_boxes | ( | const BOX | root_box, |
| BOX | local_box | ||
| ) |
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 44 of file BoxFixture.cpp.
| void stk_classic::mesh::fixtures::BoxFixture::box_partition | ( | int | ip, |
| int | up, | ||
| int | axis, | ||
| const BOX | box, | ||
| BOX | p_box[] | ||
| ) | [static, protected] |
Recursively split a box into ( up - ip ) sub-boxes
Definition at line 108 of file BoxFixture.cpp.