12#ifndef ARCANE_IMPL_LOADBALANCEMNG_H
13#define ARCANE_IMPL_LOADBALANCEMNG_H
17#include "arcane/core/ILoadBalanceMng.h"
33class ARCANE_IMPL_EXPORT LoadBalanceMng
39 LoadBalanceMng(
ISubDomain* sd,
bool mass_as_criterion);
51 void reset()
override;
57 void setNbCellsAsCriterion(
bool active =
true)
override;
58 void setCellCommContrib(
bool active =
true)
override;
59 bool cellCommContrib()
const override;
60 void setComputeComm(
bool active =
true)
override;
62 void initAccess(
IMesh*
mesh =
nullptr)
override;
67 void endAccess()
override;
68 void notifyEndPartition()
override;
79 void _init(
bool use_mass_as_criterion,
bool is_legacy_init);
80 static bool _isLegacyInit();
Internal API of ILoadBalanceMng to Arcane.
Interface for registering variables for load balancing.
Interface of the subdomain manager.
void addMass(VariableCellInt32 &count, const String &entity="") override
void setMassAsCriterion(bool active=true) override
ILoadBalanceMngInternal * _internalApi() override
Internal API for Arcane.
Reference to an instance.
Unicode character string.
MeshVariableScalarRefT< Face, Real > VariableFaceReal
Real type quantity at face.
MeshVariableScalarRefT< Cell, Real > VariableCellReal
Real type quantity at cell center.
MeshVariableArrayRefT< Cell, Real > VariableCellArrayReal
Quantity at the cell center of real array type.
MeshVariableScalarRefT< Cell, Int32 > VariableCellInt32
Quantity at the cell center of 32-bit integer type.
MeshVariableScalarRefT< Face, Int32 > VariableFaceInt32
Quantity at the face of 32-bit integer type.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.