Sierra Toolkit  Version of the Day
Rebalance.hpp
Go to the documentation of this file.
1 /*--------------------------------------------------------------------*/
2 /* Copyright 2010 Sandia Corporation. */
3 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
4 /* non-exclusive license for use of this work by or on behalf */
5 /* of the U.S. Government. Export of this program may require */
6 /* a license from the United States Government. */
7 /*--------------------------------------------------------------------*/
8 
9 // Copyright 2001,2002 Sandia Corporation, Albuquerque, NM.
10 
11 #ifndef stk_rebalance_Rebalance_hpp
12 #define stk_rebalance_Rebalance_hpp
13 
14 #include <string>
15 
16 #include <stk_mesh/base/Types.hpp>
17 #include <stk_mesh/base/Entity.hpp>
18 #include <stk_mesh/base/Field.hpp>
19 #include <stk_mesh/base/BulkData.hpp>
20 #include <stk_mesh/base/Selector.hpp>
21 
23 
35 namespace stk_classic {
36 namespace rebalance {
37 
61 bool rebalance(mesh::BulkData & bulk_data ,
62  const mesh::Selector & selector ,
63  const VectorField * coord_ref ,
64  const ScalarField * elem_weight_ref,
65  Partition & partition,
66  const stk_classic::mesh::EntityRank rank = stk_classic::mesh::InvalidEntityRank);
67 
70 }
71 } // namespace stk_classic
72 
73 #endif
bool rebalance(mesh::BulkData &bulk_data, const mesh::Selector &selector, const VectorField *coord_ref, const ScalarField *elem_weight_ref, Partition &partition, const stk_classic::mesh::EntityRank rank=stk_classic::mesh::InvalidEntityRank)
Rebalance with a Partition object.
Definition: Rebalance.cpp:164
Field with defined data type and multi-dimensions (if any)
Definition: Field.hpp:118
Sierra Toolkit.
For partitioning of mesh entities over a processing grid.