Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
IAsyncParticleExchanger.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/* IParticleExchanger.h (C) 2000-2025 */
9/* */
10/* Interface of an asynchronous particle exchanger. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IASYNCPARTICLEEXCHANGER_H
13#define ARCANE_CORE_IASYNCPARTICLEEXCHANGER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29/*!
30 * \brief Interface of an asynchronous particle exchanger.
31 */
32class ARCANE_CORE_EXPORT IAsyncParticleExchanger
33{
34 public:
35
36 virtual ~IAsyncParticleExchanger() = default;
37
38 public:
39
40 virtual bool exchangeItemsAsync(Integer nb_particle_finish_exchange,
41 Int32ConstArrayView local_ids,
42 Int32ConstArrayView sub_domains_to_send,
43 Int32Array* new_particle_local_ids,
44 IFunctor* functor,
45 bool has_local_flying_particles) = 0;
46};
47
48/*---------------------------------------------------------------------------*/
49/*---------------------------------------------------------------------------*/
50
51} // End namespace Arcane
52
53/*---------------------------------------------------------------------------*/
54/*---------------------------------------------------------------------------*/
55
56#endif
Declarations of Arcane's general types.
Declarations of types on entities.
Interface of an asynchronous particle exchanger.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.
Definition UtilsTypes.h:482
Array< Int32 > Int32Array
Dynamic one-dimensional array of 32-bit integers.
Definition UtilsTypes.h:127