Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IMeshPartitionConstraint.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* IMeshPartitionConstraint.h (C) 2000-2025 */
9/* */
10/* Interface of a mesh partitioning constraint. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMESHPARTITIONCONSTRAINT_H
13#define ARCANE_CORE_IMESHPARTITIONCONSTRAINT_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
35{
36 public:
37
38 virtual ~IMeshPartitionConstraint() = default;
39
40 public:
41
72 virtual void addLinkedCells(Int64Array& linked_cells, Int32Array& linked_owners) = 0;
73};
74
75/*---------------------------------------------------------------------------*/
76/*---------------------------------------------------------------------------*/
77
78} // namespace Arcane
79
80/*---------------------------------------------------------------------------*/
81/*---------------------------------------------------------------------------*/
82
83#endif
Declarations of Arcane's general types.
Interface of a mesh partitioning constraint.
virtual ~IMeshPartitionConstraint()=default
Releases resources.
virtual void addLinkedCells(Int64Array &linked_cells, Int32Array &linked_owners)=0
Adds a set of constraints on the cells.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Array< Int64 > Int64Array
Dynamic one-dimensional array of 64-bit integers.
Definition UtilsTypes.h:125
Array< Int32 > Int32Array
Dynamic one-dimensional array of 32-bit integers.
Definition UtilsTypes.h:127