Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ExternalPartitionConstraint.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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.cc (C) 2000-2014 */
9/* */
10/* Informations sur les contraintes pour le partitionnement. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESH_EXTERNALPARTITIONCONSTRAINT_H
13#define ARCANE_MESH_EXTERNALPARTITIONCONSTRAINT_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/ItemTypes.h"
18
19#include "arcane/VariableTypes.h"
20
21#include "arcane/IMeshPartitionConstraint.h"
22#include "arcane/mesh/MeshGlobal.h"
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27ARCANE_BEGIN_NAMESPACE
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34
35ARCANE_MESH_BEGIN_NAMESPACE
36
37/*---------------------------------------------------------------------------*/
38/*---------------------------------------------------------------------------*/
39
40/*---------------------------------------------------------------------------*/
41/*---------------------------------------------------------------------------*/
42
43class ARCANE_MESH_EXPORT ExternalPartitionConstraint
45{
46 public:
48 : m_mesh(mesh), m_constraints(constraints)
49 {
50 }
51
53
54private:
55 IMesh* m_mesh;
56 UniqueArray<ItemGroup> m_constraints;
57};
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62ARCANE_MESH_END_NAMESPACE
63ARCANE_END_NAMESPACE
64
65/*---------------------------------------------------------------------------*/
66/*---------------------------------------------------------------------------*/
67
68#endif
Tableau d'items de types quelconques.
Interface d'une contrainte de partitionnement d'un maillage.
virtual void addLinkedCells(Int64Array &linked_cells, Int32Array &linked_owners)=0
Ajoute un ensemble de contraintes sur les mailles.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120