7#include "GeometryKernelSurfaceToolsService.h"
12#include <arcane/corefinement/surfaceutils/geometrykernelsurfacetools/GeometryKernelSurfaceImpl.h>
14#include <arcane/utils/NotImplementedException.h>
15#include <arcane/IParallelMng.h>
16#include <arcane/IMesh.h>
18#include <GeometryKernel/algorithms/surface/surface-corefinement.h>
19#include <GeometryKernel/tools/surface/triangulation-topo-tools.h>
20#include <GeometryKernel/datamodel/geometry/vector.h>
24#include "GeometryKernelSurfaceInternalUtils.h"
52 buildFaceGroupSurface(
face_group,castSurface(surface));
101#ifndef NO_USER_WARNING
102#warning "Work around strange UniqueArray<Real3> reduction"
111 subDomain()->parallelMng()->reduce(Parallel::ReduceSum,
__normals);
126 typedef GK::SurfaceCorefinement::IntersectionIterator
Iter;
127 typedef GK::SurfaceCorefinement::IntersectionHandle Handle;
128 long requested_info = GK::SurfaceCorefinement::NORMAL | GK::SurfaceCorefinement::CENTRE;
129#ifndef NO_USER_WARNING
130#warning "global plane computation disabled"
147 ARCANE_ASSERT((
indexA !=
voidIndex),(
"indexA cannot be voidIndex by documentation"));
178 else return m_face_array[index];
189 FaceFaceContact
c(faceA,faceB);
195 const Handle & handle = *
jB[
iA];
230 ARCANE_ASSERT((
jB->indexB() !=
voidIndex),(
"By construction indexB cannot be voidIndex when indexA is voidIndex"));
234 FaceFaceContact
c(
Face(),faceB);
238 const Handle & handle = *
jB;
254 info() <<
"Co-refinement"
255 <<
" : maxDeviation = " << s.maxDeviation()
256 <<
" ; meanDeviation = " << s.meanDeviation()
257 <<
" ; connections = " << count;
264GeometryKernelSurfaceToolsService::
269 fatal() <<
"Cannot use non own ISurface implementation";
276GeometryKernelSurfaceToolsService::
279 ::buildFaceGroupSurface(group,
Purely virtual interface for surface representation.
Int32 nbNode() const
Nombre de noeuds de l'entité
constexpr bool null() const
true si l'entité est nul (i.e. non connecté au maillage)
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Classe gérant un vecteur de réel de dimension 3.
ARCCORE_HOST_DEVICE Real2 min(Real2 a, Real2 b)
Retourne le minimum de deux Real2.
Real normeR3(Real3 v1)
Norme d'un vecteur.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Real3 convertGKVector(const GeometryKernel::Vector &v)
convert GeometryKernel vector to Real3
Int32 Integer
Type représentant un entier.