14#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHAMRMNG_H
15#define ARCANE_CARTESIANMESH_CARTESIANMESHAMRMNG_H
22#include "arcane/cartesianmesh/CartesianMeshGlobal.h"
224 void adaptLevel(
Int32 level_to_adapt,
bool do_fatal_if_useless =
false)
const;
Declarations of types on entities.
Class allowing the definition of a mesh zone.
void setOverlapLayerSizeTopLevel(Int32 new_size) const
Method to modify the number of overlap cell layers on the highest refinement level.
void coarseZone(const AMRZonePosition &position) const
Coarsens a block of the Cartesian mesh.
CartesianMeshPatchListView patches() const
View of the list of patches.
void mergePatches() const
Method to merge patches that can be merged.
void clearRefineRelatedFlags() const
Method to delete flags related to mesh refinement for all cells.
CartesianMeshAMRMng(ICartesianMesh *cmesh)
Constructor.
Int32 nbPatch() const
Number of mesh patches.
void endAdaptMesh()
Method to finish mesh refinement.
void disableOverlapLayer()
Method to disable overlap cell layers (and destroy them if present).
Integer reduceNbGhostLayers(Integer level, Integer target_nb_ghost_layers) const
Method to delete one or more layers of ghost cells on a defined refinement level.
void adaptLevel(Int32 level_to_adapt, bool do_fatal_if_useless=false) const
Method to create a level of mesh refinement.
void beginAdaptMesh(Int32 max_nb_levels, Int32 level_to_refine_first)
Method to start mesh refinement.
CartesianPatch amrPatch(Int32 index) const
Returns the index-th patch of the mesh.
void refineZone(const AMRZonePosition &position) const
Refines a block of the Cartesian mesh.
void createSubLevel() const
Method to create a sub-level ("level -1").
View of a list of patches.
AMR Patch of a Cartesian mesh.
Interface of a Cartesian mesh.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
std::int32_t Int32
Signed integer type of 32 bits.