Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
IAsyncParticleExchanger.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 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-2020 */
9
/* */
10
/* Interface d'un échangeur de particules asynchrone. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_IASYNCPARTICLEEXCHANGER_H
13
#define ARCANE_IASYNCPARTICLEEXCHANGER_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/ArcaneTypes.h"
18
#include "arcane/ItemTypes.h"
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
namespace
Arcane
24
{
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
31
class
ARCANE_CORE_EXPORT
IAsyncParticleExchanger
32
{
33
public
:
34
35
virtual
~IAsyncParticleExchanger
() =
default
;
36
37
public
:
38
39
virtual
bool
exchangeItemsAsync(Integer
nb_particle_finish_exchange
,
40
Int32ConstArrayView
local_ids
,
41
Int32ConstArrayView
sub_domains_to_send
,
42
Int32Array
*
new_particle_local_ids
,
43
IFunctor
* functor,
44
bool
has_local_flying_particles
) = 0;
45
};
46
47
/*---------------------------------------------------------------------------*/
48
/*---------------------------------------------------------------------------*/
49
50
}
// End namespace Arcane
51
52
/*---------------------------------------------------------------------------*/
53
/*---------------------------------------------------------------------------*/
54
55
#endif
Arcane::Array
Tableau d'items de types quelconques.
Definition
AnyItemArray.h:55
Arcane::IAsyncParticleExchanger
Interface d'un échangeur de particules asynchrone.
Definition
IAsyncParticleExchanger.h:32
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arccore::ConstArrayView
Vue constante d'un tableau de type T.
Definition
arccore/src/base/arccore/base/ArrayView.h:533
Arccore::IFunctor
Interface d'un fonctor.
Definition
arccore/src/base/arccore/base/IFunctor.h:32
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
core
IAsyncParticleExchanger.h
Généré le Lundi 18 Novembre 2024 03:00:21 pour Arcane par
1.9.8