Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
CartesianMeshAMRPatchMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* CartesianMeshAMRPatchMng.h (C) 2000-2024 */
9/* */
10/* Gestionnaire de l'AMR par patch d'un maillage cartésien. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHAMRPATCHMNG_H
15#define ARCANE_CARTESIANMESH_CARTESIANMESHAMRPATCHMNG_H
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
21
22#include "arcane/utils/TraceAccessor.h"
23
24#include "arcane/cartesianmesh/ICartesianMeshAMRPatchMng.h"
25#include "arcane/cartesianmesh/CartesianMeshGlobal.h"
26#include "arcane/cartesianmesh/ICartesianMesh.h"
27#include "arcane/cartesianmesh/ICartesianMeshNumberingMng.h"
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
31
32namespace Arcane
33{
34
35/*---------------------------------------------------------------------------*/
36/*---------------------------------------------------------------------------*/
37
39: public TraceAccessor
41{
42 public:
43
45
46 public:
47
48 void flagCellToRefine(Int32ConstArrayView cells_lids) override;
49 void _syncFlagCell();
50
51 void refine() override;
52 void coarse() override;
53
54 private:
55
56 IMesh* m_mesh;
57 ICartesianMesh* m_cmesh;
58 Ref<ICartesianMeshNumberingMng> m_num_mng;
59};
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64} // End namespace Arcane
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69#endif //ARCANE_CARTESIANMESH_CARTESIANMESHAMRPATCHMNG_H
void coarse() override
Méthode permettant de déraffiner les mailles de niveau 0.
void refine() override
Méthode permettant de raffiner les mailles avec le flag "II_Refine".
void flagCellToRefine(Int32ConstArrayView cells_lids) override
Méthode permettant de définir les mailles à raffiner.
Interface d'un maillage cartésien.
Vue constante d'un tableau de type T.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-