|
Sierra Toolkit
Version of the Day
|
00001 /*--------------------------------------------------------------------*/ 00002 /* Copyright 2010 Sandia Corporation. */ 00003 /* Under the terms of Contract DE-AC04-94AL85000, there is a */ 00004 /* non-exclusive license for use of this work by or on behalf */ 00005 /* of the U.S. Government. Export of this program may require */ 00006 /* a license from the United States Government. */ 00007 /*--------------------------------------------------------------------*/ 00008 00009 // Copyright 2001,2002 Sandia Corporation, Albuquerque, NM. 00010 00011 #ifndef stk_rebalance_Rebalance_hpp 00012 #define stk_rebalance_Rebalance_hpp 00013 00014 #include <string> 00015 00016 #include <stk_mesh/base/Types.hpp> 00017 #include <stk_mesh/base/Entity.hpp> 00018 #include <stk_mesh/base/Field.hpp> 00019 #include <stk_mesh/base/BulkData.hpp> 00020 #include <stk_mesh/base/Selector.hpp> 00021 00022 #include <stk_rebalance/Partition.hpp> 00023 00035 namespace stk_classic { 00036 namespace rebalance { 00037 00061 bool rebalance(mesh::BulkData & bulk_data , 00062 const mesh::Selector & selector , 00063 const VectorField * coord_ref , 00064 const ScalarField * elem_weight_ref, 00065 Partition & partition, 00066 const stk_classic::mesh::EntityRank rank = stk_classic::mesh::InvalidEntityRank); 00067 00070 } 00071 } // namespace stk_classic 00072 00073 #endif