Arcane  v3.14.10.0
Documentation utilisateur
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
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28/*!
29 * \brief Interface d'un échangeur de particules asynchrone.
30 */
31class 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
Interface d'un échangeur de particules asynchrone.
Classe de base des vecteurs 1D de données.
Vue constante d'un tableau de type T.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-