12#ifndef ARCANE_CORE_ICRITERIALOADBALANCEMNG_H
13#define ARCANE_CORE_ICRITERIALOADBALANCEMNG_H
18#include "arcane/core/VariableTypes.h"
Declarations of Arcane's general types.
Class interface allowing criteria to be added to adjust the load balance.
virtual void addCriterion(VariableCellReal &count)=0
Method allowing a criterion to be added for each cell.
virtual void addMass(VariableCellInt32 &count, const String &entity)=0
Method allowing a criterion to be added for each cell.
virtual void setNbCellsAsCriterion(bool active)=0
Method allowing to specify if the number of cells in a subdomain must be a criterion for load balance...
virtual ~ICriteriaLoadBalanceMng()=default
Frees resources.
virtual Integer nbCriteria()=0
Method allowing to retrieve the number of criteria already registered.
virtual void addCriterion(VariableCellInt32 &count)=0
Method allowing a criterion to be added for each cell.
virtual void setComputeComm(bool active)=0
virtual void addCommCost(VariableFaceInt32 &count, const String &entity)=0
Method allowing a criterion to be added for each face.
virtual void setMassAsCriterion(bool active)=0
Method allowing to specify if the data mass of each cell is a criterion for load balance.
virtual void setCellCommContrib(bool active)=0
Method allowing to specify if the mass of communications between cells must be a criterion for load b...
virtual void reset()=0
Method allowing the criteria already added to be cleared.
Unicode character string.
MeshVariableScalarRefT< Cell, Real > VariableCellReal
Real type quantity at cell center.
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.