Salome HOME
Fix typo by Kunda
authoreap <eap@opencascade.com>
Mon, 8 Apr 2019 10:38:22 +0000 (13:38 +0300)
committereap <eap@opencascade.com>
Mon, 8 Apr 2019 10:38:22 +0000 (13:38 +0300)
https://www.salome-platform.org/forum/forum_9/253019360

15 files changed:
doc/salome/gui/SMESH/input/constructing_submeshes.rst
doc/salome/gui/SMESH/input/extrusion_along_path.rst
idl/SMESH_Gen.idl
src/MEDWrapper/MED_Structures.hxx
src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
src/SMESHGUI/SMESHGUI_MeshInfo.cxx
src/SMESHGUI/SMESHGUI_SelectionProxy.cxx
src/SMESH_I/SMESH_Gen_i.cxx
src/SMESH_I/SMESH_subMesh_i.cxx
src/SMESH_SWIG/SMESH_box_tetra.py
src/SMESH_SWIG/smeshBuilder.py
src/StdMeshers/StdMeshers_Prism_3D.cxx
src/StdMeshers/StdMeshers_Prism_3D.hxx
src/StdMeshers/StdMeshers_ViscousLayers.cxx

index af3c417f4e8d4910ed423ef52b43ffce493925de..a5fd975449e6e5e6dd7f5c9be6db91a74bd3475d 100644 (file)
@@ -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
 
 .. 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
 **Find geometry by mesh element selection** activates the following dialog.
 
 .. image:: ../images/find_geom_by_mesh_elem.png
index 70fb0cb2f420d19e9f2f415f5bcba2b4059a890d..ce226f877a17c210b5818f9512abc5196f62a1d1 100644 (file)
@@ -143,7 +143,7 @@ Extrusion of 2d elements along a closed path
    .. |add| image:: ../images/add.png
    .. |rem| image:: ../images/remove.png
 
    .. |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 )*.
 
 
      **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 )*.
 
index 1efbfc2e459cf429ad3da3ec39123f71adf8dcba..cdb800e87d8317736b0011750ccaa77662d669d5 100644 (file)
@@ -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
      *  \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,
      */
     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
      * 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,
      *  \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
      * 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,
      */
     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
      * 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
      */
      *  \param theH - height of the cylinder
      *  \param theR - radius of the cylinder
      */
index 3677e372a19e34d1e05344cc99a9affa7da851b2..2f7b12c5fc160c308ab790a6c8b20a98a9e7fee3 100644 (file)
@@ -193,7 +193,7 @@ namespace MED
     TInt myNbElem; //<! Number of corresponding mesh entities
     TInt GetNbElem() const { return myNbElem; } //! Get number of mesh elements
 
     TInt myNbElem; //<! Number of corresponding mesh entities
     TInt GetNbElem() const { return myNbElem; } //! Get number of mesh elements
 
-    //! Defines sequence MED Family indexes for corresponding mesh entites
+    //! Defines sequence MED Family indexes for corresponding mesh entities
     PElemNum myFamNum;
     //! Get number of a MED FAMILY by order number of the mesh element
     TInt GetFamNum(TInt theId) const;
     PElemNum myFamNum;
     //! Get number of a MED FAMILY by order number of the mesh element
     TInt GetFamNum(TInt theId) const;
@@ -587,7 +587,7 @@ namespace MED
     size_t
     GetSize() const;
 
     size_t
     GetSize() const;
 
-    //! Returns MED interpetation of the value size
+    //! Returns MED interpretation of the value size
     size_t
     GetNbVal() const;
 
     size_t
     GetNbVal() const;
 
index 3d72ff4b07f58b9c61e492e8037ebac654d01f3c..13e7db6ce0343c656db0d90c7d6923ed9690891b 100644 (file)
@@ -356,7 +356,7 @@ QString SMESHGUI_CopyMeshDlg::getErrorMsg( SMESH::string_array_var theInvalidEnt
   // theInvalidEntries - SObject's that hold geometry objects whose
   // counterparts are not found in the newGeometry, followed by SObject's
   // holding mesh sub-objects that are invalid because they depend on a not found
   // theInvalidEntries - SObject's that hold geometry objects whose
   // counterparts are not found in the newGeometry, followed by SObject's
   // holding mesh sub-objects that are invalid because they depend on a not found
-  // preceeding sub-shape
+  // preceding sub-shape
 
   QString msg = tr("SUBSHAPES_NOT_FOUND_MSG") + "\n";
 
 
   QString msg = tr("SUBSHAPES_NOT_FOUND_MSG") + "\n";
 
index b944b337d1680c5464fbdbd24a44ea60defbacc2..dc26fa1c2a1e5f46aaedd7af7ce987dcdc27cfd9 100644 (file)
@@ -1402,7 +1402,7 @@ void SMESHGUI_FilterTable::SetCriterion (const int                       theRow,
            theCriterion.Type != SMESH::FT_OverConstrainedVolume &&
            theCriterion.Type != SMESH::FT_LinearOrQuadratic)
   {
            theCriterion.Type != SMESH::FT_OverConstrainedVolume &&
            theCriterion.Type != SMESH::FT_LinearOrQuadratic)
   {
-    // Numberic criterion
+    // Numeric criterion
     aTable->item( theRow, 2 )->setText(QString("%1").arg(theCriterion.Threshold, 0, 'g', 15));
   }
   else
     aTable->item( theRow, 2 )->setText(QString("%1").arg(theCriterion.Threshold, 0, 'g', 15));
   }
   else
index 192b1440d5500d5f583e3010c9a9df3277de258b..57b1c9343725927976d4a079f6b430a2e79d6ee4 100644 (file)
@@ -81,7 +81,7 @@ public:
 /*!
   \brief Constructor.
   \param parent Parent widget.
 /*!
   \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 )
 {
 */
 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
     \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 )
   {
   */
   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 )
   \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 )
   \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 )
   \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
 */
   \param parent Parent widget.
   \internal
 */
index c4ab63629eec39c53ed1353b70e00c33f8dbccf3..5d9c2b9613d3c22c97034a65a3352a5bd6e9eb17 100644 (file)
@@ -101,7 +101,7 @@ SMESH::SelectionProxy::SelectionProxy( const SelectionProxy& other )
 void SMESH::SelectionProxy::init()
 {
   if ( myIO.IsNull() )
 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 ) )
   {
 
   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)
 */
 SMESH::Position::Position():
   myShapeId(-1), myShapeType(-1), myU(0), myV(0), myHasU(false), myHasV(false)
index e090b4be1ba9e893c303c03bda2be0e97a54a09a..cf7d6a591fb9962d4894b18cf7a409d6e9fc157d 100644 (file)
@@ -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
  *  \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
  */
 //================================================================================
  *  \return CORBA::Boolean - is a success
  */
 //================================================================================
index c40722a4c42c03abf337cf341d5cbbddb14fa9ba..0162de2b5ecd2f29fb4c307101bf8f0384628ecc 100644 (file)
@@ -603,7 +603,7 @@ SMESH_Invalid_subMesh_i::SMESH_Invalid_subMesh_i( PortableServer::POA_ptr thePOA
 
 //=======================================================================
 //function : GetSubShape
 
 //=======================================================================
 //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()
 //=======================================================================
 
 GEOM::GEOM_Object_ptr SMESH_Invalid_subMesh_i::GetSubShape()
index 9e5612e6e9350635bc3f6d2867c7320d9dfeb35f..5a2b564bed2a66a7f429e57cfad23b6dd2d5c2cf 100644 (file)
@@ -34,7 +34,7 @@ import SMESH, SALOMEDS
 from salome.smesh import smeshBuilder
 smesh =  smeshBuilder.New()
 
 from salome.smesh import smeshBuilder
 smesh =  smeshBuilder.New()
 
-# ---- define a boxe
+# ---- define a box
 
 box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
 
 
 box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
 
@@ -52,7 +52,7 @@ print("number of Edges  in box : ", len(subEdgeList))
 
 ### ---------------------------- SMESH --------------------------------------
 
 
 ### ---------------------------- SMESH --------------------------------------
 
-# ---- init a Mesh with the boxe
+# ---- init a Mesh with the box
 
 mesh = smesh.Mesh(box, "MeshBox")
 
 
 mesh = smesh.Mesh(box, "MeshBox")
 
@@ -90,7 +90,7 @@ print(hypVolume.GetId())
 print(hypVolume.GetMaxElementVolume())
 smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume))
 
 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:
 ret = mesh.Compute()
 print(ret)
 if ret != 0:
index d2b35d10465a221c7606b6ecba51703762449158..cce91ec022011a54b7855874462c7cc220faec09 100644 (file)
@@ -812,7 +812,7 @@ class smeshBuilder( SMESH._objref_SMESH_Gen, object ):
 
         Parameters:
                 sourceMesh: the mesh to copy definition of.
 
         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*.
                 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
                 *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()
         """
         if isinstance( sourceMesh, Mesh ):
             sourceMesh = sourceMesh.GetMesh()
index 15708c450aa578097c3a528127391d1873d980a5..4d02c40bba688f46bbcbff375987ff0dcb4d32d2 100644 (file)
@@ -3989,10 +3989,10 @@ bool StdMeshers_PrismAsBlock::GetLayersTransformation(vector<gp_Trsf> &
 
 //================================================================================
 /*!
 
 //================================================================================
 /*!
- * \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 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
  */
   * \param sideFaceID - side face in-block ID
   * \retval bool - true if orientation coincide with in-block forward orientation
  */
index 2ca7a01a314fda6335e747da53a1964bf24215b0..cacbb7628acda16f78e6baa9e9551f54978d78ee 100644 (file)
@@ -245,10 +245,10 @@ class STDMESHERS_EXPORT StdMeshers_PrismAsBlock: public SMESH_Block
   { return myShapeIDMap.FindIndex( shape ); }
 
   /*!
   { 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 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
    */
    *  \param sideFaceID - side face in-block ID
    *  \retval bool - true if orientation coincide with in-block forward orientation
    */
index d34415d3f4f1c7cc8925991e96ea5052164ed2f2..36c2806c0eb49d4f6471e18390df5a59e4982c80 100644 (file)
@@ -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
    *  \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
  */
 //================================================================================
 
  */
 //================================================================================