9 #ifndef Stk_Mesh_Fixtures_BoxFixture_hpp 10 #define Stk_Mesh_Fixtures_BoxFixture_hpp 12 #include <stk_mesh/base/Types.hpp> 13 #include <stk_mesh/base/MetaData.hpp> 14 #include <stk_mesh/base/BulkData.hpp> 16 #include <stk_mesh/fem/FEMMetaData.hpp> 22 static const size_t spatial_dimension = 3;
29 unsigned block_size = 1000,
30 const std::vector<std::string>& entity_names = stk_classic::mesh::fem::entity_rank_names(spatial_dimension));
35 BulkData & bulk_data () {
return m_bulk_data; }
37 unsigned comm_size()
const {
return m_comm_size; }
38 unsigned comm_rank()
const {
return m_comm_rank; }
40 typedef int BOX[3][2];
55 Entity &get_new_entity ( EntityRank rank , EntityId parallel_dependent_id );
64 BulkData::BulkDataSyncState m_previous_state;
void generate_boxes(const BOX root_box, BOX local_box)
Manager for an integrated collection of entities, entity relations, and buckets of field data...
A fundamental unit within the discretization of a problem domain, including but not limited to nodes...
static void box_partition(int ip, int up, int axis, const BOX box, BOX p_box[])