Typo-fix by Kunda

http://www.salome-platform.org/forum/forum_9/625363577
This commit is contained in:
eap 2018-06-25 14:29:43 +03:00
parent d0f1a65f28
commit d195b60384
6 changed files with 17 additions and 17 deletions

View File

@ -54,7 +54,7 @@ IF(EXISTS ${KERNEL_ROOT_DIR})
LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files") LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
INCLUDE(SalomeMacros) INCLUDE(SalomeMacros)
FIND_PACKAGE(SalomeKERNEL REQUIRED) FIND_PACKAGE(SalomeKERNEL REQUIRED)
KERNEL_WITH_CORBA() # check whether KERNEL builded with CORBA KERNEL_WITH_CORBA() # check whether KERNEL built with CORBA
ELSE(EXISTS ${KERNEL_ROOT_DIR}) ELSE(EXISTS ${KERNEL_ROOT_DIR})
MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR") MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
ENDIF(EXISTS ${KERNEL_ROOT_DIR}) ENDIF(EXISTS ${KERNEL_ROOT_DIR})
@ -103,7 +103,7 @@ IF(SALOME_BUILD_GUI)
IF(EXISTS ${GUI_ROOT_DIR}) IF(EXISTS ${GUI_ROOT_DIR})
LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/adm_local/cmake_files") LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/adm_local/cmake_files")
FIND_PACKAGE(SalomeGUI) FIND_PACKAGE(SalomeGUI)
SALOME_GUI_WITH_CORBA() # check whether GUI builded with CORBA SALOME_GUI_WITH_CORBA() # check whether GUI built with CORBA
SALOME_GUI_MODE(SALOME_USE_SALOMEOBJECT) SALOME_GUI_MODE(SALOME_USE_SALOMEOBJECT)
ELSE(EXISTS ${GUI_ROOT_DIR}) ELSE(EXISTS ${GUI_ROOT_DIR})
MESSAGE(FATAL_ERROR "We absolutely need a Salome GUI, please define GUI_ROOT_DIR") MESSAGE(FATAL_ERROR "We absolutely need a Salome GUI, please define GUI_ROOT_DIR")

View File

@ -181,7 +181,7 @@ NETGENPlugin_Mesher::NETGENPlugin_Mesher (SMESH_Mesh* mesh,
//================================================================================ //================================================================================
/*! /*!
* Destuctor * Destructor
*/ */
//================================================================================ //================================================================================
@ -918,7 +918,7 @@ void NETGENPlugin_Mesher::PrepareOCCgeometry(netgen::OCCGeometry& occgeo,
if ( shape.ShapeType() != TopAbs_VERTEX ) if ( shape.ShapeType() != TopAbs_VERTEX )
shape = subShapes( subShapes.FindIndex( shape ));// shape -> index -> oriented shape shape = subShapes( subShapes.FindIndex( shape ));// shape -> index -> oriented shape
if ( shape.Orientation() >= TopAbs_INTERNAL ) if ( shape.Orientation() >= TopAbs_INTERNAL )
shape.Orientation( TopAbs_FORWARD ); // isuue 0020676 shape.Orientation( TopAbs_FORWARD ); // issue 0020676
switch ( shape.ShapeType() ) { switch ( shape.ShapeType() ) {
case TopAbs_FACE : occgeo.fmap.Add( shape ); break; case TopAbs_FACE : occgeo.fmap.Add( shape ); break;
case TopAbs_EDGE : occgeo.emap.Add( shape ); break; case TopAbs_EDGE : occgeo.emap.Add( shape ); break;
@ -1659,7 +1659,7 @@ namespace
struct TIntVData struct TIntVData
{ {
gp_XY uv; //!< UV in face parametric space gp_XY uv; //!< UV in face parametric space
int ngId; //!< ng id of corrsponding node int ngId; //!< ng id of corresponding node
gp_XY uvClose; //!< UV of closest boundary node gp_XY uvClose; //!< UV of closest boundary node
int ngIdClose; //!< ng id of closest boundary node int ngIdClose; //!< ng id of closest boundary node
}; };
@ -3210,18 +3210,18 @@ bool NETGENPlugin_Mesher::Compute()
if(netgen::multithread.terminate) if(netgen::multithread.terminate)
return false; return false;
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << text(err); comment << text(err);
} }
catch (Standard_Failure& ex) catch (Standard_Failure& ex)
{ {
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << text(ex); comment << text(ex);
err = 1; err = 1;
} }
catch (netgen::NgException exc) catch (netgen::NgException exc)
{ {
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << text(exc); comment << text(exc);
err = 1; err = 1;
} }
@ -3242,17 +3242,17 @@ bool NETGENPlugin_Mesher::Compute()
if(netgen::multithread.terminate) if(netgen::multithread.terminate)
return false; return false;
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << text(err); comment << text(err);
} }
catch (Standard_Failure& ex) catch (Standard_Failure& ex)
{ {
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << text(ex); comment << text(ex);
} }
catch (netgen::NgException exc) catch (netgen::NgException exc)
{ {
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << text(exc); comment << text(exc);
} }
} }
@ -3285,12 +3285,12 @@ bool NETGENPlugin_Mesher::Compute()
} }
catch (Standard_Failure& ex) catch (Standard_Failure& ex)
{ {
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << "Exception in netgen at passing to 2nd order "; comment << "Exception in netgen at passing to 2nd order ";
} }
catch (netgen::NgException exc) catch (netgen::NgException exc)
{ {
if ( comment.empty() ) // do not overwrite a previos error if ( comment.empty() ) // do not overwrite a previous error
comment << exc.What(); comment << exc.What();
} }
} }

View File

@ -17,7 +17,7 @@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
// //
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses // SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
// File : NETGENPlugin_NETGEN_2D_ONLY_i.cxx // File : NETGENPlugin_NETGEN_2D_ONLY_i.cxx
// Author : Edward AGAPOV (OCC) // Author : Edward AGAPOV (OCC)
// Module : SMESH // Module : SMESH

View File

@ -17,7 +17,7 @@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
// //
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses // SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
// File : NETGENPlugin_NETGEN_2D_ONLY_i.cxx // File : NETGENPlugin_NETGEN_2D_ONLY_i.cxx
// Author : Edward AGAPOV (OCC) // Author : Edward AGAPOV (OCC)
// Module : SMESH // Module : SMESH

View File

@ -20,7 +20,7 @@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
// //
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses // SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
// File : NETGENPlugin_NETGEN_3D_i.cxx // File : NETGENPlugin_NETGEN_3D_i.cxx
// Moved here from SMESH_NETGEN_3D_i.cxx // Moved here from SMESH_NETGEN_3D_i.cxx
// Author : Nadir Bouhamou CEA // Author : Nadir Bouhamou CEA

View File

@ -20,7 +20,7 @@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
// //
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses // SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
// File : NETGENPlugin_NETGEN_3D_i.hxx // File : NETGENPlugin_NETGEN_3D_i.hxx
// Moved here from SMESH_NETGEN_3D_i.hxx // Moved here from SMESH_NETGEN_3D_i.hxx
// Author : Nadir Bouhamou CEA // Author : Nadir Bouhamou CEA