Sierra Toolkit  Version of the Day
Partition.cpp
1 /*--------------------------------------------------------------------*/
2 /* Copyright 2001, 2002 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 #include <stdexcept>
12 
14 
15 using namespace stk_classic;
16 namespace stk_classic {
17  using namespace rebalance;
18 }
19 
20 Partition::Partition(ParallelMachine comm) : comm_(comm) { }
22 
23 
24 
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
Partition(stk_classic::ParallelMachine comm)
Constructors.
Definition: Partition.cpp:20
Sierra Toolkit.
MPI_Comm ParallelMachine
Definition: Parallel.hpp:32
For partitioning of mesh entities over a processing grid.
virtual ~Partition()
Destructor.
Definition: Partition.cpp:21