Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
IAMRTransportFunctor.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/* IFunctorWithArgument.h (C) 2000-2005 */
9/* */
10/* Interface d'un fonctor avec argument. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_IAMRTRANSPORTFUNCTOR_H
13#define ARCANE_UTILS_IAMRTRANSPORTFUNCTOR_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16#include "arcane/ItemTypes.h"
17
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23ARCANE_BEGIN_NAMESPACE
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28enum AMROperationType {
29 Restriction= 0,
30 Prolongation= 1
31};
32
33/*---------------------------------------------------------------------------*/
34/*---------------------------------------------------------------------------*/
39{
40 public:
41
44
45 public:
46
48 virtual void executeFunctor(Array<ItemInternal*>& old_items,AMROperationType op) =0;
50 virtual void executeFunctor(Array<Cell>& old_items,AMROperationType op) =0;
51
52};
53
54/*---------------------------------------------------------------------------*/
55/*---------------------------------------------------------------------------*/
56
57ARCANE_END_NAMESPACE
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62#endif
63
Fichier de configuration d'Arcane.
Déclarations des types utilisés dans Arcane.
Interface d'un fonctor avec argument.
virtual ~IAMRTransportFunctor()
Libère les ressources.
virtual void executeFunctor(Array< Cell > &old_items, AMROperationType op)=0
Exécute la méthode associé
virtual void executeFunctor(Array< ItemInternal * > &old_items, AMROperationType op)=0
Exécute la méthode associé
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120