Arcane
v3.16.0.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"
21
#include "
arcane/utils/UtilsTypes.h
"
22
#include "arcane/utils/List.h"
23
#include "arcane/utils/AMRComputeFunction.h"
24
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
29
ARCANE_BEGIN_NAMESPACE
30
31
/*---------------------------------------------------------------------------*/
32
/*---------------------------------------------------------------------------*/
33
// -------------------------------------------------------------------
34
class
ARCANE_UTILS_EXPORT AMRCallBackMng
35
{
36
typedef
List<IAMRTransportFunctor *>
IAMRTransportFunctorList;
37
public
:
38
39
public
:
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
57
private
:
58
59
IAMRTransportFunctorList m_amr_transport_functors;
60
61
};
62
63
/*---------------------------------------------------------------------------*/
64
/*---------------------------------------------------------------------------*/
65
66
ARCANE_END_NAMESPACE
67
68
/*---------------------------------------------------------------------------*/
69
/*---------------------------------------------------------------------------*/
70
71
#endif
/* ARCANE_UTILS_AMRCALLBACKMNG_H_ */
72
UtilsTypes.h
Déclarations des types utilisés dans Arcane.
Arcane::Array
Classe de base des vecteurs 1D de données.
Definition
arccore/src/collections/arccore/collections/Array.h:1007
Arcane::IAMRTransportFunctor
Interface d'un fonctor avec argument.
Definition
IAMRTransportFunctor.h:39
Arcane::List
Implémentation d'une collection d'éléments sous forme de vecteur.
Definition
List.h:222
arcane
utils
AMRCallBackMng.h
Généré le Lundi 24 Mars 2025 02:48:34 pour Arcane par
1.13.2