Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
AMRCallBackMng.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/* CallBackDefinition.h (C) 2000-2010 */
9/* */
10/* Gestionnaire des fonctions callback. */
11/*---------------------------------------------------------------------------*/
12
13
14#ifndef ARCANE_UTILS_AMRCALLBACKMNG_H
15#define ARCANE_UTILS_AMRCALLBACKMNG_H
16/*---------------------------------------------------------------------------*/
17/*---------------------------------------------------------------------------*/
18
19
20#include "arcane/utils/VersionInfo.h"
22#include "arcane/utils/List.h"
23#include "arcane/utils/AMRComputeFunction.h"
24
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29ARCANE_BEGIN_NAMESPACE
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33// -------------------------------------------------------------------
34class ARCANE_UTILS_EXPORT AMRCallBackMng
35{
37public:
38
39public:
40
41 AMRCallBackMng() {};
42 ~AMRCallBackMng() {};
43
44 void initialize();
45 void finalize();
46
47 void registerCallBack(IAMRTransportFunctor *);
48
49
50 void unregisterCallBack(IAMRTransportFunctor *);
51
52
53 void callCallBacks(Array<ItemInternal*>& old,AMROperationType op);
54
55 void callCallBacks(Array<Cell>& old,AMROperationType op);
56
57private:
58
59 IAMRTransportFunctorList m_amr_transport_functors;
60
61};
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
65
66ARCANE_END_NAMESPACE
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71#endif /* ARCANE_UTILS_AMRCALLBACKMNG_H_ */
72
Déclarations des types utilisés dans Arcane.
Interface d'un fonctor avec argument.
Implémentation d'une collection d'éléments sous forme de vecteur.
Definition List.h:222
Classe de base des vecteurs 1D de données.