Arcane  v4.1.3.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ICartesianMeshAMRPatchMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 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/* ICartesianMeshAMRPatchMng.h (C) 2000-2025 */
9/* */
10/* Interface de gestionnaire de l'AMR par patch d'un maillage cartésien. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#ifndef ARCANE_CARTESIANMESH_ICARTESIANMESHAMRPATCHMNG_H
15#define ARCANE_CARTESIANMESH_ICARTESIANMESHAMRPATCHMNG_H
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
20#include "arcane/cartesianmesh/CartesianMeshGlobal.h"
22
23/*---------------------------------------------------------------------------*/
24/*---------------------------------------------------------------------------*/
25
26namespace Arcane
27{
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
31
32class ARCANE_CARTESIANMESH_EXPORT ICartesianMeshAMRPatchMng
33{
34 public:
35
36 virtual ~ICartesianMeshAMRPatchMng() = default;
37
38 public:
39
44 virtual void refine() = 0;
45
53 virtual void createSubLevel() = 0;
54
65 virtual void coarsen(bool update_parent_flag) = 0;
66};
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71} // End namespace Arcane
72
73/*---------------------------------------------------------------------------*/
74/*---------------------------------------------------------------------------*/
75
76#endif //ARCANE_CARTESIANMESH_ICARTESIANMESHAMRPATCHMNG_H
Déclarations des types utilisés dans Arcane.
virtual void refine()=0
Méthode permettant de raffiner les mailles avec le flag "II_Refine".
virtual void coarsen(bool update_parent_flag)=0
Méthode permettant de retirer les mailles marquées avec le flag "II_Coarsen".
virtual void createSubLevel()=0
Méthode permettant de déraffiner les mailles de niveau 0.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-