Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
ICartesianMeshAMRPatchMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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 for managing AMR by patch of a Cartesian mesh. */
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
43 virtual void refine() = 0;
44
52 virtual void createSubLevel() = 0;
53
63 virtual void coarsen(bool update_parent_flag) = 0;
64};
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69} // End namespace Arcane
70
71/*---------------------------------------------------------------------------*/
72/*---------------------------------------------------------------------------*/
73
74#endif
Declarations of types used in Arcane.
virtual void refine()=0
Method allowing cell refinement using the "II_Refine" flag.
virtual void coarsen(bool update_parent_flag)=0
Method allowing removal of cells marked with the "II_Coarsen" flag.
virtual void createSubLevel()=0
Method allowing coarsening of level 0 cells.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --