From 734c82522e411c7771f5fe027bb326a95b50643d Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 8 Apr 2019 13:38:22 +0300 Subject: [PATCH] Fix typo by Kunda https://www.salome-platform.org/forum/forum_9/253019360 --- .../SMESH/input/constructing_submeshes.rst | 2 +- .../gui/SMESH/input/extrusion_along_path.rst | 2 +- idl/SMESH_Gen.idl | 32 +++++++++---------- src/MEDWrapper/MED_Structures.hxx | 4 +-- src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx | 2 +- src/SMESHGUI/SMESHGUI_FilterDlg.cxx | 2 +- src/SMESHGUI/SMESHGUI_MeshInfo.cxx | 12 +++---- src/SMESHGUI/SMESHGUI_SelectionProxy.cxx | 4 +-- src/SMESH_I/SMESH_Gen_i.cxx | 2 +- src/SMESH_I/SMESH_subMesh_i.cxx | 2 +- src/SMESH_SWIG/SMESH_box_tetra.py | 6 ++-- src/SMESH_SWIG/smeshBuilder.py | 4 +-- src/StdMeshers/StdMeshers_Prism_3D.cxx | 4 +-- src/StdMeshers/StdMeshers_Prism_3D.hxx | 4 +-- src/StdMeshers/StdMeshers_ViscousLayers.cxx | 6 ++-- 15 files changed, 44 insertions(+), 44 deletions(-) diff --git a/doc/salome/gui/SMESH/input/constructing_submeshes.rst b/doc/salome/gui/SMESH/input/constructing_submeshes.rst index af3c417f4..a5fd97544 100644 --- a/doc/salome/gui/SMESH/input/constructing_submeshes.rst +++ b/doc/salome/gui/SMESH/input/constructing_submeshes.rst @@ -116,7 +116,7 @@ If the parent mesh is already computed, then you can define the **Geometry** by .. image:: ../images/choose_geom_selection_way.png :align: center -**Direct geometry selection** enables selecting the sub-shape in the Objec Browser. +**Direct geometry selection** enables selecting the sub-shape in the Object Browser. **Find geometry by mesh element selection** activates the following dialog. .. image:: ../images/find_geom_by_mesh_elem.png diff --git a/doc/salome/gui/SMESH/input/extrusion_along_path.rst b/doc/salome/gui/SMESH/input/extrusion_along_path.rst index 70fb0cb2f..ce226f877 100644 --- a/doc/salome/gui/SMESH/input/extrusion_along_path.rst +++ b/doc/salome/gui/SMESH/input/extrusion_along_path.rst @@ -143,7 +143,7 @@ Extrusion of 2d elements along a closed path .. |add| image:: ../images/add.png .. |rem| image:: ../images/remove.png - * The elements can also be rotated around the path with rotaion center at the **Base point** to get the resulting mesh in a helical fashion. You can set the values of angles at the right, add them to **Rotation angles** list at the left by pressing the *"Add"* button |add| and remove them from the list by pressing the *"Remove"* button |rem|. + * The elements can also be rotated around the path with rotation center at the **Base point** to get the resulting mesh in a helical fashion. You can set the values of angles at the right, add them to **Rotation angles** list at the left by pressing the *"Add"* button |add| and remove them from the list by pressing the *"Remove"* button |rem|. **Linear variation of angles** option allows defining the angle of gradual rotation for the whole path. At each step the elements will be rotated by *( angle / nb. of steps )*. diff --git a/idl/SMESH_Gen.idl b/idl/SMESH_Gen.idl index 1efbfc2e4..cdb800e87 100644 --- a/idl/SMESH_Gen.idl +++ b/idl/SMESH_Gen.idl @@ -296,7 +296,7 @@ module SMESH * \param invalidEntries - return study entries of objects whose * counterparts are not found in the newGeometry, followed by entries * of mesh sub-objects that are invalid because they depend on a not found - * preceeding sub-shape + * preceding sub-shape */ boolean CopyMeshWithGeom( in SMESH_Mesh sourceMesh, in GEOM::GEOM_Object newGeometry, @@ -500,9 +500,9 @@ module SMESH * Return indices of elements, which are located inside the sphere * \param theSource - mesh, sub-mesh or group * \param theElemType - mesh element type - * \param theX - x cooridate of the center of the sphere - * \param theY - y cooridate of the center of the sphere - * \param theZ - y cooridate of the center of the sphere + * \param theX - x coordinate of the center of the sphere + * \param theY - y coordinate of the center of the sphere + * \param theZ - y coordinate of the center of the sphere * \param theR - radius of the sphere */ long_array GetInsideSphere( in SMESH_IDSource theSource, @@ -516,12 +516,12 @@ module SMESH * Return indices of elements, which are located inside the box * \param theSource - mesh, sub-mesh or group * \param theElemType - mesh element type - * \param theX1 - x cooridate of the first opposite point - * \param theY1 - y cooridate of the first opposite point - * \param theZ1 - y cooridate of the first opposite point - * \param theX2 - x cooridate of the second opposite point - * \param theY2 - y cooridate of the second opposite point - * \param theZ2 - y cooridate of the second opposite point + * \param theX1 - x coordinate of the first opposite point + * \param theY1 - y coordinate of the first opposite point + * \param theZ1 - y coordinate of the first opposite point + * \param theX2 - x coordinate of the second opposite point + * \param theY2 - y coordinate of the second opposite point + * \param theZ2 - y coordinate of the second opposite point */ long_array GetInsideBox( in SMESH_IDSource theSource, in ElementType theElemType, @@ -535,12 +535,12 @@ module SMESH * Return indices of elements, which are located inside the box * \param theSource - mesh, sub-mesh or group * \param theElemType - mesh element type - * \param theX - x cooridate of the cented of the bottom face - * \param theY - y cooridate of the cented of the bottom face - * \param theZ - y cooridate of the cented of the bottom face - * \param theDX - x cooridate of the cented of the base vector - * \param theDY - y cooridate of the cented of the base vector - * \param theDZ - z cooridate of the cented of the base vector + * \param theX - x coordinate of the cented of the bottom face + * \param theY - y coordinate of the cented of the bottom face + * \param theZ - y coordinate of the cented of the bottom face + * \param theDX - x coordinate of the cented of the base vector + * \param theDY - y coordinate of the cented of the base vector + * \param theDZ - z coordinate of the cented of the base vector * \param theH - height of the cylinder * \param theR - radius of the cylinder */ diff --git a/src/MEDWrapper/MED_Structures.hxx b/src/MEDWrapper/MED_Structures.hxx index 3677e372a..2f7b12c5f 100644 --- a/src/MEDWrapper/MED_Structures.hxx +++ b/src/MEDWrapper/MED_Structures.hxx @@ -193,7 +193,7 @@ namespace MED TInt myNbElem; //item( theRow, 2 )->setText(QString("%1").arg(theCriterion.Threshold, 0, 'g', 15)); } else diff --git a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx index 192b1440d..57b1c9343 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx @@ -81,7 +81,7 @@ public: /*! \brief Constructor. \param parent Parent widget. - \param name Field name. Defauls to null string. + \param name Field name. Defaults to null string. */ Field::Field( QWidget* parent, const QString& name ): QLabel( parent ) { @@ -382,7 +382,7 @@ namespace \brief Format connectivity data to string representation. \param connectivity Connectivity map. \param type Element type or face index if negative - \return Stringifed representation of the connectivity. + \return Stringified representation of the connectivity. */ QString formatConnectivity( SMESH::Connectivity connectivity, int type ) { @@ -1036,7 +1036,7 @@ void SMESHGUI_BaseInfo::setFieldsVisible( int startRow, int lastRow, bool on ) } /*! - \brief Write information from panel to ouput stream. + \brief Write information from panel to output stream. \param out Text stream output. */ void SMESHGUI_BaseInfo::saveInfo( QTextStream& out ) @@ -1999,7 +1999,7 @@ void SMESHGUI_ElemInfo::updateControls() } /*! - \brief Write information from panel to ouput stream. + \brief Write information from panel to output stream. \param out Text stream output. */ void SMESHGUI_ElemInfo::saveInfo( QTextStream &out ) @@ -2864,7 +2864,7 @@ void SMESHGUI_AddInfo::showNextSubMeshes() } /*! - \brief Write information from panel to ouput stream. + \brief Write information from panel to output stream. \param out Text stream output. */ void SMESHGUI_AddInfo::saveInfo( QTextStream &out ) @@ -2926,7 +2926,7 @@ public: }; /*! - \brief Contructor. + \brief Constructor. \param parent Parent widget. \internal */ diff --git a/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx b/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx index c4ab63629..5d9c2b961 100644 --- a/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx +++ b/src/SMESHGUI/SMESHGUI_SelectionProxy.cxx @@ -101,7 +101,7 @@ SMESH::SelectionProxy::SelectionProxy( const SelectionProxy& other ) void SMESH::SelectionProxy::init() { if ( myIO.IsNull() ) - myIO = new SALOME_InteractiveObject(); // create dummy IO to avoid crashes when accesing it + myIO = new SALOME_InteractiveObject(); // create dummy IO to avoid crashes when accessing it if ( !CORBA::is_nil( myObject ) ) { @@ -1376,7 +1376,7 @@ void SMESH::MedInfo::setVersion( uint major, uint minor, uint release ) //////////////////////////////////////////////////////////////////////////////// /*! - \brief Contructor. Creates invalid position. + \brief Constructor. Creates invalid position. */ SMESH::Position::Position(): myShapeId(-1), myShapeType(-1), myU(0), myV(0), myHasU(false), myHasV(false) diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index e090b4be1..cf7d6a591 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -3453,7 +3453,7 @@ namespace // utils for CopyMeshWithGeom() * \param [out] invalidEntries - return study entries of objects whose * counterparts are not found in the newGeometry, followed by entries * of mesh sub-objects that are invalid because they depend on a not found - * preceeding sub-shape + * preceding sub-shape * \return CORBA::Boolean - is a success */ //================================================================================ diff --git a/src/SMESH_I/SMESH_subMesh_i.cxx b/src/SMESH_I/SMESH_subMesh_i.cxx index c40722a4c..0162de2b5 100644 --- a/src/SMESH_I/SMESH_subMesh_i.cxx +++ b/src/SMESH_I/SMESH_subMesh_i.cxx @@ -603,7 +603,7 @@ SMESH_Invalid_subMesh_i::SMESH_Invalid_subMesh_i( PortableServer::POA_ptr thePOA //======================================================================= //function : GetSubShape -//purpose : return geomtry which is not a sub-shape of the main shape +//purpose : return geometry which is not a sub-shape of the main shape //======================================================================= GEOM::GEOM_Object_ptr SMESH_Invalid_subMesh_i::GetSubShape() diff --git a/src/SMESH_SWIG/SMESH_box_tetra.py b/src/SMESH_SWIG/SMESH_box_tetra.py index 9e5612e6e..5a2b564be 100644 --- a/src/SMESH_SWIG/SMESH_box_tetra.py +++ b/src/SMESH_SWIG/SMESH_box_tetra.py @@ -34,7 +34,7 @@ import SMESH, SALOMEDS from salome.smesh import smeshBuilder smesh = smeshBuilder.New() -# ---- define a boxe +# ---- define a box box = geompy.MakeBox(0., 0., 0., 100., 200., 300.) @@ -52,7 +52,7 @@ print("number of Edges in box : ", len(subEdgeList)) ### ---------------------------- SMESH -------------------------------------- -# ---- init a Mesh with the boxe +# ---- init a Mesh with the box mesh = smesh.Mesh(box, "MeshBox") @@ -90,7 +90,7 @@ print(hypVolume.GetId()) print(hypVolume.GetMaxElementVolume()) smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume)) -print("-------------------------- compute the mesh of the boxe") +print("-------------------------- compute the mesh of the box") ret = mesh.Compute() print(ret) if ret != 0: diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index d2b35d104..cce91ec02 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -812,7 +812,7 @@ class smeshBuilder( SMESH._objref_SMESH_Gen, object ): Parameters: sourceMesh: the mesh to copy definition of. - newGeom: the new geomtry. + newGeom: the new geometry. meshName: an optional name of the new mesh. If omitted, the mesh name is kept. toCopyGroups: to create groups in the new mesh. toReuseHypotheses: to reuse hypotheses of the *sourceMesh*. @@ -823,7 +823,7 @@ class smeshBuilder( SMESH._objref_SMESH_Gen, object ): *invalidEntries* are study entries of objects whose counterparts are not found in the *newGeom*, followed by entries of mesh sub-objects that are invalid because they depend on a not found - preceeding sub-shape + preceding sub-shape """ if isinstance( sourceMesh, Mesh ): sourceMesh = sourceMesh.GetMesh() diff --git a/src/StdMeshers/StdMeshers_Prism_3D.cxx b/src/StdMeshers/StdMeshers_Prism_3D.cxx index 15708c450..4d02c40bb 100644 --- a/src/StdMeshers/StdMeshers_Prism_3D.cxx +++ b/src/StdMeshers/StdMeshers_Prism_3D.cxx @@ -3989,10 +3989,10 @@ bool StdMeshers_PrismAsBlock::GetLayersTransformation(vector & //================================================================================ /*! - * \brief Check curve orientation of a bootom edge + * \brief Check curve orientation of a bottom edge * \param meshDS - mesh DS * \param columnsMap - node columns map of side face - * \param bottomEdge - the bootom edge + * \param bottomEdge - the bottom edge * \param sideFaceID - side face in-block ID * \retval bool - true if orientation coincide with in-block forward orientation */ diff --git a/src/StdMeshers/StdMeshers_Prism_3D.hxx b/src/StdMeshers/StdMeshers_Prism_3D.hxx index 2ca7a01a3..cacbb7628 100644 --- a/src/StdMeshers/StdMeshers_Prism_3D.hxx +++ b/src/StdMeshers/StdMeshers_Prism_3D.hxx @@ -245,10 +245,10 @@ class STDMESHERS_EXPORT StdMeshers_PrismAsBlock: public SMESH_Block { return myShapeIDMap.FindIndex( shape ); } /*! - * \brief Check curve orientation of a bootom edge + * \brief Check curve orientation of a bottom edge * \param meshDS - mesh DS * \param columnsMap - node columns map of side face - * \param bottomEdge - the bootom edge + * \param bottomEdge - the bottom edge * \param sideFaceID - side face in-block ID * \retval bool - true if orientation coincide with in-block forward orientation */ diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index d34415d3f..36c2806c0 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -1591,7 +1591,7 @@ namespace VISCOUS_3D //================================================================================ /*! - * \brief Computes mimimal distance of face in-FACE nodes from an EDGE + * \brief Computes minimal distance of face in-FACE nodes from an EDGE * \param [in] face - the mesh face to treat * \param [in] nodeOnEdge - a node on the EDGE * \param [out] faceSize - the computed distance @@ -4091,7 +4091,7 @@ gp_XYZ _OffsetPlane::GetCommonPoint(bool& isFound, //================================================================================ /*! - * \brief Find 2 neigbor nodes of a node on EDGE + * \brief Find 2 neighbor nodes of a node on EDGE */ //================================================================================ @@ -4136,7 +4136,7 @@ bool _ViscousBuilder::findNeiborsOnEdge(const _LayerEdge* edge, //================================================================================ /*! - * \brief Set _curvature and _2neibors->_plnNorm by 2 neigbor nodes residing the same EDGE + * \brief Set _curvature and _2neibors->_plnNorm by 2 neighbor nodes residing the same EDGE */ //================================================================================ -- 2.39.2