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
17
#include "
arcane/core/ArcaneTypes.h
"
18
#include "
arcane/core/ItemTypes.h
"
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
namespace
Arcane
24
{
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
29
/*!
30
* \brief Interface of an asynchronous particle exchanger.
31
*/
32
class
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
ArcaneTypes.h
Declarations of Arcane's general types.
ItemTypes.h
Declarations of types on entities.
Arcane::IAsyncParticleExchanger
Interface of an asynchronous particle exchanger.
Definition
IAsyncParticleExchanger.h:33
Arcane::IFunctor
Interface of a functor.
Definition
arccore/src/base/arccore/base/IFunctor.h:33
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
AbstractCaseDocumentVisitor.cc:21
Arcane::Integer
Int32 Integer
Type representing an integer.
Definition
ArccoreGlobal.h:293
Arcane::Int32ConstArrayView
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.
Definition
UtilsTypes.h:482
Arcane::Int32Array
Array< Int32 > Int32Array
Dynamic one-dimensional array of 32-bit integers.
Definition
UtilsTypes.h:127
arcane
core
IAsyncParticleExchanger.h
Generated on
for Arcane by
1.16.1