From: eap Date: Tue, 27 Aug 2019 11:48:19 +0000 (+0300) Subject: Typo fixes by Kunda X-Git-Tag: V9_4_0a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=fad0945128baf5e8d6642d9805727269db28c4cd Typo fixes by Kunda https://salome-platform.org/forum/forum_9/495080934 --- diff --git a/idl/SMESH_MeshEditor.idl b/idl/SMESH_MeshEditor.idl index 6304a53fd..694db6803 100644 --- a/idl/SMESH_MeshEditor.idl +++ b/idl/SMESH_MeshEditor.idl @@ -1324,7 +1324,7 @@ module SMESH /*! * \brief Create a slot of given width around given 1D elements lying on a triangle mesh. - * The slot is consrtucted by cutting faces by cylindrical surfaces made + * The slot is constructed by cutting faces by cylindrical surfaces made * around each segment. Segments are expected to be created by MakePolyLine(). * \return Edges located at the slot boundary */ diff --git a/src/SMESH/SMESH_MesherHelper.hxx b/src/SMESH/SMESH_MesherHelper.hxx index e0a4eb7aa..d4a58cc0a 100644 --- a/src/SMESH/SMESH_MesherHelper.hxx +++ b/src/SMESH/SMESH_MesherHelper.hxx @@ -510,7 +510,7 @@ public: /*! * \brief Define a pointer to wrapper over a function of gp_XY class, * suitable to pass as xyFunPtr to ApplyIn2D(). - * For exaple gp_XY_FunPtr(Added) defines pointer gp_XY_Added to function + * For example gp_XY_FunPtr(Added) defines pointer gp_XY_Added to function * calling gp_XY::Added(gp_XY), which is to be used like following * ApplyIn2D(surf, uv1, uv2, gp_XY_Added) */ diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx index 246adbfbb..11ab3e150 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx @@ -1133,7 +1133,7 @@ void SMESHGUI_BaseComputeOp::showComputeResult( const bool theMemoryLack, aCompDlg->myFullInfo->hide(); } - // pbs of hypo dfinitions + // pbs of hypo definitions if ( theNoHypoError ) { aCompDlg->myHypErrorGroup->hide(); } else { diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 5940ed795..5522e3144 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -489,7 +489,7 @@ SMESHGUI_GenericHypothesisCreator::ListOfWidgets& SMESHGUI_GenericHypothesisCrea //================================================================================ /*! - * \brief Returns a QLabel of a spesified parameter. + * \brief Returns a QLabel of a specified parameter. * If isCreation(), the 1st label (supposed to be "Name") is not countered. */ //================================================================================ diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 5d097f23b..cb6efcb78 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -2329,7 +2329,7 @@ int SMESHGUI_MeshOp::find( const SMESH::SMESH_Hypothesis_var& theHyp, * \param theMess - Output parameter intended for returning error message * \retval bool - TRUE if mesh is edited successfully, FALSE otherwise * - * Assigns new name hypotheses and algoriths to the mesh or sub-mesh + * Assigns new name hypotheses and algorithms to the mesh or sub-mesh */ //================================================================================ bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess ) diff --git a/src/SMESHUtils/SMESH_MeshAlgos.cxx b/src/SMESHUtils/SMESH_MeshAlgos.cxx index a2c9c1036..1af84d598 100644 --- a/src/SMESHUtils/SMESH_MeshAlgos.cxx +++ b/src/SMESHUtils/SMESH_MeshAlgos.cxx @@ -870,7 +870,7 @@ FindElementsByPoint(const gp_Pnt& point, /*! * \brief Find an element of given type most close to the given point * - * WARNING: Only face search is implemeneted so far + * WARNING: Only edge, face and volume search is implemented so far */ //======================================================================= diff --git a/src/SMESHUtils/SMESH_MeshAlgos.hxx b/src/SMESHUtils/SMESH_MeshAlgos.hxx index 1ceb456db..830dffebb 100644 --- a/src/SMESHUtils/SMESH_MeshAlgos.hxx +++ b/src/SMESHUtils/SMESH_MeshAlgos.hxx @@ -500,7 +500,7 @@ namespace SMESH_MeshAlgos /*! * Create a slot of given width around given 1D elements lying on a triangle mesh. - * The slot is consrtucted by cutting faces by cylindrical surfaces made around each segment. + * The slot is constructed by cutting faces by cylindrical surfaces made around each segment. * \return Edges located at the slot boundary */ // Implemented in ./SMESH_Slot.cxx diff --git a/src/SMESHUtils/SMESH_Slot.cxx b/src/SMESHUtils/SMESH_Slot.cxx index a11555ddd..feba809a8 100644 --- a/src/SMESHUtils/SMESH_Slot.cxx +++ b/src/SMESHUtils/SMESH_Slot.cxx @@ -518,7 +518,7 @@ namespace //================================================================================ /*! * \brief Create a slot of given width around given 1D elements lying on a triangle mesh. - * The slot is consrtucted by cutting faces by cylindrical surfaces made around each segment. + * The slot is constructed by cutting faces by cylindrical surfaces made around each segment. * \return Edges located at the slot boundary */ //================================================================================ diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 3bcb224e2..7b403d9aa 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -724,7 +724,7 @@ StudyContext* SMESH_Gen_i::GetStudyContext() /*! * SMESH_Gen_i::CreateHypothesis * - * Create hypothesis/algorothm of given type and publish it in the study + * Create hypothesis/algorithm of given type and publish it in the study */ //============================================================================= diff --git a/src/SMESH_I/SMESH_Gen_i.hxx b/src/SMESH_I/SMESH_Gen_i.hxx index f94e5395e..52cd172b4 100644 --- a/src/SMESH_I/SMESH_Gen_i.hxx +++ b/src/SMESH_I/SMESH_Gen_i.hxx @@ -158,7 +158,7 @@ public: // Update study void UpdateStudy(); - // Create hypothesis/algorothm of given type + // Create hypothesis/algorithm of given type SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const char* theHypType, const char* theLibName) throw ( SALOME::SALOME_Exception ); diff --git a/src/SMESH_I/SMESH_MeshEditor_i.cxx b/src/SMESH_I/SMESH_MeshEditor_i.cxx index dec18fa04..c32453a9d 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.cxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.cxx @@ -7490,7 +7490,7 @@ void SMESH_MeshEditor_i::MakePolyLine(SMESH::ListOfPolySegments& theSegments, //================================================================================ /*! * \brief Create a slot of given width around given 1D elements lying on a triangle mesh. - * The slot is consrtucted by cutting faces by cylindrical surfaces made + * The slot is constructed by cutting faces by cylindrical surfaces made * around each segment. Segments are expected to be created by MakePolyLine(). * \return Edges located at the slot boundary */ diff --git a/src/SMESH_I/SMESH_MeshEditor_i.hxx b/src/SMESH_I/SMESH_MeshEditor_i.hxx index 6602b0f1f..03ab4c801 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.hxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.hxx @@ -943,7 +943,7 @@ public: /*! * \brief Create a slot of given width around given 1D elements lying on a triangle mesh. - * The slot is consrtucted by cutting faces by cylindrical surfaces made + * The slot is constructed by cutting faces by cylindrical surfaces made * around each segment. Segments are expected to be created by MakePolyLine(). * \return Edges located at the slot boundary */ diff --git a/src/SMESH_I/SMESH_PythonDump.cxx b/src/SMESH_I/SMESH_PythonDump.cxx index 6a88325b1..e1033e3bd 100644 --- a/src/SMESH_I/SMESH_PythonDump.cxx +++ b/src/SMESH_I/SMESH_PythonDump.cxx @@ -954,7 +954,7 @@ namespace { //================================================================================ /*! - * \brief Createa a Dump Python script + * \brief Creates a Dump Python script * \param [in,out] theObjectNames - map of an entry to a study and python name * \param [in] theNames - - map of an entry to a study name * \param [in] isPublished - \c true if dump of object publication in study is needed diff --git a/src/SMESH_SWIG/SMESH_shared_modules.py b/src/SMESH_SWIG/SMESH_shared_modules.py index cd65b4a9e..4ffe625f4 100644 --- a/src/SMESH_SWIG/SMESH_shared_modules.py +++ b/src/SMESH_SWIG/SMESH_shared_modules.py @@ -25,7 +25,7 @@ """ -# force SMESH importation at interpretor initialization +# force SMESH importation at interpreter initialization # see salome_shared_modules.py # (avoids incomplete import at run time) diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index 464cf3714..52d245157 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -6917,7 +6917,7 @@ class Mesh(metaclass = MeshMeta): def MakeSlot(self, segmentGroup, width ): """ Create a slot of given width around given 1D elements lying on a triangle mesh. - The slot is consrtucted by cutting faces by cylindrical surfaces made + The slot is constructed by cutting faces by cylindrical surfaces made around each segment. Segments are expected to be created by MakePolyLine(). Returns: diff --git a/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx b/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx index c34a9b127..6c1f6c135 100644 --- a/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx +++ b/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx @@ -1510,7 +1510,7 @@ const char* SMESH_Swig::AddNewAlgorithm(const char* ior, const char* name) ///////////////////////////////////////////////////////////////// /// \deprecated Publishing is done automatically. -/// \deprecated Synonim of AddNewAlgorithm(). +/// \deprecated Synonym of AddNewAlgorithm(). /// \param ior IOR of the algorithm. /// \param name Name of the algorithm (optional). /// \return UID of the data object. diff --git a/src/StdMeshers/StdMeshers_FaceSide.hxx b/src/StdMeshers/StdMeshers_FaceSide.hxx index 67ce0b301..747bd1d29 100644 --- a/src/StdMeshers/StdMeshers_FaceSide.hxx +++ b/src/StdMeshers/StdMeshers_FaceSide.hxx @@ -109,7 +109,7 @@ public: ~StdMeshers_FaceSide(); - // static "consrtuctors" + // static "constructors" static StdMeshers_FaceSidePtr New(const TopoDS_Face& Face, const TopoDS_Edge& Edge, SMESH_Mesh* Mesh, diff --git a/src/StdMeshers/StdMeshers_NumberOfSegments.cxx b/src/StdMeshers/StdMeshers_NumberOfSegments.cxx index 1d421b975..011e0e229 100644 --- a/src/StdMeshers/StdMeshers_NumberOfSegments.cxx +++ b/src/StdMeshers/StdMeshers_NumberOfSegments.cxx @@ -546,12 +546,12 @@ istream & StdMeshers_NumberOfSegments::LoadFrom(istream & load) // we wait here the scale factor, which is double. // 2. If the hypothesis is stored in new format // (nb.segments, distr.type, some other params.), - // we wait here the ditribution type, which is integer + // we wait here the distribution type, which is integer double scale_factor; isOK = static_cast(load >> scale_factor); a = (int)scale_factor; - // try to interpret ditribution type, + // try to interpret distribution type, // supposing that this hypothesis was written in the new format if (isOK) { diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index 36c2806c0..31669f15c 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -8953,7 +8953,7 @@ gp_XYZ _LayerEdge::smoothAngular() //================================================================================ /*! - * \brief Computes a new node position using weigthed node positions + * \brief Computes a new node position using weighted node positions */ //================================================================================ diff --git a/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx index 5f193dc30..b70d05091 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx @@ -457,7 +457,7 @@ namespace StdMeshersGUI //================================================================================ /*! - * \brief Returms spacing to set to a hypothesis + * \brief Returns spacing to set to a hypothesis */ //================================================================================ diff --git a/src/Tools/MGCleanerPlug/doc/editHypo.rst b/src/Tools/MGCleanerPlug/doc/editHypo.rst index 75bbe5182..c122fadaf 100644 --- a/src/Tools/MGCleanerPlug/doc/editHypo.rst +++ b/src/Tools/MGCleanerPlug/doc/editHypo.rst @@ -5,9 +5,9 @@ How to save MG-Cleaner Parameters ================================= MG-Cleaner hypothesis is not meshing hypothesis for Salome, but hypothesis for MG-Cleaner. -The current set of parameters is automatically written in the salome study object browser when you run computation. +The current set of parameters is automatically written in the Salome study object browser when you run computation. -Theses parameters could also be stored in a special file. +These parameters could also be stored in a special file. Default file is $HOME/.MGCleaner.dat. This ASCII file is appended, and never cleaned. diff --git a/src/Tools/MGCleanerPlug/doc/index.rst b/src/Tools/MGCleanerPlug/doc/index.rst index 533951573..032067dfa 100644 --- a/src/Tools/MGCleanerPlug/doc/index.rst +++ b/src/Tools/MGCleanerPlug/doc/index.rst @@ -9,7 +9,7 @@ This documentation covers the usage of MeshGems-Cleaner, also named MG-Cleaner o Mesh module for remeshing 2D Surface. MG-Cleaner plug-in uses Distene commercial software MeshGems-Cleaner, which is an **automatic surface remeshing tool**. -This plug_in offers only the most common functionnalities of the tool. +This plug_in offers only the most common functionalities of the tool. .. note:: for a complete documentation, see :download:`MG-cleaner user manual `. diff --git a/src/Tools/YamsPlug/doc/editHypo.rst b/src/Tools/YamsPlug/doc/editHypo.rst index 20074cd3b..3ed332ecd 100644 --- a/src/Tools/YamsPlug/doc/editHypo.rst +++ b/src/Tools/YamsPlug/doc/editHypo.rst @@ -5,9 +5,9 @@ How to save MeshGems-SurfOpt Parameters ======================================= MeshGems-SurfOpt hypothesis is not a meshing hypothesis for Salome, but an hypothesis for MeshGems-SurfOpt. -The current set of parameters is automatically written in the salome study object browser when you run computation. +The current set of parameters is automatically written in the Salome study object browser when you run computation. -Theses parameters could also be stored in a special file. +These parameters could also be stored in a special file. Default file is $HOME/.MGSurfOpt.dat. This ASCII file is appended, and never cleaned. diff --git a/src/Tools/YamsPlug/doc/index.rst b/src/Tools/YamsPlug/doc/index.rst index e58f86526..16533bcba 100644 --- a/src/Tools/YamsPlug/doc/index.rst +++ b/src/Tools/YamsPlug/doc/index.rst @@ -9,7 +9,7 @@ This documentation covers the usage of MeshGems-SurfOpt as plug-in in Salome tha Mesh module for remeshing 2D Surface. MeshGems-SurfOpt plug-in uses Distene commercial software MeshGems-SurfOpt, which is an **automatic surface remeshing tool**. -This plug-in offers only the most common functionnalities of the tool. +This plug-in offers only the most common functionalities of the tool. .. note:: for a complete documentation, see :download:`MeshGems-SurfOpt: The automatic surface remeshing tool of the MeshGems Suite `. diff --git a/src/Tools/padder/README.txt b/src/Tools/padder/README.txt index 2ecebb32c..c4ea3c19c 100644 --- a/src/Tools/padder/README.txt +++ b/src/Tools/padder/README.txt @@ -10,7 +10,7 @@ as the radius of a sphere whose center is the location of the particule. Discrete meshes are typically used to modelize civil components in rapid dynamic computation problems (seisms, chocs). These components consists in concrete parts embedding steal bares for reinforcement. These parts are input to the algorithm -as standard finite elements meshes. The cells of theses meshes drive the location +as standard finite elements meshes. The cells of these meshes drive the location and sizing of particules. In the med representation, a discrete mesh is described as MED_BALL elements. diff --git a/src/Tools/padder/meshjob/idl/MESHJOB.idl b/src/Tools/padder/meshjob/idl/MESHJOB.idl index 636ead0a6..736105e7b 100644 --- a/src/Tools/padder/meshjob/idl/MESHJOB.idl +++ b/src/Tools/padder/meshjob/idl/MESHJOB.idl @@ -33,7 +33,7 @@ module MESHJOB { // - // Structure to transmit the parameters requiered for the job to run + // Structure to transmit the parameters required for the job to run // the executable program on the target resource. See configure // service. // diff --git a/src/Tools/padder/meshjob/idl/SPADDERPluginTest.idl b/src/Tools/padder/meshjob/idl/SPADDERPluginTest.idl index 6c46c4f14..b0db5850b 100644 --- a/src/Tools/padder/meshjob/idl/SPADDERPluginTest.idl +++ b/src/Tools/padder/meshjob/idl/SPADDERPluginTest.idl @@ -29,7 +29,7 @@ module SPADDERPluginTest { // // ======================================================================== - // Thi module defines an interface provided for testing the usage + // This module defines an interface provided for testing the usage // of SPADDERPlugin components and underlying classes from within a // C++ unit test running in a SALOME container (easy to run from a // python client).. diff --git a/src/Tools/padder/resources/appligen/CatalogResources.xml b/src/Tools/padder/resources/appligen/CatalogResources.xml index 4900b5fd3..b21be6942 100644 --- a/src/Tools/padder/resources/appligen/CatalogResources.xml +++ b/src/Tools/padder/resources/appligen/CatalogResources.xml @@ -6,13 +6,13 @@ protocol="ssh" batch="ssh_batch" memInMB="500" CPUFreqMHz="0" nbOfNodes="1" nbOfProcPerNode="1"/> - + - +