12#ifndef ARCANE_MESH_ITEMREFINEMENT_H
13#define ARCANE_MESH_ITEMREFINEMENT_H
17#include "arcane/core/VariableTypes.h"
19#include "arcane/mesh/MeshGlobal.h"
20#include "arcane/mesh/MeshRefinement.h"
64 typedef std::set<Int64> FaceSet;
65 bool operator()(
const FaceSet& s1,
const FaceSet& s2)
const
68 if (s1.size() != s2.size())
71 FaceSet::const_iterator its1 = s1.begin(), its2 = s2.begin();
72 FaceSet::const_iterator its1_end = s1.end();
73 for (; its1 != its1_end; ++its1, ++its2)
100 template <
int typeID>
118 std::vector<std::vector<Real3>> m_p;
120 std::vector<std::vector<Int64>> m_nodes_uid;
Modifiable view of an array of type T.
Internal structure of a mesh entity.
Class managing a 3-dimensional real vector.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
ItemRefinement(IMesh *mesh)
static const Real TOLERENCE
AMR.
void refineOneCell(Cell item, MeshRefinement &mesh_refinement)
void coarsenOneCell(Cell item, const ItemRefinementPatternT< typeID > &rp)
Implementation of unstructured mesh refinement adaptation algorithms.
MeshVariableScalarRefT< Cell, Real > VariableCellReal
Real type quantity at cell center.
MeshVariableScalarRefT< Node, Real3 > VariableNodeReal3
Coordinate type quantity at node.
UniqueArray< Int64 > Int64UniqueArray
Dynamic 1D array of 64-bit integers.
Int32 Integer
Type representing an integer.
UniqueArray< Real3 > Real3UniqueArray
Dynamic 1D array of rank 3 vectors.
UniqueArray< Int32 > Int32UniqueArray
Dynamic 1D array of 32-bit integers.
SharedMeshVariableScalarRefT< Node, Real3 > SharedVariableNodeReal3
Quantity at the node of coordinate type.
double Real
Type representing a real number.