Salome HOME
fix of typos by kunda http://www.salome-platform.org/forum/forum_10/789486812
authoreap <eap@opencascade.com>
Tue, 17 Oct 2017 10:49:39 +0000 (13:49 +0300)
committereap <eap@opencascade.com>
Tue, 17 Oct 2017 10:49:39 +0000 (13:49 +0300)
24 files changed:
SalomeMEDConfig.cmake.in
doc/dev/sphinx/fr/medcalc-userguide-api.rst
doc/dev/sphinx/medcalc-userguide-api.rst
doc/dev/sphinx/medcalc-userguide-gui.rst
doc/dev/sphinx/medop-workingnotes-2011.rst
doc/tut/medcoupling/testpil.py
src/MEDCalc/cmp/MEDDataManager_i.cxx
src/MEDCalc/cmp/MEDPresentationContour.cxx
src/MEDCalc/cmp/MEDPresentationPointSprite.cxx
src/MEDCalc/cmp/MEDPresentationScalarMap.cxx
src/MEDCalc/cmp/MEDPresentationSlices.cxx
src/MEDCalc/cmp/MEDPresentationVectorField.cxx
src/MEDCalc/cmp/MEDPyLockWrapper.hxx
src/MEDCalc/gui/DatasourceController.cxx
src/MEDCalc/gui/MEDWidgetHelper.hxx
src/MEDCalc/gui/ProcessingController.cxx
src/MEDCalc/gui/WorkspaceController.cxx
src/MEDCalc/tui/medcorba.py
src/MEDCalculator/MEDCalculatorBrowserLiteStruct.cxx
src/MEDCalculator/MEDCalculatorBrowserLiteStruct.hxx
src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponent.cxx
src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py
src/MEDGUI/MEDGUIFileContentDial.cxx
src/MEDGUI/MEDGUISelectComponents.h

index 201fd67888cee929a8ed8e63edbd90fdebfbfe28..400c014d49d16ef1e0286859a83db9ec221755ff 100644 (file)
@@ -1,6 +1,6 @@
 # - Config file for the @PROJECT_NAME@ package
 # It defines the following variables.
-# Specific to the pacakge @PROJECT_NAME@ itself:
+# Specific to the package @PROJECT_NAME@ itself:
 #  @PROJECT_NAME_UC@_ROOT_DIR_EXP - the root path of the installation providing this CMake file
 #
 
index e498baa680a2ed909851c3f9056e6544de6475d9..6997bb39618a47ae22c819fd1c41e6d96088d591 100644 (file)
@@ -44,7 +44,7 @@ install only the MEDMEM library from the source files embedded in the
 SALOME MED module. Keep in mind that the MEDMEM library is designed to
 be a self-consistent library with very few third party softwares (only
 med-file, glibc and mpi typically). In particular, it is strictly
-independant from the SALOME framework even if it distributed with
+independent from the SALOME framework even if it distributed with
 SALOME for convenience reasons.
 
 Components of the MEDMEM library
@@ -119,7 +119,7 @@ Preparing the shell environment
 We make the hypothesis here that the MEDMEM library is installed using
 the SALOME procedure and then is located in the MED module
 installation directory. In addition to the MED library, the third
-party softwares required for executing the examples are: python, hdf5
+party software required for executing the examples are: python, hdf5
 and med-fichier. Then, you should prepare your shell environment
 with a set of instructions that looks like::
 
@@ -292,7 +292,7 @@ does not provide such data structures.
 We suggest to work with a simple list concept to store the metadata
 for each mesh entry and each field entry. Note that a mesh entry is
 characterized by the mesh name only, while a field entry is
-charaterized by the following attributes:
+characterized by the following attributes:
 
 * :tt:`fieldName`: the name of the field
 * :tt:`meshName`: the name of the mesh that supports the field
@@ -300,7 +300,7 @@ charaterized by the following attributes:
 * :tt:`iteration`: a couple of integers :tt:`(iter,order)` that
   characterizes the step in a serie (timeseries or spectrum).
 
