Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ILoadBalanceMngInternal.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* ILoadBalanceMngInternal.h (C) 2000-2024 */
9/* */
10/* Interface de classe interne gérant l'équilibre de charge des maillages. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#ifndef ARCANE_CORE_INTERNAL_ILOADBALANCEMNGINTERNAL_H
15#define ARCANE_CORE_INTERNAL_ILOADBALANCEMNGINTERNAL_H
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25namespace Arcane
26{
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
30
37class ARCANE_CORE_EXPORT ILoadBalanceMngInternal
38{
39 public:
40
41 virtual ~ILoadBalanceMngInternal() = default;
42
43 public:
44
45 virtual void addMass(VariableCellInt32& count, IMesh* mesh, const String& entity) =0;
46 virtual void addCriterion(VariableCellInt32& count, IMesh* mesh) =0;
47 virtual void addCriterion(VariableCellReal& count, IMesh* mesh) =0;
48 virtual void addCommCost(VariableFaceInt32& count, IMesh* mesh, const String& entity) =0;
49
50 public:
51
52 virtual void setMassAsCriterion(IMesh* mesh, bool active) =0;
53 virtual void setNbCellsAsCriterion(IMesh* mesh, bool active) =0;
54 virtual void setCellCommContrib(IMesh* mesh, bool active) = 0;
55 virtual void setComputeComm(IMesh* mesh, bool active) = 0;
56 virtual const VariableFaceReal& commCost(IMesh* mesh) = 0;
57 virtual const VariableCellReal& massWeight(IMesh* mesh) = 0;
58 virtual const VariableCellReal& massResWeight(IMesh* mesh) = 0;
59 virtual const VariableCellArrayReal& mCriteriaWeight(IMesh* mesh) = 0;
60
61 virtual bool cellCommContrib(IMesh* mesh) = 0;
62 virtual Integer nbCriteria(IMesh* mesh) =0;
63
64 virtual void reset(IMesh* mesh) = 0;
65 virtual void initAccess(IMesh* mesh) = 0;
66 virtual void endAccess() =0;
67 virtual void notifyEndPartition() =0;
68};
69
70/*---------------------------------------------------------------------------*/
71/*---------------------------------------------------------------------------*/
72
73} // End namespace Arcane
74
75/*---------------------------------------------------------------------------*/
76/*---------------------------------------------------------------------------*/
77
78#endif
API interne à Arcane de ILoadBalanceMng.
virtual ~ILoadBalanceMngInternal()=default
Libère les ressources.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-