stk::mesh::UnitTestBucket Class Reference

List of all members.

Detailed Description

Definition at line 19 of file UnitTestBucket.hpp.

Static Public Member Functions

static void testBucket (ParallelMachine)
static void generate_loop (BulkData &mesh, const PartVector &edge_parts, const bool generate_aura, const unsigned nPerProc, std::vector< EntityId > &node_ids, std::vector< EntityId > &edge_ids)
 Generate simple edge-loop mesh with 'nPerProc' edges on each processor.
static void generate_boxes (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] ;.


Member Function Documentation

void stk::mesh::UnitTestBucket::generate_loop ( BulkData mesh,
const PartVector edge_parts,
const bool  generate_aura,
const unsigned  nPerProc,
std::vector< EntityId > &  node_ids,
std::vector< EntityId > &  edge_ids 
) [static]

Generate simple edge-loop mesh with 'nPerProc' edges on each processor.

Fill the 'node_ids' and 'edge_ids' with all node and edge ids. However, each process will only have a connected arc of the loop.

edge_ids[ nPerProc * p_rank .. nPerProc * ( p_rank + 1 ) - 1 ]

Definition at line 132 of file UnitTestBucket.cpp.

void stk::mesh::UnitTestBucket::generate_boxes ( BulkData mesh,
const bool  generate_aura,
const int  root_box[][2],
int  local_box[][2] 
) [static]

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 320 of file UnitTestBucket.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