-lSMESHClient \
-lSalomeApp \
-lSalomeObject \
- -lSMESHControls \
- -lCASCatch
+ -lSMESHControls
LDFLAGSFORBIN += \
-L${GEOM_ROOT_DIR}/lib/salome \
SMESH_Pattern_i.cxx \
SMESH_2smeshpy.cxx
-LIB_SERVER_IDL = SMESH_Gen.idl SMESH_Hypothesis.idl SMESH_Mesh.idl \
- SALOME_Component.idl SALOME_Exception.idl \
- SMESH_Filter.idl SMESH_Group.idl SMESH_Pattern.idl
-
-LIB_CLIENT_IDL = SALOMEDS.idl GEOM_Gen.idl MED.idl SALOMEDS_Attributes.idl SALOME_GenericObj.idl SALOME_Comm.idl
+LIB_SERVER_IDL = \
+ SMESH_Gen.idl \
+ SMESH_Hypothesis.idl \
+ SMESH_Mesh.idl \
+ SALOME_Component.idl \
+ SALOME_Exception.idl \
+ SMESH_Filter.idl \
+ SMESH_Group.idl \
+ SMESH_Pattern.idl
+
+LIB_CLIENT_IDL = \
+ SALOMEDS.idl \
+ GEOM_Gen.idl \
+ MED.idl \
+ SALOMEDS_Attributes.idl \
+ SALOME_GenericObj.idl \
+ SALOME_Comm.idl
# Executables targets
BIN = SMESHEngine
BIN_SRC =
# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome \
- -I${MED_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
-CXXFLAGS+= $(OCC_CXXFLAGS) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome \
- -I${MED_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
-
-LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lRegistry -lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
- -L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls \
- $(OCC_LDPATH) -lTKCDF -lTKBO
-
-
-LDFLAGSFORBIN += -lSMDS -lSMESHDS \
- -L${MED_ROOT_DIR}/lib/salome -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_1 -lMEDWrapper_V2_2 -lmed_V2_1 \
- -lMeshDriver -lMeshDriverMED -lMeshDriverUNV -lMeshDriverDAT -lMeshDriverSTL \
- -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lRegistry -lSalomeResourcesManager \
- -lOpUtil -lSALOMELocalTrace -lSALOMEBasics -lSalomeNotification -lCASCatch \
- -lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
- -L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls -lNMTTools -lNMTDS \
- $(OCC_LDPATH) -lTKCDF -lTKBO -lTKMath
+CPPFLAGS+= \
+ $(OCC_INCLUDES) \
+ $(HDF5_INCLUDES) \
+ $(BOOST_CPPFLAGS) \
+ -I${KERNEL_ROOT_DIR}/include/salome \
+ -I${MED_ROOT_DIR}/include/salome \
+ -I${GEOM_ROOT_DIR}/include/salome
+
+CXXFLAGS+= \
+ $(OCC_CXXFLAGS) \
+ $(HDF5_INCLUDES) \
+ -I${KERNEL_ROOT_DIR}/include/salome \
+ -I${MED_ROOT_DIR}/include/salome \
+ -I${GEOM_ROOT_DIR}/include/salome
+
+LDFLAGS+= \
+ -L${KERNEL_ROOT_DIR}/lib/salome \
+ -lSalomeContainer \
+ -lSalomeNS \
+ -lRegistry \
+ -lSalomeHDFPersist \
+ -lSalomeLifeCycleCORBA \
+ -lTOOLSDS \
+ -lSalomeGenericObj \
+ -L${GEOM_ROOT_DIR}/lib/salome \
+ -lGEOMClient \
+ -lSMESHimpl \
+ -lSMESHControls \
+ $(OCC_LDPATH) \
+ -lTKCDF \
+ -lTKBO
+
+LDFLAGSFORBIN+= \
+ -lSMDS \
+ -lSMESHDS \
+ -L${MED_ROOT_DIR}/lib/salome \
+ -lMEDWrapper \
+ -lMEDWrapperBase \
+ -lMEDWrapper_V2_1 \
+ -lMEDWrapper_V2_2 \
+ -lmed_V2_1 \
+ -lMeshDriver \
+ -lMeshDriverMED \
+ -lMeshDriverUNV \
+ -lMeshDriverDAT \
+ -lMeshDriverSTL \
+ -L${KERNEL_ROOT_DIR}/lib/salome \
+ -lSalomeContainer \
+ -lSalomeNS \
+ -lRegistry \
+ -lSalomeResourcesManager \
+ -lOpUtil \
+ -lSALOMELocalTrace \
+ -lSALOMEBasics \
+ -lSalomeNotification \
+ -lSalomeHDFPersist \
+ -lSalomeLifeCycleCORBA \
+ -lTOOLSDS \
+ -lSalomeGenericObj \
+ -L${GEOM_ROOT_DIR}/lib/salome \
+ -lGEOMClient \
+ -lSMESHimpl \
+ -lSMESHControls \
+ -lNMTTools \
+ -lNMTDS \
+ $(OCC_LDPATH) \
+ -lTKCDF \
+ -lTKBO \
+ -lTKMath
@CONCLUDE@
#include <gp_Pnt.hxx>
#include <BRep_Tool.hxx>
#include <TCollection_AsciiString.hxx>
+#include <OSD.hxx>
#include "Utils_CorbaException.hxx"
#include "Utils_ExceptHandlers.hxx"
#include <map>
-#include <boost/filesystem/path.hpp>
using namespace std;
using SMESH::TPythonDump;
myIsEmbeddedMode = false;
myShapeReader = NULL; // shape reader
mySMESHGen = this;
+
+ OSD::SetSignal( true );
}
//=============================================================================
if(MYDEBUG) MESSAGE( "SMESH_Gen_i::CreateMeshesFromUNV" );
SMESH::SMESH_Mesh_var aMesh = createMesh();
- string aFileName; // = boost::filesystem::path(theFileName).leaf();
+ string aFileName;
// publish mesh in the study
if ( CanPublishInStudy( aMesh ) ) {
SALOMEDS::StudyBuilder_var aStudyBuilder = myCurrentStudy->NewBuilder();
if(MYDEBUG) MESSAGE( "SMESH_Gen_i::CreateMeshesFromSTL" );
SMESH::SMESH_Mesh_var aMesh = createMesh();
- string aFileName; // = boost::filesystem::path(theFileName).leaf();
+ string aFileName;
// publish mesh in the study
if ( CanPublishInStudy( aMesh ) ) {
SALOMEDS::StudyBuilder_var aStudyBuilder = myCurrentStudy->NewBuilder();
BIN_SRC =
# additionnal information to compil and link file
-CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
-CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
+CPPFLAGS+= \
+ $(OCC_INCLUDES) \
+ $(BOOST_CPPFLAGS) \
+ -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSMESHimpl -lMEFISTO2D $(OCC_LDPATH) -lTKAdvTools -L${KERNEL_ROOT_DIR}/lib/salome -L${GEOM_ROOT_DIR}/lib/salome \
- -lCASCatch
+CXXFLAGS+= \
+ $(OCC_CXXFLAGS) \
+ -I${KERNEL_ROOT_DIR}/include/salome \
+ -I${GEOM_ROOT_DIR}/include/salome
+
+LDFLAGS+= \
+ -lSMESHimpl \
+ -lMEFISTO2D \
+ $(OCC_LDPATH) \
+ -lTKAdvTools \
+ -L${KERNEL_ROOT_DIR}/lib/salome \
+ -L${GEOM_ROOT_DIR}/lib/salome
@CONCLUDE@
// $Header$
#include "StdMeshers_Distribution.hxx"
-#include "CASCatch_CatchSignals.hxx"
+#include "CASCatch.hxx"
#include <math_GaussSingleIntegration.hxx>
#include <utilities.h>
bool Function::value( const double, double& f ) const
{
- CASCatch_CatchSignals aCatchSignals;
-
bool ok = true;
if( myConv==0 )
{
myVars( 1, 1 ),
myValues( 1, 1 )
{
- CASCatch_CatchSignals aCatchSignals;
-
bool ok = true;
CASCatch_TRY
{
if( myExpr.IsNull() )
return false;
- CASCatch_CatchSignals aCatchSignals;
-
( ( TColStd_Array1OfReal& )myValues ).ChangeValue( 1 ) = t;
bool ok = true;
CASCatch_TRY {
#include "SMESHDS_SubMesh.hxx"
#include "SMESH_Mesh.hxx"
-#include "CASCatch_CatchSignals.hxx"
+#include "CASCatch.hxx"
#include <ExprIntrp_GenExp.hxx>
#include <Expr_Array1OfNamedUnknown.hxx>
double prev = -PRECISION;
bool isSame = table.size() == _table.size();
- CASCatch_CatchSignals aCatchSignals;
bool pos = false;
for (i=0; i < table.size()/2; i++) {
double par = table[i*2];
bool& non_neg, bool& non_zero,
bool& singulars, double& sing_point )
{
- CASCatch_CatchSignals aCatchSignals;
-
bool parsed_ok = true;
Handle( ExprIntrp_GenExp ) myExpr;
CASCatch_TRY
#include "StdMeshersGUI_DistrPreview.h"
-#include "CASCatch_CatchSignals.hxx"
+#include "CASCatch.hxx"
#include <Expr_NamedUnknown.hxx>
#include <Expr_GeneralExpression.hxx>
delete[] y;
x = y = 0;
- CASCatch_CatchSignals aCatchSignals;
-
CASCatch_TRY
{
replot();
bool StdMeshersGUI_DistrPreview::init( const QString& str )
{
- CASCatch_CatchSignals aCatchSignals;
-
bool parsed_ok = true;
CASCatch_TRY
{
{
double res = 0.0;
- CASCatch_CatchSignals aCatchSignals;
-
ok = true;
CASCatch_TRY {
res = myExpr->Expression()->Evaluate( myVars, myValues );
bool StdMeshersGUI_DistrPreview::convert( double& v ) const
{
- CASCatch_CatchSignals aCatchSignals;
-
bool ok = true;
switch( myConv )
{