Version: 9.12.0
SMESH_Gen_i.cxx File Reference
#include <BRepPrimAPI_MakeBox.hxx>
#include <BRepPrimAPI_MakeCylinder.hxx>
#include <BRepPrimAPI_MakeSphere.hxx>
#include <BRep_Tool.hxx>
#include <OSD.hxx>
#include <TColStd_MapOfAsciiString.hxx>
#include <TCollection_AsciiString.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopoDS.hxx>
#include <TopoDS_CompSolid.hxx>
#include <TopoDS_Compound.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Iterator.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Wire.hxx>
#include <gp_Pnt.hxx>
#include <Python.h>
#include <structmember.h>
#include <dlfcn.h>
#include <libgen.h>
#include "SMESH_Gen_i.hxx"
#include "SMESH_version.h"
#include "DriverMED_W_SMESHDS_Mesh.h"
#include "DriverMED_R_SMESHDS_Mesh.h"
#include "MED_Factory.hxx"
#include "SMDS_EdgePosition.hxx"
#include "SMDS_FacePosition.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMDS_SpacePosition.hxx"
#include "SMDS_VertexPosition.hxx"
#include "SMESHDS_Document.hxx"
#include "SMESHDS_Group.hxx"
#include "SMESHDS_GroupOnGeom.hxx"
#include "SMESH_Algo_i.hxx"
#include "SMESH_File.hxx"
#include "SMESH_Group.hxx"
#include "SMESH_Group_i.hxx"
#include "SMESH_Hypothesis.hxx"
#include "SMESH_Hypothesis_i.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_ParallelMesh.hxx"
#include "SMESH_MeshEditor.hxx"
#include "SMESH_Mesh_i.hxx"
#include <SMESH_SequentialMesh_i.hxx>
#include "SMESH_ParallelMesh_i.hxx"
#include "SMESH_PreMeshInfo.hxx"
#include "SMESH_PythonDump.hxx"
#include "SMESH_ControlsDef.hxx"
#include <SMESH_BoostTxtArchive.hxx>
#include "SMESH_TryCatch.hxx"
#include <CORBA_SERVER_HEADER(SMESH_Group)>
#include <CORBA_SERVER_HEADER(SMESH_Filter)>
#include <CORBA_SERVER_HEADER(SMESH_MeshEditor)>
#include <GEOMImpl_Types.hxx>
#include <GEOM_Client.hxx>
#include <Basics_Utils.hxx>
#include <Basics_DirUtils.hxx>
#include <HDFOI.hxx>
#include <OpUtil.hxx>
#include <SALOMEDS_Tool.hxx>
#include <SALOME_Container_i.hxx>
#include <SALOME_LifeCycleCORBA.hxx>
#include <SALOME_NamingService.hxx>
#include <Utils_CorbaException.hxx>
#include <Utils_ExceptHandlers.hxx>
#include <Utils_SINGLETON.hxx>
#include <utilities.h>
#include <CORBA_CLIENT_HEADER(SALOME_ModuleCatalog)>
#include <CORBA_CLIENT_HEADER(SALOME_Session)>
#include <SALOMEDS_wrap.hxx>
#include <SALOMEDS_Attributes_wrap.hxx>
#include <GEOM_wrap.hxx>
#include <map>
#include <fstream>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <boost/archive/text_oarchive.hpp>
#include <boost/serialization/list.hpp>
#include <boost/serialization/string.hpp>
#include <boost/filesystem.hpp>

Macros

#define LibHandle   void*
 
#define LoadLib(name)   dlopen( name, RTLD_LAZY | RTLD_GLOBAL )
 
#define GetProc   dlsym
 
#define UnLoadLib(handle)   dlclose( handle );
 
#define SMY_OWN_CATCH   catch( SALOME::SALOME_Exception& se ) { throw se; }
 Returns true if algorithm can be used to mesh a given geometry. More...
 
#define NUM_TMP_FILES   2
 
#define SMY_OWN_CATCH
 Returns true if algorithm can be used to mesh a given geometry. More...
 

Variables

const int nbElemPerDiagonal = 10
 

Macro Definition Documentation

◆ GetProc

#define GetProc   dlsym

◆ LibHandle

#define LibHandle   void*

◆ LoadLib

#define LoadLib (   name)    dlopen( name, RTLD_LAZY | RTLD_GLOBAL )

◆ NUM_TMP_FILES

#define NUM_TMP_FILES   2

◆ SMY_OWN_CATCH [1/2]

#define SMY_OWN_CATCH   catch( SALOME::SALOME_Exception& se ) { throw se; }

Returns true if algorithm can be used to mesh a given geometry.

Parameters
[in]theAlgoType- the algorithm type
[in]theLibName- a name of the Plug-in library implementing the algorithm
[in]theGeomObject- the geometry to mesh
[in]toCheckAll- if True, returns True if all shapes are meshable, else, returns True if at least one shape is meshable
Returns
CORBA::Boolean - can or can't

◆ SMY_OWN_CATCH [2/2]

#define SMY_OWN_CATCH

Returns true if algorithm can be used to mesh a given geometry.

Parameters
[in]theAlgoType- the algorithm type
[in]theLibName- a name of the Plug-in library implementing the algorithm
[in]theGeomObject- the geometry to mesh
[in]toCheckAll- if True, returns True if all shapes are meshable, else, returns True if at least one shape is meshable
Returns
CORBA::Boolean - can or can't

◆ UnLoadLib

#define UnLoadLib (   handle)    dlclose( handle );

Variable Documentation

◆ nbElemPerDiagonal

const int nbElemPerDiagonal = 10