12#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHCOARSENING2_H
13#define ARCANE_CARTESIANMESH_CARTESIANMESHCOARSENING2_H
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/utils/Array2.h"
21#include "arcane/core/ICartesianMeshGenerationInfo.h"
23#include "arcane/cartesianmesh/CartesianMeshGlobal.h"
76class ARCANE_CARTESIANMESH_EXPORT CartesianMeshCoarsening2
79 friend CartesianMeshImpl;
94 void removeRefinedCells();
99 Int32 m_verbosity_level =
false;
102 bool m_is_create_coarse_called =
false;
103 bool m_is_remove_refined_called =
false;
104 Int64 m_first_own_cell_unique_id_offset = NULL_ITEM_UNIQUE_ID;
110 void _writeMeshSVG(
const String& name);
Declarations of types on entities.
void createCoarseCells()
Coarsens the initial mesh by 2.
void _doDoubleGhostLayers()
Doubles the ghost layer of the initial mesh.
void _createCoarseCells3D()
Int64 _getMaxUniqueId(const ItemGroup &group)
Returns the max of uniqueId() of entities in a group.
void _recomputeMeshGenerationInfo()
Recalculates the information about the number of cells per direction.
UniqueArray< Int64 > m_coarse_cells_uid
uniqueId() of the coarse cells
void _createCoarseCells2D()
Interface of a Cartesian mesh.
Unicode character string.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
1D data vector with value semantics (STL style).
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.
std::int32_t Int32
Signed integer type of 32 bits.