11 #ifndef stk_rebalance_GeomDecomp_hpp 12 #define stk_rebalance_GeomDecomp_hpp 21 #include <stk_mesh/base/Types.hpp> 22 #include <stk_mesh/base/Field.hpp> 23 #include <stk_mesh/base/Entity.hpp> 98 std::vector<double> & coor);
114 std::vector<std::vector<double> > & coordinates);
132 std::vector<double> & coor);
137 static bool confirm (
const std::string ¶m_set_name );
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.
Partition(stk_classic::ParallelMachine comm)
Constructors.
static std::vector< const mesh::Entity * > entity_coordinates(const mesh::Entity &entity, const VectorField &ref, std::vector< std::vector< double > > &coordinates)
Used to return the nodal entities that compute_entity_centroid averages.
Field with defined data type and multi-dimensions (if any)
A fundamental unit within the discretization of a problem domain, including but not limited to nodes...
Initialized with a list of mesh entities unique to each processor.
For partitioning of mesh entities over a processing grid.
static void entity_to_point(const mesh::Entity &entity, const VectorField &ref, std::vector< double > &coor)
Convert a single mesh entity to a single point.
Class for determining the optimal partitioning of mesh entities.
static std::vector< std::vector< double > > compute_entity_centroid(const mesh::Entity &entity, const VectorField &ref, std::vector< double > &coor)
Returns a vector of vectors containing the coordinates of the nodes that were used to compute the cen...
static bool confirm(const std::string ¶m_set_name)
Check existence of library entry name on domain library. This is a simple one line convenience functi...