Arcane  v3.15.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
core/ExternalPartitionConstraint.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/* ExternalPartitionConstraint.h (C) 2000-2024 */
9/* */
10/* Informations sur les contraintes pour le partitionnement. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_EXTERNALPARTITIONCONSTRAINT_H
13#define ARCANE_CORE_EXTERNALPARTITIONCONSTRAINT_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#include "arcane/core/VariableTypes.h"
19#include "arcane/core/IMeshPartitionConstraint.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
30class ARCANE_CORE_EXPORT ExternalPartitionConstraint
32{
33 public:
34
36 : m_mesh(mesh)
37 , m_constraints(constraints)
38 {
39 }
40
41 virtual void addLinkedCells(Int64Array& linked_cells, Int32Array& linked_owners);
42
43 private:
44
45 IMesh* m_mesh = nullptr;
46 UniqueArray<ItemGroup> m_constraints;
47};
48
49/*---------------------------------------------------------------------------*/
50/*---------------------------------------------------------------------------*/
51
52} // namespace Arcane
53
54/*---------------------------------------------------------------------------*/
55/*---------------------------------------------------------------------------*/
56
57#endif
Déclarations de types sur les entités.
Tableau d'items de types quelconques.
Interface d'une contrainte de partitionnement d'un maillage.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:149
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-