Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
IExtraGhostCellsBuilder.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/* IExtraGhostCellsBuilder.h (C) 2000-2025 */
9/* */
10/* Interface of a builder for "extraordinary" ghost cells */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IEXTRAGHOSTCELLSBUILDER_H
13#define ARCANE_CORE_IEXTRAGHOSTCELLSBUILDER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28/*!
29 * \brief Interface of a builder for "extraordinary" ghost cells
30 *
31 * An "extraordinary" ghost cell is a ghost cell added to the
32 * ghost cells defined by the mesh connectivity. Specifically,
33 * the calculation of extraordinary ghost cells is performed at every update
34 * of the mesh or load balancing.
35 *
36 * \note Makes the \a remove_old_ghost parameter of the IMesh::endUpdate() method obsolete.
37 */
39{
40 public:
41
42 virtual ~IExtraGhostCellsBuilder() {} //!< Frees resources.
43
44 public:
45
46 /*!
47 * \brief Calculates the "extraordinary" cells to send.
48 *
49 * Performs the calculation of "extraordinary" cells following
50 * a construction algorithm
51 */
52 virtual void computeExtraCellsToSend() = 0;
53
54 /*!
55 * \brief Local indices of "extraordinary" cells for sending.
56 *
57 * Retrieves the array of "extraordinary" cells destined
58 * for subdomain \a sid
59 */
61};
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
65
66} // End namespace Arcane
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71#endif
Declarations of Arcane's general types.
Interface of a builder for "extraordinary" ghost cells.
virtual void computeExtraCellsToSend()=0
Calculates the "extraordinary" cells to send.
virtual ~IExtraGhostCellsBuilder()
Frees resources.
virtual Int32ConstArrayView extraCellsToSend(Int32 rank) const =0
Local indices of "extraordinary" cells for sending.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.
Definition UtilsTypes.h:482
std::int32_t Int32
Signed integer type of 32 bits.