Arcane  4.1.11.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
IItemConnectivityGhostPolicy.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/* IItemConnectivityGhostPolicy.h (C) 2000-2015 */
9/* */
10/* Interface for the policy of creating ghosts for a connectivity. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IITEMCONNECTIVITYGHOSTPOLICY_H
13#define ARCANE_IITEMCONNECTIVITYGHOSTPOLICY_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/ArrayView.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
29{
30 public:
31
34
35 public:
36
39
50 virtual Int32ConstArrayView sharedItems(const Integer rank, const String& family_name) = 0;
51
60 virtual Int32ConstArrayView sharedItemsConnectedItems(const Integer rank, const String& family_name) = 0;
61
76 virtual void updateConnectivity(Int32ConstArrayView ghost_items,
77 Int64ConstArrayView ghost_items_connected_items) = 0;
78};
79
80/*---------------------------------------------------------------------------*/
81/*---------------------------------------------------------------------------*/
82
83} // namespace Arcane
84
85/*---------------------------------------------------------------------------*/
86/*---------------------------------------------------------------------------*/
87
88#endif
virtual Int32ConstArrayView sharedItems(const Integer rank, const String &family_name)=0
gives the local_ids of the items of the family family_name shared for the connectivity with the rank ...
virtual Int32ConstArrayView communicatingRanks()=0
Ranks of sub-domains with which we communicate.
virtual Int32ConstArrayView sharedItemsConnectedItems(const Integer rank, const String &family_name)=0
gives the local_ids of the items of the family family_name connected with the sharedItems(rank).
virtual void updateConnectivity(Int32ConstArrayView ghost_items, Int64ConstArrayView ghost_items_connected_items)=0
updates the connectivity by connecting the added ghost items.
Chaîne de caractères unicode.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type représentant un entier.
ConstArrayView< Int32 > Int32ConstArrayView
Equivalent C d'un tableau à une dimension d'entiers 32 bits.
Definition UtilsTypes.h:482
ConstArrayView< Int64 > Int64ConstArrayView
Equivalent C d'un tableau à une dimension d'entiers 64 bits.
Definition UtilsTypes.h:480