12#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHCOARSENING_H
13#define ARCANE_CARTESIANMESH_CARTESIANMESHCOARSENING_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"
78class ARCANE_CARTESIANMESH_EXPORT CartesianMeshCoarsening
81 friend CartesianMeshImpl;
85 ARCANE_DEPRECATED_REASON(
"Y2024: Use Arcane::CartesianMeshUtils::createCartesianMeshCoarsening2() instead")
106 return m_refined_cells[index];
120 void removeRefinedCells();
125 Int32 m_verbosity_level =
false;
128 bool m_is_create_coarse_called =
false;
129 bool m_is_remove_refined_called =
false;
130 Int64 m_first_own_cell_unique_id_offset = NULL_ITEM_UNIQUE_ID;
135 void _recomputeMeshGenerationInfo();
Declarations of types on entities.
void createCoarseCells()
Coarsens the initial mesh by 2.
ConstArrayView< Int32 > refinedCells(Int32 index) const
List of localIds() of refined cells for the parent cell at index index.
ConstArrayView< Int32 > coarseCells() const
List of localIds() of coarse cells.
Constant view of an array of type T.
Interface of a Cartesian mesh.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
2D data vector with value semantics (STL style).
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.