From ef68c4458c13732c416309ba896b4dfc933dd338 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 28 Oct 2019 13:47:37 +0300 Subject: [PATCH] Typo-fixes by Kunda --- doc/dev/sphinx/medcalc-userguide-gui.rst | 2 +- doc/tut/medcoupling/testmed_gendata.py | 2 +- doc/tut/medloader/explore.py | 2 +- idl/MEDCouplingCorbaServant.idl | 2 +- src/MEDCalc/cmp/MEDCalculator_i.cxx | 2 +- src/MEDCalc/tui/fieldproxy.py | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/dev/sphinx/medcalc-userguide-gui.rst b/doc/dev/sphinx/medcalc-userguide-gui.rst index 700d24dc6..831214460 100644 --- a/doc/dev/sphinx/medcalc-userguide-gui.rst +++ b/doc/dev/sphinx/medcalc-userguide-gui.rst @@ -268,7 +268,7 @@ Scalar variables can be used if needed:: >>> r=4*f3-f4/1000 >>> ... -In theses examples, the variable ``r`` corresponds to a work field containing +In these examples, the variable ``r`` corresponds to a work field containing the operation result. By default the field is nor referenced in workspace tree. If user wants to add it, for example to make it considered when saving, then the following command is used:: diff --git a/doc/tut/medcoupling/testmed_gendata.py b/doc/tut/medcoupling/testmed_gendata.py index 25cda4c6d..01232ce22 100755 --- a/doc/tut/medcoupling/testmed_gendata.py +++ b/doc/tut/medcoupling/testmed_gendata.py @@ -200,7 +200,7 @@ def createTestFieldOnNodes(): # ------------------------------------------------- # In these functions, (x,y) are the indexes of the element in the -# numpy array. Note that theses indexes maps the indexes of the +# numpy array. Note that these indexes maps the indexes of the # cartesian mesh. # A function can be a simple python function ... diff --git a/doc/tut/medloader/explore.py b/doc/tut/medloader/explore.py index cd66490a7..65f5128f9 100644 --- a/doc/tut/medloader/explore.py +++ b/doc/tut/medloader/explore.py @@ -29,7 +29,7 @@ filepath = os.path.join(os.path.abspath(os.path.dirname(__file__)),filename) meshNames = MEDLoader.GetMeshNames(filepath) # Set to True if the meshes and fields data must be loaded. Otherwise, -# only theire descriptions will be loaded. +# only their descriptions will be loaded. READ_PHYSICAL_DATA=False for meshName in meshNames: diff --git a/idl/MEDCouplingCorbaServant.idl b/idl/MEDCouplingCorbaServant.idl index f86939def..844da8568 100644 --- a/idl/MEDCouplingCorbaServant.idl +++ b/idl/MEDCouplingCorbaServant.idl @@ -58,7 +58,7 @@ module SALOME_MED interface MEDCouplingMeshCorbaInterface : MEDCouplingRefCountCorbaInterface { string getName(); - //!CORBA inplementation of MEDCouplingPointSet::getTinySerializationInformation + //!CORBA implementation of MEDCouplingPointSet::getTinySerializationInformation void getTinyInfo(out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa); void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da); }; diff --git a/src/MEDCalc/cmp/MEDCalculator_i.cxx b/src/MEDCalc/cmp/MEDCalculator_i.cxx index 740ec5a3f..b0da2ba33 100644 --- a/src/MEDCalc/cmp/MEDCalculator_i.cxx +++ b/src/MEDCalc/cmp/MEDCalculator_i.cxx @@ -347,7 +347,7 @@ MEDCALC::FieldHandler * MEDCalculator_i::dup(const MEDCALC::FieldHandler & f_hdl /*! * This creates a new field by applying a function on the specified * field. The function is defined by a string of characters - * (function), that specifies the litteral equation to apply, and an + * (function), that specifies the literal equation to apply, and an * integer (nbcomponents), that specifies the number of components to * consider in the resulting field. This is to mimic the interface of * MEDCouplingFieldDouble::applyFunc. diff --git a/src/MEDCalc/tui/fieldproxy.py b/src/MEDCalc/tui/fieldproxy.py index c9c2b3bf9..2fa6c3398 100644 --- a/src/MEDCalc/tui/fieldproxy.py +++ b/src/MEDCalc/tui/fieldproxy.py @@ -102,7 +102,7 @@ class FieldProxy: handler. """ # WRN: Note that the modification of this function can lead to - # coercion problem. Modify this function with extrem care. + # coercion problem. Modify this function with extreme care. return getattr( self.__fieldHandler, name ) # def __setattr__(self, name, value): @@ -163,7 +163,7 @@ class FieldProxy: # choose to not raise the possible exceptions to the console # by a clear message. Keep this in mind for unit test. You # have to test the return value, which should not be - # null. This principle is applyed for all operations. + # null. This principle is applied for all operations. try: if isinstance(operande, FieldProxy): # The operande is an other field -- 2.39.2