Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
GeometryKernelSurfaceToolsService.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7#ifndef ARCGEOSIM_SURFACEUTILS_GEOMETRYKERNELSURFACETOOLS_GEOMETRYKERNELSURFACETOOLSSERVICE_H
8#define ARCGEOSIM_SURFACEUTILS_GEOMETRYKERNELSURFACETOOLS_GEOMETRYKERNELSURFACETOOLSSERVICE_H
9/* Author : havep at Wed Aug 27 14:57:32 2008
10 * Generated by createNew
11 */
12
13#include "arcane/corefinement/surfaceutils/ISurfaceUtils.h"
14
15using namespace Arcane::Numerics;
16#include "arcane/corefinement/surfaceutils/geometrykernelsurfacetools/GeometryKernelSurfaceTools_axl.h"
17
18/*---------------------------------------------------------------------------*/
19/*---------------------------------------------------------------------------*/
20
21namespace Arcane::Numerics
22{
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
31
32class GeometryKernelSurfaceToolsService : public ArcaneGeometryKernelSurfaceToolsObject
33{
34 public:
35
38 : ArcaneGeometryKernelSurfaceToolsObject(sbi)
39 {
40 ;
41 }
42
45
46 public:
47
49 void init();
50
53
55 void setFaceToSurface(ISurface* surface, FaceGroup face_group);
56
58 void computeSurfaceContact(ISurface* surface1,
59 ISurface* surface2,
60 FaceFaceContactList& contact);
61
62 private:
63
64 GeometryKernelSurfaceImpl* castSurface(ISurface*) const;
65 void buildFaceGroupSurface(FaceGroup group, GeometryKernelSurfaceImpl* surface_impl) const;
66};
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71} // namespace Arcane::Numerics
72
73/*---------------------------------------------------------------------------*/
74/*---------------------------------------------------------------------------*/
75
76#endif
void computeSurfaceContact(ISurface *surface1, ISurface *surface2, FaceFaceContactList &contact)
compute for each face of surface1 the nearest face of surface2
void setFaceToSurface(ISurface *surface, FaceGroup face_group)
Defines the faces of a surface.
Purely virtual interface for surface representation.
Definition ISurface.h:32
Structure containing the information to create a service.
ItemGroupT< Face > FaceGroup
Group of faces.
Definition ItemTypes.h:179