-By default, we suggest to work with a simple map concept (dictionnary in a
+By default, we suggest to work with a simple map concept (dictionary in a
 python context, map in a C++ context) to register the meshes and
 fields loaded from the med file for each metadata entry.
 
@@ -309,7 +309,7 @@ you may dispatch the data in a tree structure that fit your specific
 case, for performance reasons. For example, the following code
 illustrates how to dispatch the metadata in a tree data structure
 where leaves are the physical data (field objects). We first have to
-define a tree structure (basic definition in htis simple case, but it
+define a tree structure (basic definition in this simple case, but it
 works fine):
 
 .. include:: ../../../tut/medloader/manage.py
@@ -377,18 +377,18 @@ operation required first to load the mesh:
    :start-after: # _T3A
    :end-before: # _T3B
 
-Exemple 05: Compare fields load from different files
+Example 05: Compare fields load from different files
 ----------------------------------------------------
 
 :objectives: Illustrates the usage of the function
              changeUnderlyingMesh
 
-Exemple 06: Create a field from scratch on a spatial domain
+Example 06: Create a field from scratch on a spatial domain
 -----------------------------------------------------------
 
 :objectives: Illustrates the applyFunc method of fields
 
-Exemple 07: Manipulate structured mesh
+Example 07: Manipulate structured mesh
 --------------------------------------
 
 :objectives: Illustrates the basic usage of the advanced interface of
@@ -433,7 +433,7 @@ methode :tt:`write` of the :tt:`MEDFileMesh` object:
    :start-after: # _T3A
    :end-before: # _T3B
 
-Exemple 08: Make a projection of a field
+Example 08: Make a projection of a field
 ----------------------------------------
 
 :objectives: Make the projection of a field from a source mesh to a
@@ -487,7 +487,7 @@ the target mesh, as illustrated on the figure below:
 .. image:: ../images/medop_projection_result.png
    :align: center
 
-Exemple 09: Make a partition of a mesh using a field
+Example 09: Make a partition of a mesh using a field
 ----------------------------------------------------
 
 :objective: This illustrates how to make a mesh partition using the
@@ -523,6 +523,6 @@ This section could explain how to process the physical data
 (dataArray) and to manipulate the advanced concepts of the MEDMEM
 library.
 
-.. Exemple 01: Create a field from an image
+.. Example 01: Create a field from an image
 .. ----------------------------------------
 
index 9914f26b96f9b61717ab1cb704d1daeec1595f97..35403edd64220f5727bb9b3b7edc46446ee0bee4 100644 (file)
@@ -119,7 +119,7 @@ Preparing the shell environment
 We make the hypothesis here that the MEDMEM library is installed using
 the SALOME procedure and then is located in the MED module
 installation directory. In addition to the MED library, the third
-party softwares required for executing the examples are: python, hdf5
+party software required for executing the examples are: python, hdf5
 and med-fichier. Then, you should prepare your shell environment
 with a set of instructions that looks like::
 
@@ -377,18 +377,18 @@ operation required first to load the mesh:
    :start-after: # _T3A
    :end-before: # _T3B
 
-Exemple 05: Compare fields load from different files
+Example 05: Compare fields load from different files
 ----------------------------------------------------
 
 :objectives: Illustrates the usage of the function
              changeUnderlyingMesh
 
-Exemple 06: Create a field from scratch on a spatial domain
+Example 06: Create a field from scratch on a spatial domain
 -----------------------------------------------------------
 
 :objectives: Illustrates the applyFunc method of fields
 
-Exemple 07: Manipulate structured mesh
+Example 07: Manipulate structured mesh
 --------------------------------------
 
 :objectives: Illustrates the basic usage of the advanced interface of
@@ -433,7 +433,7 @@ methode :tt:`write` of the :tt:`MEDFileMesh` object:
    :start-after: # _T3A
    :end-before: # _T3B
 
-Exemple 08: Make a projection of a field
+Example 08: Make a projection of a field
 ----------------------------------------
 
 :objectives: Make the projection of a field from a source mesh to a
@@ -487,7 +487,7 @@ the target mesh, as illustrated on the figure below:
 .. image:: images/medop_projection_result.png
    :align: center
 
-Exemple 09: Make a partition of a mesh using a field
+Example 09: Make a partition of a mesh using a field
 ----------------------------------------------------
 
 :objective: This illustrates how to make a mesh partition using the
@@ -523,6 +523,6 @@ This section could explain how to process the physical data
 (dataArray) and to manipulate the advanced concepts of the MEDMEM
 library.
 
-.. Exemple 01: Create a field from an image
+.. Example 01: Create a field from an image
 .. ----------------------------------------
 
index 7a5de95c85544cbea3536925bfff5a5880279339..b2bb40150047a32b86a3b67cf220b84f613c6552 100644 (file)
@@ -29,7 +29,7 @@ General presentation of MED module
 ==================================
 
 The overall ergonomics of MED module for field manipulation is inspired by
-softwares such as octave or scilab. It combines a graphical interface (GUI) to
+software such as octave or scilab. It combines a graphical interface (GUI) to
 select and prepare data, with a textual interface (the python console, TUI)
 for actual work on data.
 
index 269b63b5a1f3673b99b567b05d4b7dfc7933176f..de7cb274f55ae7f4a76d3b38eaeb539e370271ca 100644 (file)
@@ -130,7 +130,7 @@ Questions:
 
 * mapper sur une image
 
-Improvments:
+Improvements:
 
 * MEDLoader::Write should raise an exception if the filepath is not writable
 * MEDDataManager: développer une classe chapeau sur MEDCoupling et
index 0f8ef702ef97867b69606a4291fd76390259c45d..5e2e73bbbd6d28d959f66cb8303b1a253993d94c 100755 (executable)
@@ -37,7 +37,7 @@ def image2matrix():
     # Get a grayscale version
     imgbw=ImageOps.grayscale(img)
     
-    # Save the image (optionnal)
+    # Save the image (optional)
     imgbw.save(fp="testsbw.pgm")
     
     # Get the data
index b3ef305456c7eea54dcafc6cf574d4c4abdae4b9..bd9b60c540812402d55e508cfc82079531a8792b 100644 (file)
@@ -93,7 +93,7 @@ std::string MEDDataManager_i::source_to_file(const char * source)
 /*!
  * This function loads the meta-data from the specified med file and
  * returns the associated datasource handler. The data source handler
- * is a key to retrieve all informations concerning the data (meshes,
+ * is a key to retrieve all information concerning the data (meshes,
  * fields).
  */
 MEDCALC::DatasourceHandler * MEDDataManager_i::loadDatasource(const char *filepath) {
@@ -620,7 +620,7 @@ MEDCouplingFieldDouble * MEDDataManager_i::getFieldDouble(const MEDCALC::FieldHa
   // one case where we can arrive here with no previous call to
   // loadDataSource: for example the field handler list can be obtained
   // from a call to addFieldsFromFile instead of loadDataSource (see
-  // for exemple the getFieldRepresentation service of the
+  // for example the getFieldRepresentation service of the
   // dataManager, that comes here and then calls getUMesh where we
   // need a map initialized only in loadDataSource) <<<<
   long meshid = fieldHandler->meshid;
index 35a4264902df0a031f6aac7f06bc36c916796e57..4330b66306558aa282496434638f5a6a4ce121b6 100644 (file)
@@ -80,7 +80,7 @@ MEDPresentationContour::internalGeneratePipeline()
       throw KERNEL::createSalomeException(mes);
     }
 
-  setOrCreateRenderView(); // instanciate __viewXXX, needs to be after the exception above otherwise previous elements in the view will be hidden.
+  setOrCreateRenderView(); // instantiate __viewXXX, needs to be after the exception above otherwise previous elements in the view will be hidden.
 
   // Contour needs point data:
   applyCellToPointIfNeeded();
index ad58b265da17c255106c0dc585113224e703fbee..e0ca759c6270c979ee2287947ccb4795330fd9c2 100644 (file)
@@ -59,7 +59,7 @@ MEDPresentationPointSprite::internalGeneratePipeline()
 
   MEDPyLockWrapper lock;
 
-  setOrCreateRenderView(); // instanciate __viewXXX
+  setOrCreateRenderView(); // instantiate __viewXXX
   createSource();
 
   // Populate internal array of available components:
index 6e759ba8965655ec948e7e15901c05d6fe08bcbf..842507965aad1b2aeeef45d9b62b64b4dd844834 100644 (file)
@@ -43,7 +43,7 @@ MEDPresentationScalarMap::internalGeneratePipeline()
 
   MEDPyLockWrapper lock;
 
-  setOrCreateRenderView(); // instanciate __viewXXX
+  setOrCreateRenderView(); // instantiate __viewXXX
   createSource();
 
   // Populate internal array of available components:
index aa4f6e34ca332356da2c5af379a2e948961b3efd..6140ee545b0478c84c07bf62b0913e3f3a22cadc 100644 (file)
@@ -151,7 +151,7 @@ MEDPresentationSlices::internalGeneratePipeline()
       throw KERNEL::createSalomeException(mes);
   }
 
-  setOrCreateRenderView(); // instanciate __viewXXX
+  setOrCreateRenderView(); // instantiate __viewXXX
 
   // Now create the initial slices list
   oss << _sliceListVar << " = [];";
index e7f69dcf8b56d3ee76dfefeb182eaa24187b6079..0c49e5608f237784cc040270923263e65b916385 100644 (file)
@@ -73,7 +73,7 @@ MEDPresentationVectorField::internalGeneratePipeline()
       throw KERNEL::createSalomeException(msg);
     }
 
-  setOrCreateRenderView();  // instanciate __viewXXX, needs to be after the exception above otherwise previous elements in the view will be hidden.
+  setOrCreateRenderView();  // instantiate __viewXXX, needs to be after the exception above otherwise previous elements in the view will be hidden.
 
   std::ostringstream oss;
   oss << _objVar << " = pvs.Glyph(Input=" << _srcObjVar << ", GlyphType='Arrow');";
index cf231f2d68421339dce732e0ca38068a6b034c10..a3bcc5d02a08bb4c778483ca8187e33f78c069df 100644 (file)
@@ -33,7 +33,7 @@
  * Utility class wrapping the Python GIL acquisition. This makes use of the high level
  * API (PyGILState_Ensure and PyGILState_Release), and is hence compatible with only
  * one running Python interpreter (no call to Py_NewInterpreter()).
- * When the class is instanciated the lock is acquired. It is released at destruction time.
+ * When the class is instantiated the lock is acquired. It is released at destruction time.
  * Copy construction (and hence assignation) is forbidden.
  */
 class MEDPyLockWrapper
index dda57da3db4d9206c9725a240d2f4b2ef1445932..ea747b3209571109837fa723291e218104e321b4 100644 (file)
@@ -112,7 +112,7 @@ void DatasourceController::createActions() {
  * This function adds the specified MED file as a datasource in the
  * dataspace. Technically speaking, the engine loads the
  * meta-information concerning med data from the file, gives this
- * informations to the GUI, and the GUI creates a tree view of these
+ * information to the GUI, and the GUI creates a tree view of these
  * data in the study object browser.
  */
 // This function emits a signal that will be caught by workspace to delegate command (datasource creation) to python console.
index a5f60a561897a0b73c087f2d90b15b1b26d58b8c..de574c3fc0f8217d3aeed5095d0fd007ed70864a 100644 (file)
@@ -50,7 +50,7 @@ signals:
   void presentationUpdateSignal(const PresentationEvent *);
 
 protected:
-  // Only child classes to be instanciated:
+  // Only child classes to be instantiated:
   MEDWidgetHelper(const PresentationController* presController,
                   MEDCALC::MEDPresentationManager_ptr presManager, int presId, const std::string & presName,
                   WidgetPresentationParameters * paramWidget);
index 9c4a22309f9bac938059602f8a3e3a4e96d059ed..599d977399caca1697ba8fb06ab79c0487a4e154 100644 (file)
@@ -85,7 +85,7 @@ ProcessingController::OnChangeUnderlyingMesh()
   // We need a studyEditor updated on the active study
   _studyEditor->updateActiveStudy();
 
-  // Get the selected objects in the study (SObject). In cas of a
+  // Get the selected objects in the study (SObject). In case of a
   // multiple selection, we consider only the first item. At least one
   // item must be selected.
   SALOME_StudyEditor::SObjectList* listOfSObject = _studyEditor->getSelectedObjects();
index 5560882af3630d0d3842d489850ecef198b1bc00..e92b5311940b1af6d419e4ce54300a367579917c 100644 (file)
@@ -230,8 +230,8 @@ void WorkspaceController::_importFieldIntoConsole(MEDCALC::FieldHandler* fieldHa
     effectiveAlias = new QString(alias);
   }
 
-  // We can propose to the user to specify some additionnal
-  // informations concerning what must be imported.
+  // We can propose to the user to specify some additional
+  // information concerning what must be imported.
   //
   // In this version, we just ask the alias the field will be
   // manipulated with. The default alias is the field name. This alias
index 9288d85be9f9442cc02f5e8ed88483b5759a67e6..8fdae6982ed74845ad5597f7dfed7d22ec2a64e5 100644 (file)
@@ -47,6 +47,6 @@ factory = salome.lcc.FindOrLoadComponent(containerType,factoryComponentName)
 # The factory is not the main CORBA component of the SALOME module MED
 # (i.e. the engine associated to the active study), but the CORBA
 # entry point for MED fields operations (i.e. a CORBA component
-# reachable throught the LifeCycleCORBA). This entry point is used to
+# reachable through the LifeCycleCORBA). This entry point is used to
 # get the other SALOME CORBA components required for MED field
 # operations, in particular the dataManager and the calculator
index a2c966052613bfc203a3c2b16e8cbbaf614d7c11..3a15289de1eb775664ffee6f2b7e0d31a9aed3de 100644 (file)
@@ -44,7 +44,7 @@ MEDCalculatorBrowserLiteStruct::~MEDCalculatorBrowserLiteStruct()
 //  Constructor with parameters :
 //  - f, full file name with path
 //  - n, file name (file.med)
-//  Read the med file to get meshes and fields informations
+//  Read the med file to get meshes and fields information
 //  Fill meshes vector with meshes names
 //  Fill fields vector creating using field constructor with MED and fieldname parameters
 MEDCalculatorBrowserLiteStruct::MEDCalculatorBrowserLiteStruct(const char *f) : _file(f), _any_selection(false)
index bdf83232443e752d3c129a7f696faa120e0b6e9c..c8c083981a74b24b5c825e46fe3389c336811f51 100644 (file)
@@ -38,7 +38,7 @@ namespace MEDCoupling
   public :
     MEDCalculatorBrowserLiteStruct();
     ~MEDCalculatorBrowserLiteStruct();
-    MEDCalculatorBrowserLiteStruct(const char *);//  Constructor with a complet file name (with path) and simplified file name as parameters
+    MEDCalculatorBrowserLiteStruct(const char *);//  Constructor with a complete file name (with path) and simplified file name as parameters
     bool operator==(const std::string&);//  Equal to string operator, compare simplified name to input
     std::string str();//  Return a std::string corresponding to x/o (selected or not) File filename \n meshes \n fields
     void setSelected(bool);//  Set selection to input bool
index d0f1454b4588073bfa6e414baeb1abe811e34c78..080c669a60fb68f0602c782f37fc89be2ac37dc2 100644 (file)
@@ -145,7 +145,7 @@ namespace SALOME_TEST
     MEDCoupling::MEDCouplingUMesh *targetMesh=MEDCoupling::MEDCouplingUMesh::New();
     targetMesh->setMeshDimension(0);
     targetMesh->allocateCells(8);
-    targetMesh->setName("Wonderfull 0D mesh");
+    targetMesh->setName("Wonderful 0D mesh");
     targetMesh->setDescription("build0DMesh");
     targetMesh->insertNextCell(INTERP_KERNEL::NORM_POINT1,1,targetConn);
     targetMesh->insertNextCell(INTERP_KERNEL::NORM_POINT1,1,targetConn+1);
@@ -171,7 +171,7 @@ namespace SALOME_TEST
 
   MEDCoupling::MEDCouplingUMesh *MEDCouplingCorbaServBasicsTest::buildM1DMesh()
   {
-    MEDCoupling::MEDCouplingUMesh *meshM1D=MEDCoupling::MEDCouplingUMesh::New("wonderfull -1 D mesh",-1);
+    MEDCoupling::MEDCouplingUMesh *meshM1D=MEDCoupling::MEDCouplingUMesh::New("wonderful -1 D mesh",-1);
     meshM1D->setDescription("buildM1DMesh");
     meshM1D->checkConsistencyLight();
     return meshM1D;
index 57c976b6d347bdefdf58be6e85f94dddc1492c0c..0c9e80c09c1c414d2b90d8d90d61f57d3189d06a 100644 (file)
@@ -115,7 +115,7 @@ class MEDCouplingCorbaServBasicsTest:
         targetMesh=MEDCouplingUMesh.New();
         targetMesh.setMeshDimension(0);
         targetMesh.allocateCells(8);
-        targetMesh.setName("Wonderfull 0D mesh");
+        targetMesh.setName("Wonderful 0D mesh");
         targetMesh.setDescription("build0DMesh");
         targetConn=[]
         targetMesh.insertNextCell(NORM_POINT1,1,[0]);
@@ -137,7 +137,7 @@ class MEDCouplingCorbaServBasicsTest:
         return targetMesh;
 
     def buildM1DMesh(self):
-        meshM1D=MEDCouplingUMesh.New("wonderfull -1 D mesh",-1);
+        meshM1D=MEDCouplingUMesh.New("wonderful -1 D mesh",-1);
         meshM1D.setDescription("buildM1DMesh");
         meshM1D.checkConsistencyLight();
         return meshM1D;
index 0cd5e7acb479803d9e41ac1501aabc2a67b53464..fec683302cb136d6bb4e060471e122735e719e3f 100644 (file)
@@ -49,7 +49,7 @@
 //  Connect buttons to actions, close statement is already connect in the .ui file
 //  Set QTreeWidgets parameters : header labels, selection mode
 //  Connect QTreeWidget itemClicked signal to meshes and fieldsStateChange
-//  Put mouse tracking on, so this class received mouse positions informations when mouse is above treewidget
+//  Put mouse tracking on, so this class received mouse positions information when mouse is above treewidget
 //  Add contextual menu to treewidget's items with the call to selectCompoPopup and selStepPopup
 //  Connect those actions to corresponding signals
 MEDGUIFileContentDial::MEDGUIFileContentDial(MEDGUIDataBaseDockWidget* db, QWidget* parent):
@@ -119,7 +119,7 @@ void MEDGUIFileContentDial::changeEvent(QEvent *e)
 //  Then, after checking if the name already exist
 //  - if yes, try to add "_#" where # begin at 2
 //  - if not, continue
-//  Create a new MEDGUILiteStruct with the complet file name and the simplified file name as parameters
+//  Create a new MEDGUILiteStruct with the complete file name and the simplified file name as parameters
 //  Add items to the two QTreeWidget get information from the new MEDGUILiteStruct
 void MEDGUIFileContentDial::openFile()
 {
index e7f77c3e8fc6178819d714557fcef8345e0c92f2..36c1ed347d5d7fd511d55a56f9e3888c1da0e996 100644 (file)
@@ -39,7 +39,7 @@ namespace Ui
 
 //  This class is implemented to provide a dialog box for selecting fields components and/or setting components names
 //  The basic graphic part was made with QtDesigner4 and is in MedGUI_FileContentDial.ui file
-//  It use a MedGUI_LiteStruct object to get components informations
+//  It use a MedGUI_LiteStruct object to get components information
 //  If one field is selected (call made from a step or a field), the box will only display components from this field
 //  If all fields are selected (call made on MED file), the box will display all the components for each field