Version: 9.16.0
StdMeshers_ViscousLayerBuilder_i.hxx
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA/DEN, EDF R&D, OPEN CASCADE
2//
3// This library is free software; you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public
5// License as published by the Free Software Foundation; either
6// version 2.1 of the License, or (at your option) any later version.
7//
8// This library is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// Lesser General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License along with this library; if not, write to the Free Software
15// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16//
17// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18//
19
20// File : StdMeshers_ViscousLayerBuilder_i.hxx
21// Module : SMESH
22//
23#ifndef _SMESH_ViscousLayersBuilder_I_HXX_
24#define _SMESH_ViscousLayersBuilder_I_HXX_
25
27
28#include <SALOMEconfig.h>
29#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
30
31#include "SMESH_2D_Algo_i.hxx"
33#include "SMESH_Mesh_i.hxx"
36
37class SMESH_Gen;
38
40 public virtual POA_StdMeshers::StdMeshers_ViscousLayerBuilder,
41 public virtual SMESH_2D_Algo_i
42{
43 public:
44 // Constructor
45 StdMeshers_ViscousLayerBuilder_i( PortableServer::POA_ptr thePOA,
46 ::SMESH_Gen* theGenImpl );
47 // Destructor
49
50 // Verify whether algorithm supports given entity type
51 CORBA::Boolean IsDimSupported( SMESH::Dimension type );
52
53 // Get implementation
55
56 void SetIgnoreFaces(const ::SMESH::long_array& faceIDs);
57 void SetFaces(const SMESH::long_array& faceIDs,
58 CORBA::Boolean toIgnore);
59 void SetTotalThickness(::CORBA::Double thickness);
60 void SetNumberLayers(::CORBA::Short nb);
61 void SetStretchFactor(::CORBA::Double factor);
62 void SetMethod( ::StdMeshers::VLExtrusionMethod how );
63 void SetGroupName(const char* name);
64
65 // Compute and return the shrink geometry
66 GEOM::GEOM_Object_ptr GetShrinkGeometry( SMESH::SMESH_Mesh_ptr finalMesh, GEOM::GEOM_Object_ptr theShapeObject );
67
68 // Build the viscous layer on the specified faces/edges available in the sourceMesh and consolidate the result in the finalMesh
69 CORBA::Boolean AddLayers( SMESH::SMESH_Mesh_ptr sourceMesh, SMESH::SMESH_Mesh_ptr finalMesh, GEOM::GEOM_Object_ptr theShapeObject );
70
71};
72
73#endif
#define STDMESHERS_I_EXPORT
Definition: SMESH_StdMeshers_I.hxx:38
Definition: SMESH_2D_Algo_i.hxx:45
CORBA::Boolean IsDimSupported(SMESH::Dimension type)
Verify whether algorithm supports given entity type.
Definition: SMESH_2D_Algo_i.cxx:71
Definition: SMESH_Gen.hxx:68
::SMESH_Hypothesis * GetImpl()
SMESH_Hypothesis_i::GetImpl.
Definition: SMESH_Hypothesis_i.cxx:236
Definition: StdMeshers_ViscousLayerBuilder_i.hxx:42
Definition: StdMeshers_ViscousLayerBuilder.hxx:37
Dimension
Definition: SMESH_Hypothesis.idl:35
sequence< long > long_array
Definition: SMESH_Mesh.idl:44
VLExtrusionMethod
Method of computing translation of a node at Viscous Layers construction.
Definition: SMESH_BasicHypothesis.idl:886