From 2661f21c75ea91655486356dc8476aff2c683157 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 28 Dec 2017 14:33:11 +0300 Subject: [PATCH] Typo-fix by Kunda http://www.salome-platform.org/forum/forum_9/22126441 --- README | 2 +- doc/tut/addfields/README.txt | 2 +- doc/tut/medcoupling/testmed_lena.py | 2 +- doc/tut/medcoupling/testmed_simple.py | 2 +- doc/tut/medcoupling/testpil.py | 2 +- doc/tut/mergefields/simpledemo/README.txt | 2 +- doc/tut/mergefields/splitdemo/README.txt | 2 +- doc/tut/projection/demomed/README.txt | 2 +- doc/tut/projection/demovtu/README.txt | 2 +- src/MEDCalc/gui/WorkspaceController.hxx | 2 +- src/MEDCalc/gui/XmedDataModel.hxx | 2 +- src/MEDCalc/tui/medimages.py | 2 +- .../MEDCalculatorBrowserField.cxx | 2 +- src/MEDCalculator/MEDCalculatorDBField.cxx | 18 +++++++++--------- .../Client/MEDCouplingFieldDoubleClient.cxx | 2 +- .../Client/MEDCouplingFieldTemplateClient.cxx | 2 +- .../Client/MEDCouplingMeshClient.cxx | 4 ++-- src/MEDGUI/MEDGUIFileContentDial.cxx | 4 ++-- src/MEDGUI/MEDGUIFileContentDial.h | 2 +- src/MEDGUI/MEDGUISelectComponents.cxx | 2 +- src/MEDGUI/MEDGUISelectComponents.h | 2 +- 21 files changed, 31 insertions(+), 31 deletions(-) diff --git a/README b/README index 410977a67..ccb06fab2 100644 --- a/README +++ b/README @@ -73,7 +73,7 @@ In order to avoid most of the problem the user or the installer should first check the HDF5HOME and the MED2HOME environment variables. This version of Med Memory with Med File V2.2.2, V2.2.3, as well as V2.3.0 but with the version of HDF5 V1.6.3. In the installation of Med File you should take care -of the $HDF5HOME environement variable. This warning is especially intended +of the $HDF5HOME environment variable. This warning is especially intended to the user of The Med Memory in stand alone (without the SALOME KERNEL component). diff --git a/doc/tut/addfields/README.txt b/doc/tut/addfields/README.txt index 79eb80fb1..febfc9794 100644 --- a/doc/tut/addfields/README.txt +++ b/doc/tut/addfields/README.txt @@ -1,4 +1,4 @@ -# You first have to set the shell environement for medcoupling +# You first have to set the shell environment for medcoupling all: python addition.py diff --git a/doc/tut/medcoupling/testmed_lena.py b/doc/tut/medcoupling/testmed_lena.py index 15558f587..3b281aa53 100755 --- a/doc/tut/medcoupling/testmed_lena.py +++ b/doc/tut/medcoupling/testmed_lena.py @@ -98,7 +98,7 @@ cmesh.setCoords(coordsX,coordsY) print "Imagem mesh dimension: %d"%cmesh.getSpaceDimension() # WARN: In the current state of development of MEDLoader, only -# unstructured meshes are supported for writting function in med +# unstructured meshes are supported for writing function in med # files. We just have to convert the cartesian mesh in an unstructured # mesh before creating the field. umesh=cmesh.buildUnstructured(); diff --git a/doc/tut/medcoupling/testmed_simple.py b/doc/tut/medcoupling/testmed_simple.py index d14e18937..d0c3124e6 100755 --- a/doc/tut/medcoupling/testmed_simple.py +++ b/doc/tut/medcoupling/testmed_simple.py @@ -70,7 +70,7 @@ print cmesh.getSpaceDimension() #print cmesh # WARN: In the current state of development of MEDLoader, only -# unstructured meshes are supported for writting function in med +# unstructured meshes are supported for writing function in med # files. We just have to convert the cartesian mesh in an unstructured # mesh before creating the field. umesh=cmesh.buildUnstructured(); diff --git a/doc/tut/medcoupling/testpil.py b/doc/tut/medcoupling/testpil.py index 5e2e73bbb..55708e307 100755 --- a/doc/tut/medcoupling/testpil.py +++ b/doc/tut/medcoupling/testpil.py @@ -96,7 +96,7 @@ def createMesh(meshname, sizeX, sizeY): print "Imagem mesh dimension: %d"%cmesh.getSpaceDimension() # WARN: In the current state of development of MEDLoader, only - # unstructured meshes are supported for writting function in med + # unstructured meshes are supported for writing function in med # files. We just have to convert the cartesian mesh in an unstructured # mesh before creating the field. umesh=cmesh.buildUnstructured(); diff --git a/doc/tut/mergefields/simpledemo/README.txt b/doc/tut/mergefields/simpledemo/README.txt index f13cb1651..68a6e2077 100644 --- a/doc/tut/mergefields/simpledemo/README.txt +++ b/doc/tut/mergefields/simpledemo/README.txt @@ -1,4 +1,4 @@ -# You first have to set the shell environement for medcoupling +# You first have to set the shell environment for medcoupling # (see medcoupling/env.sh) all: diff --git a/doc/tut/mergefields/splitdemo/README.txt b/doc/tut/mergefields/splitdemo/README.txt index f251d44ed..eb4336d82 100644 --- a/doc/tut/mergefields/splitdemo/README.txt +++ b/doc/tut/mergefields/splitdemo/README.txt @@ -1,4 +1,4 @@ -# You first have to set the shell environement for medcoupling +# You first have to set the shell environment for medcoupling # (see medcoupling/env.sh) all: diff --git a/doc/tut/projection/demomed/README.txt b/doc/tut/projection/demomed/README.txt index 1de344a07..69e324e6b 100644 --- a/doc/tut/projection/demomed/README.txt +++ b/doc/tut/projection/demomed/README.txt @@ -1,4 +1,4 @@ -# You first have to set the shell environement for medcoupling +# You first have to set the shell environment for medcoupling # (see medcoupling/env.sh) all: diff --git a/doc/tut/projection/demovtu/README.txt b/doc/tut/projection/demovtu/README.txt index 7b30a09df..b5a544964 100644 --- a/doc/tut/projection/demovtu/README.txt +++ b/doc/tut/projection/demovtu/README.txt @@ -1,4 +1,4 @@ -# You first have to set the shell environement for medcoupling +# You first have to set the shell environment for medcoupling # (see medcoupling/env.sh) all: diff --git a/src/MEDCalc/gui/WorkspaceController.hxx b/src/MEDCalc/gui/WorkspaceController.hxx index c5fac88ad..8cf5eff14 100644 --- a/src/MEDCalc/gui/WorkspaceController.hxx +++ b/src/MEDCalc/gui/WorkspaceController.hxx @@ -55,7 +55,7 @@ public: XmedConsoleDriver* getConsoleDriver() { return _consoleDriver; } public slots: - // Slots overiding TreeGuiManager + // Slots overriding TreeGuiManager void processItemList(QStringList itemNameIdList, int actionId); // Internal slots diff --git a/src/MEDCalc/gui/XmedDataModel.hxx b/src/MEDCalc/gui/XmedDataModel.hxx index 43f225290..166f4b73e 100644 --- a/src/MEDCalc/gui/XmedDataModel.hxx +++ b/src/MEDCalc/gui/XmedDataModel.hxx @@ -72,7 +72,7 @@ public: // then get the result you are interested in, using the corresponding // "result*" function. // -// 2) Alternativly, you can just call directly the suitable master +// 2) Alternatively, you can just call directly the suitable master // "get*" function to process and get the result you are interested // in. // diff --git a/src/MEDCalc/tui/medimages.py b/src/MEDCalc/tui/medimages.py index 88b4c6d33..8a09f06b2 100644 --- a/src/MEDCalc/tui/medimages.py +++ b/src/MEDCalc/tui/medimages.py @@ -86,7 +86,7 @@ class FieldBuilder: print "Imagem mesh dimension: %d"%cmesh.getSpaceDimension() # WARN: In the current state of development of MEDLoader, only - # unstructured meshes are supported for writting function in med + # unstructured meshes are supported for writing function in med # files. We just have to convert the cartesian mesh in an unstructured # mesh before creating the field. umesh=cmesh.buildUnstructured(); diff --git a/src/MEDCalculator/MEDCalculatorBrowserField.cxx b/src/MEDCalculator/MEDCalculatorBrowserField.cxx index ff8a351d0..1559c2561 100644 --- a/src/MEDCalculator/MEDCalculatorBrowserField.cxx +++ b/src/MEDCalculator/MEDCalculatorBrowserField.cxx @@ -58,7 +58,7 @@ MEDCalculatorBrowserField::MEDCalculatorBrowserField(const char *fname, const ch } std::vector types=GetTypesOfField(fname,meshNames[0].c_str(),fieldName); if(types.empty()) - throw INTERP_KERNEL::Exception("MEDCalculatorBrowserField::MEDCalculatorBrowserField : the file is not loadable using MED File 3 API ! Problably presence of field on edges faces..."); + throw INTERP_KERNEL::Exception("MEDCalculatorBrowserField::MEDCalculatorBrowserField : the file is not loadable using MED File 3 API ! Probably presence of field on edges faces..."); _type=types[0];//To improve MCAuto tmpf; try diff --git a/src/MEDCalculator/MEDCalculatorDBField.cxx b/src/MEDCalculator/MEDCalculatorDBField.cxx index 5c9a3aa25..e67662b0a 100644 --- a/src/MEDCalculator/MEDCalculatorDBField.cxx +++ b/src/MEDCalculator/MEDCalculatorDBField.cxx @@ -219,7 +219,7 @@ const MEDCalculatorDBFieldReal& MEDCalculatorDBFieldReal::operator=(const MEDCal std::vector ids2=other._t.getIds(other._time_steps.size()); unsigned int sz=ids.size(); if(sz!=ids2.size()) - throw INTERP_KERNEL::Exception("FieldReal::operator= : Timesteps lengthes mismatch !"); + throw INTERP_KERNEL::Exception("FieldReal::operator= : Timesteps lengths mismatch !"); fetchData(); other.fetchData(); for(unsigned int i=0;i ids=_t.getIds(_time_steps.size()); std::vector ids2=other._t.getIds(other._time_steps.size()); if(ids.size()!=ids2.size()) - throw INTERP_KERNEL::Exception("FieldReal::add : Timesteps lengthes mismatch !"); + throw INTERP_KERNEL::Exception("FieldReal::add : Timesteps lengths mismatch !"); int step=ids[0]; int step2=ids2[0]; const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name); @@ -360,7 +360,7 @@ MEDCalculatorDBField *MEDCalculatorDBFieldReal::substract(const MEDCalculatorDBF std::vector ids=_t.getIds(_time_steps.size()); std::vector ids2=other._t.getIds(other._time_steps.size()); if(ids.size()!=ids2.size()) - throw INTERP_KERNEL::Exception("FieldReal::substract : Timesteps lengthes mismatch !"); + throw INTERP_KERNEL::Exception("FieldReal::substract : Timesteps lengths mismatch !"); int step=ids[0]; int step2=ids2[0]; const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name); @@ -410,7 +410,7 @@ MEDCalculatorDBField *MEDCalculatorDBFieldReal::multiply(const MEDCalculatorDBFi std::vector ids=_t.getIds(_time_steps.size()); std::vector ids2=other._t.getIds(other._time_steps.size()); if(ids.size()!=ids2.size()) - throw INTERP_KERNEL::Exception("FieldReal::multiply : Timesteps lengthes mismatch !"); + throw INTERP_KERNEL::Exception("FieldReal::multiply : Timesteps lengths mismatch !"); int step=ids[0]; int step2=ids2[0]; const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name); @@ -460,7 +460,7 @@ MEDCalculatorDBField *MEDCalculatorDBFieldReal::divide(const MEDCalculatorDBFiel std::vector ids=_t.getIds(_time_steps.size()); std::vector ids2=other._t.getIds(other._time_steps.size()); if(ids.size()!=ids2.size()) - throw INTERP_KERNEL::Exception("FieldReal::divide : Timesteps lengthes mismatch !"); + throw INTERP_KERNEL::Exception("FieldReal::divide : Timesteps lengths mismatch !"); int step=ids[0]; int step2=ids2[0]; const MEDCouplingMesh *mesh=_time_steps[step]->getMesh(_type,_file_name,_mesh_name,_field_name); @@ -495,7 +495,7 @@ MEDCalculatorDBField *MEDCalculatorDBFieldReal::dot(const MEDCalculatorDBFieldRe std::vector ids2=other._t.getIds(other._time_steps.size()); unsigned int sz=ids.size(); if(sz!=ids2.size()) - throw INTERP_KERNEL::Exception("FieldReal::dot : Timesteps lengthes mismatch !"); + throw INTERP_KERNEL::Exception("FieldReal::dot : Timesteps lengths mismatch !"); ret->_time_steps.resize(sz); for(unsigned int i=0;i_time_steps[i]=_time_steps[ids[i]]->dot(other._time_steps[ids2[i]],_c_labels.size(),_c,other._c_labels.size(),other._c); @@ -515,7 +515,7 @@ MEDCalculatorDBField *MEDCalculatorDBFieldReal::crossProduct(const MEDCalculator std::vector ids2=other._t.getIds(other._time_steps.size()); unsigned int sz=ids.size(); if(sz!=ids2.size()) - throw INTERP_KERNEL::Exception("FieldReal::crossProduct : Timesteps lengthes mismatch !"); + throw INTERP_KERNEL::Exception("FieldReal::crossProduct : Timesteps lengths mismatch !"); ret->_time_steps.resize(sz); for(unsigned int i=0;i_time_steps[i]=_time_steps[ids[i]]->crossProduct(other._time_steps[ids2[i]],_c_labels.size(),_c,other._c_labels.size(),other._c); @@ -770,14 +770,14 @@ std::vector MEDCalculatorDBFieldReal::getFields() cons std::string MEDCalculatorDBFieldReal::getInfoOnComponent(int i) const throw(INTERP_KERNEL::Exception) { if(i>=(int)_c_labels.size()) - throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::getInfoOnComponent : sepcified id >= number of component !"); + throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::getInfoOnComponent : specified id >= number of component !"); return _c_labels[i]; } void MEDCalculatorDBFieldReal::setInfoOnComponent(int i, const char *info) throw(INTERP_KERNEL::Exception) { if(i>=(int)_c_labels.size()) - throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::setInfoOnComponent : sepcified id >= number of component !"); + throw INTERP_KERNEL::Exception("MEDCalculatorDBFieldReal::setInfoOnComponent : specified id >= number of component !"); _c_labels[i]=info; } diff --git a/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx b/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx index a41d60b91..2fdc85c33 100644 --- a/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx +++ b/src/MEDCouplingCorba/Client/MEDCouplingFieldDoubleClient.cxx @@ -68,7 +68,7 @@ MEDCouplingFieldDouble *MEDCouplingFieldDoubleClient::New(SALOME_MED::MEDCouplin ret->resizeForUnserialization(tinyLV,array0,arrays); SALOME_TYPES::ListOfLong *bigArr0; SALOME_TYPES::ListOfDouble2 *bigArr; - //3rd CORBA invokation to get big content + //3rd CORBA invocation to get big content fieldPtr->getSerialisationData(bigArr0,bigArr); if(bigArr0->length()!=0) { diff --git a/src/MEDCouplingCorba/Client/MEDCouplingFieldTemplateClient.cxx b/src/MEDCouplingCorba/Client/MEDCouplingFieldTemplateClient.cxx index bbfe2f37c..5bbe7280c 100644 --- a/src/MEDCouplingCorba/Client/MEDCouplingFieldTemplateClient.cxx +++ b/src/MEDCouplingCorba/Client/MEDCouplingFieldTemplateClient.cxx @@ -66,7 +66,7 @@ MEDCouplingFieldTemplate *MEDCouplingFieldTemplateClient::New(SALOME_MED::MEDCou DataArrayInt *array0; ret->resizeForUnserialization(tinyLV,array0); SALOME_TYPES::ListOfLong *bigArr0; - //3rd CORBA invokation to get big content + //3rd CORBA invocation to get big content fieldPtr->getSerialisationData(bigArr0); if(bigArr0->length()!=0) { diff --git a/src/MEDCouplingCorba/Client/MEDCouplingMeshClient.cxx b/src/MEDCouplingCorba/Client/MEDCouplingMeshClient.cxx index 23c3ac61a..dee9e8ee6 100644 --- a/src/MEDCouplingCorba/Client/MEDCouplingMeshClient.cxx +++ b/src/MEDCouplingCorba/Client/MEDCouplingMeshClient.cxx @@ -118,10 +118,10 @@ void MEDCouplingMeshClient::fillMeshFromCorbaData(MEDCouplingMesh *meshCpp, SALO delete tinyD; DataArrayInt* a1=DataArrayInt::New(); DataArrayDouble* a2=DataArrayDouble::New(); - //thanks to the entry point tinyV get from the 1st CORBA invokation, + //thanks to the entry point tinyV get from the 1st CORBA invocation, //resizing a1,a2 and sts. std::vector uselessVector; - //vector 'uselessVector' is useless thanks to CORBA that , contrary to MPI, does not need to allocate right length of arrays before invokation + //vector 'uselessVector' is useless thanks to CORBA that , contrary to MPI, does not need to allocate right length of arrays before invocation meshCpp->resizeForUnserialization(tinyV,a1,a2,uselessVector); SALOME_TYPES::ListOfLong *a1Corba; SALOME_TYPES::ListOfDouble *a2Corba; diff --git a/src/MEDGUI/MEDGUIFileContentDial.cxx b/src/MEDGUI/MEDGUIFileContentDial.cxx index 7936a3e38..fcde726ba 100644 --- a/src/MEDGUI/MEDGUIFileContentDial.cxx +++ b/src/MEDGUI/MEDGUIFileContentDial.cxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// MED MEDGUI : MED component GUI implemetation +// MED MEDGUI : MED component GUI implementation // File : MEDGUIFileContentDial.cxx // Module : MED #include "MEDGUIFileContentDial.h" @@ -358,7 +358,7 @@ void MEDGUIFileContentDial::unselectAll() } // Show in red the corresponding meshes from a field or a step or a field hoovered by mouse -// First clean alrady colored meshes list (color back in black and empty coloredMeshes vector) +// First clean already colored meshes list (color back in black and empty coloredMeshes vector) // Then, get the id of the MEDGUILiteStruct corresponding to the currently hovered item // Get corresponding meshes as string from the currently hovered item // Get the corresponding root of the meshes QTreeWidget from the root of the fields QTreeWidget diff --git a/src/MEDGUI/MEDGUIFileContentDial.h b/src/MEDGUI/MEDGUIFileContentDial.h index 2e0f61f08..d410dae0e 100644 --- a/src/MEDGUI/MEDGUIFileContentDial.h +++ b/src/MEDGUI/MEDGUIFileContentDial.h @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// MED MEDGUI : MED component GUI implemetation +// MED MEDGUI : MED component GUI implementation // File : MEDGUIFileContentDial.h // Module : MED // diff --git a/src/MEDGUI/MEDGUISelectComponents.cxx b/src/MEDGUI/MEDGUISelectComponents.cxx index 1b99b16e0..8d45860b5 100644 --- a/src/MEDGUI/MEDGUISelectComponents.cxx +++ b/src/MEDGUI/MEDGUISelectComponents.cxx @@ -17,7 +17,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// MED MEDGUI : MED component GUI implemetation +// MED MEDGUI : MED component GUI implementation // File : MEDGUISelectComponents.cxx // Module : MED // diff --git a/src/MEDGUI/MEDGUISelectComponents.h b/src/MEDGUI/MEDGUISelectComponents.h index 36c1ed347..6b411a578 100644 --- a/src/MEDGUI/MEDGUISelectComponents.h +++ b/src/MEDGUI/MEDGUISelectComponents.h @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// MED MEDGUI : MED component GUI implemetation +// MED MEDGUI : MED component GUI implementation // File : MEDGUISelectComponents.h // Module : MED // -- 2.30.2