getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Tetsuo Koyama
Subject: [Getfem-commits] (no subject)
Date: Fri, 12 Jul 2019 09:25:34 -0400 (EDT)

branch: devel-tetsuo-fix_function_name
commit 7c39038e5a86d919467f1f1345ff09b28d895e11
Author: Tetsuo Koyama <address@hidden>
Date:   Fri Jul 12 22:23:25 2019 +0900

    Fix typo in comment
---
 interface/src/gf_cont_struct.cc                  |  4 ++--
 interface/src/gf_cont_struct_get.cc              |  2 +-
 interface/src/gf_levelset_get.cc                 |  4 ++--
 interface/src/gf_mesh.cc                         |  6 +++---
 interface/src/gf_mesh_fem_get.cc                 |  4 ++--
 interface/src/gf_mesh_fem_set.cc                 |  2 +-
 interface/src/gf_mesh_get.cc                     |  2 +-
 interface/src/gf_mesh_im.cc                      |  4 ++--
 interface/src/gf_mesh_im_get.cc                  |  2 +-
 interface/src/gf_model_set.cc                    | 26 ++++++++++++------------
 src/getfem/getfem_interpolated_fem.h             |  2 +-
 src/getfem/getfem_mesh_fem.h                     |  2 +-
 src/getfem/getfem_models.h                       |  2 +-
 src/getfem/getfem_projected_fem.h                |  2 +-
 src/getfem/getfem_regular_meshes.h               |  2 +-
 src/getfem_contact_and_friction_large_sliding.cc |  2 +-
 src/gmm/gmm_solver_constrained_cg.h              |  2 +-
 17 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/interface/src/gf_cont_struct.cc b/interface/src/gf_cont_struct.cc
index 69a775e..f05ff6f 100644
--- a/interface/src/gf_cont_struct.cc
+++ b/interface/src/gf_cont_struct.cc
@@ -37,9 +37,9 @@ void gf_cont_struct(getfemint::mexargs_in& in, 
getfemint::mexargs_out& out) {
 
     /*@INIT S = ('.init', @tmodel md, @str dataname_parameter[,@str 
dataname_init, @str dataname_final, @str dataname_current], @scalar sc_fac[, 
...])
     The variable `dataname_parameter` should parametrise the model given by
-    `md`. If the parametrisation is done via a vector datum, `dataname_init`
+    `md`. If the parameterization is done via a vector datum, `dataname_init`
     and `dataname_final` should store two given values of this datum
-    determining the parametrisation, and `dataname_current` serves for actual
+    determining the parameterization, and `dataname_current` serves for actual
     values of this datum. `sc_fac` is a scale factor involved in the weighted
     norm used in the continuation.
 
diff --git a/interface/src/gf_cont_struct_get.cc 
b/interface/src/gf_cont_struct_get.cc
index 90b3bfc..4e4c52f 100644
--- a/interface/src/gf_cont_struct_get.cc
+++ b/interface/src/gf_cont_struct_get.cc
@@ -209,7 +209,7 @@ void gf_cont_struct_get(getfemint::mexargs_in& m_in,
 
 
     /*@GET t = ('bifurcation test function')
-      Return the last value of the bifurcation test function and eventaully
+      Return the last value of the bifurcation test function and eventually
       the whole calculated graph when passing between different sub-domains
       of differentiability.@*/
     sub_command
diff --git a/interface/src/gf_levelset_get.cc b/interface/src/gf_levelset_get.cc
index 3fbbff5..a45b725 100644
--- a/interface/src/gf_levelset_get.cc
+++ b/interface/src/gf_levelset_get.cc
@@ -73,10 +73,10 @@ void gf_levelset_get(getfemint::mexargs_in& m_in,
     
 
     /*@GET V = ('values', @int nls)
-    Return the vector of dof for `nls` funtion.
+    Return the vector of dof for `nls` function.
 
     If `nls` is 0, the method return the vector of dof for the primary
-    level-set funtion. If `nls` is 1, the method return the vector of
+    level-set function. If `nls` is 1, the method return the vector of
     dof for the secondary level-set function (if any).@*/
     sub_command
       ("values", 0, 1, 0, 1,
diff --git a/interface/src/gf_mesh.cc b/interface/src/gf_mesh.cc
index 727fd4f..f41dac2 100644
--- a/interface/src/gf_mesh.cc
+++ b/interface/src/gf_mesh.cc
@@ -460,7 +460,7 @@ void gf_mesh(getfemint::mexargs_in& m_in,
 
 
     /*@INIT M = ('regular simplices', @dvec X[, @dvec Y[, @dvec 
Z,...]]['degree', @int k]['noised'])
-      Mesh a n-dimensionnal parallelepipeded with simplices (triangles,
+      Mesh a n-dimensional parallelepiped with simplices (triangles,
       tetrahedrons etc) .
 
       The optional degree may be used to build meshes with non linear
@@ -587,9 +587,9 @@ void gf_mesh(getfemint::mexargs_in& m_in,
       procedure used, it can be run again since it will not give necessarily
       the same result due to random procedures used.
       The messages send to the console by the mesh generation can be
-      desactivated using `gf_util('trace level', 2)`. More information
+      deactivated using `gf_util('trace level', 2)`. More information
       can be obtained by `gf_util('trace level', 4)`. See 
``MESHER_OBJECT:INIT``
-      to manipulate geometric primitives in order to desribe the geometry.
+      to manipulate geometric primitives in order to describe the geometry.
       @*/
     sub_command
       ("generate", 2, 4, 0, 1,
diff --git a/interface/src/gf_mesh_fem_get.cc b/interface/src/gf_mesh_fem_get.cc
index aa66ad5..4d11b1c 100644
--- a/interface/src/gf_mesh_fem_get.cc
+++ b/interface/src/gf_mesh_fem_get.cc
@@ -576,7 +576,7 @@ void gf_mesh_fem_get(getfemint::mexargs_in& m_in,
     For a reduced mesh_fem
     a dof is lying on a region if its potential corresponding shape
     function is nonzero on this region. The extension matrix is used
-    to make the correspondance between basic and reduced dofs.@*/
+    to make the correspondence between basic and reduced dofs.@*/
     sub_command
       ("dof on region", 1, 1, 0, 1,
        iarray bnums = in.pop().to_iarray(-1);
@@ -654,7 +654,7 @@ void gf_mesh_fem_get(getfemint::mexargs_in& m_in,
 
 
     /*@GET ('save',@str filename[, @str opt])
-    Save a @tmf in a text file (and optionaly its linked mesh object
+    Save a @tmf in a text file (and optionally its linked mesh object
     if `opt` is the string 'with_mesh').@*/
     sub_command
       ("save", 1, 2, 0, 0,
diff --git a/interface/src/gf_mesh_fem_set.cc b/interface/src/gf_mesh_fem_set.cc
index 6072cdb..c4ceca4 100644
--- a/interface/src/gf_mesh_fem_set.cc
+++ b/interface/src/gf_mesh_fem_set.cc
@@ -231,7 +231,7 @@ void gf_mesh_fem_set(getfemint::mexargs_in& m_in,
       This function selects the degrees of freedom of the finite element
       method by selecting a set of independent vectors of the matrix RM.
       The numer of columns of RM should corresponds to the number of degrees
-      of fredoom of the finite element method.  @*/
+      of freedom of the finite element method.  @*/
     sub_command
       ("reduce meshfem", 1, 1, 0, 0,
        std::shared_ptr<gsparse>  RM = in.pop().to_sparse();
diff --git a/interface/src/gf_mesh_get.cc b/interface/src/gf_mesh_get.cc
index a0b83e3..20dc2da 100644
--- a/interface/src/gf_mesh_get.cc
+++ b/interface/src/gf_mesh_get.cc
@@ -820,7 +820,7 @@ void gf_mesh_get(getfemint::mexargs_in& m_in,
     /*@GET CVFIDs = ('adjacent face', @int cvid, @int fid)
     Return convex face of the neighbour element if it exists.
     If the convex have more than one neighbour
-    relativley to the face ``f`` (think to bar elements in 3D for instance),
+    relatively to the face ``f`` (think to bar elements in 3D for instance),
     return the first face found. @*/
     sub_command
       ("adjacent face", 2, 2, 0, 1,
diff --git a/interface/src/gf_mesh_im.cc b/interface/src/gf_mesh_im.cc
index 3a696fb..744247b 100644
--- a/interface/src/gf_mesh_im.cc
+++ b/interface/src/gf_mesh_im.cc
@@ -31,7 +31,7 @@ void gf_mesh_im_set_integ(getfem::mesh_im *mim, 
getfemint::mexargs_in& in);
 
 /*@GFDOC
   This object represents an integration method defined on a whole mesh (an 
-  potentialy on its boundaries).
+  potentially on its boundaries).
 @*/
 
 
@@ -132,7 +132,7 @@ void gf_mesh_im(getfemint::mexargs_in& m_in, 
getfemint::mexargs_out& m_out) {
 
     /*@INIT MIM = ('levelset', @tmls mls, @str where, @tinteg im[, @tinteg 
im_tip[, @tinteg im_set]])
       Build an integration method conformal to a partition defined
-      implicitely by a levelset.
+      implicitly by a levelset.
 
       The `where` argument define the domain of integration with respect to
       the levelset, it has to be chosen among 'ALL', 'INSIDE', 'OUTSIDE' and
diff --git a/interface/src/gf_mesh_im_get.cc b/interface/src/gf_mesh_im_get.cc
index 437fef0..67c6734 100644
--- a/interface/src/gf_mesh_im_get.cc
+++ b/interface/src/gf_mesh_im_get.cc
@@ -221,7 +221,7 @@ void gf_mesh_im_get(getfemint::mexargs_in& m_in,
 
 
     /*@GET ('save',@str filename[, 'with mesh'])
-      Saves a @tmim in a text file (and optionaly its linked mesh object).@*/
+      Saves a @tmim in a text file (and optionally its linked mesh object).@*/
     sub_command
       ("save", 1, 2, 0, 0,
        std::string s = in.pop().to_string();
diff --git a/interface/src/gf_model_set.cc b/interface/src/gf_model_set.cc
index 0b224e9..78a0bd7 100644
--- a/interface/src/gf_model_set.cc
+++ b/interface/src/gf_model_set.cc
@@ -1005,7 +1005,7 @@ void gf_model_set(getfemint::mexargs_in& m_in,
       The symmetry of the linear system is kept if all other bricks are
       symmetric.
       This brick is to be reserved for simple Dirichlet conditions (only dof
-      declared on the correspodning boundary are prescribed). The application
+      declared on the corresponding boundary are prescribed). The application
       of this brick on reduced dof may be problematic. Intrinsic vectorial
       finite element method are not supported. 
       `dataname` is the optional right hand side of  the Dirichlet condition.
@@ -1096,9 +1096,9 @@ void gf_model_set(getfemint::mexargs_in& m_in,
       right hand side of the Dirichlet condition. `datagamma0` is the
       Nitsche's method parameter. `theta` is a scalar value which can be
       positive or negative. `theta = 1` corresponds to the standard symmetric
-      method which is conditionnaly coercive for  `gamma0` small.
+      method which is conditionally coercive for  `gamma0` small.
       `theta = -1` corresponds to the skew-symmetric method which is
-      inconditionnaly coercive. `theta = 0` (default) is the simplest method
+      inconditionally coercive. `theta = 0` (default) is the simplest method
       for which the second derivative of the Neumann term is not necessary
       even for nonlinear problems. Return the brick index in the model.
     @*/
@@ -1265,9 +1265,9 @@ void gf_model_set(getfemint::mexargs_in& m_in,
       described on a fem. `gamma0name` is the
       Nitsche's method parameter. `theta` is a scalar value which can be
       positive or negative. `theta = 1` corresponds to the standard symmetric
-      method which is conditionnaly coercive for  `gamma0` small.
+      method which is conditionally coercive for  `gamma0` small.
       `theta = -1` corresponds to the skew-symmetric method which is
-      inconditionnaly coercive. `theta = 0` is the simplest method
+      inconditionally coercive. `theta = 0` is the simplest method
       for which the second derivative of the Neumann term is not necessary
       even for nonlinear problems. 
       Returns the brick index in the model.
@@ -1414,9 +1414,9 @@ void gf_model_set(getfemint::mexargs_in& m_in,
       described on a fem. `gamma0name` is the
       Nitsche's method parameter. `theta` is a scalar value which can be
       positive or negative. `theta = 1` corresponds to the standard symmetric
-      method which is conditionnaly coercive for  `gamma0` small.
+      method which is conditionally coercive for  `gamma0` small.
       `theta = -1` corresponds to the skew-symmetric method which is
-      inconditionnaly coercive. `theta = 0` is the simplest method
+      inconditionally coercive. `theta = 0` is the simplest method
       for which the second derivative of the Neumann term is not necessary
       even for nonlinear problems. `Hname` is the data
       corresponding to the matrix field `H`. It has to be a constant matrix
@@ -3319,9 +3319,9 @@ void gf_model_set(getfemint::mexargs_in& m_in,
       `gamma0name` is the Nitsche's method parameter.
       `theta` is a scalar value which can be
       positive or negative. `theta = 1` corresponds to the standard symmetric
-      method which is conditionnaly coercive for  `gamma0` small.
+      method which is conditionally coercive for  `gamma0` small.
       `theta = -1` corresponds to the skew-symmetric method which is
-      inconditionnaly coercive. `theta = 0` is the simplest method
+      inconditionally coercive. `theta = 0` is the simplest method
       for which the second derivative of the Neumann term is not necessary.
       The optional parameter `dataname_friction_coeff` is the friction
       coefficient which could be constant or defined on a finite element
@@ -3376,9 +3376,9 @@ void gf_model_set(getfemint::mexargs_in& m_in,
       `gamma0name` is the Nitsche's method parameter.
       `theta` is a scalar value which can be
       positive or negative. `theta = 1` corresponds to the standard symmetric
-      method which is conditionnaly coercive for  `gamma0` small.
+      method which is conditionally coercive for  `gamma0` small.
       `theta = -1` corresponds to the skew-symmetric method which is
-      inconditionnaly coercive. `theta = 0` is the simplest method
+      inconditionally coercive. `theta = 0` is the simplest method
       for which the second derivative of the Neumann term is not necessary.
       The optional parameter `dataname_friction_coeff` is the friction
       coefficient which could be constant or defined on a finite element
@@ -3433,8 +3433,8 @@ void gf_model_set(getfemint::mexargs_in& m_in,
      `gamma0name` is the Nitsche's method parameter. 
      `theta` is a scalar value which can be positive or negative. 
      `theta = 1` corresponds to the standard symmetric method which is
-     conditionnaly coercive for  `gamma0` small.
-     `theta = -1` corresponds to the skew-symmetric method which is 
inconditionnaly coercive.
+     conditionally coercive for  `gamma0` small.
+     `theta = -1` corresponds to the skew-symmetric method which is 
inconditionally coercive.
      `theta = 0` is the simplest method for which the second derivative of
      the Neumann term is not necessary. The optional parameter 
`dataname_friction_coeff`
      is the friction coefficient which could be constant or defined on a 
finite element method. 
diff --git a/src/getfem/getfem_interpolated_fem.h 
b/src/getfem/getfem_interpolated_fem.h
index f83c880..6c0dfc3 100644
--- a/src/getfem/getfem_interpolated_fem.h
+++ b/src/getfem/getfem_interpolated_fem.h
@@ -73,7 +73,7 @@ namespace getfem {
     base_node ptref;      // coords on reference element of mf1 element
     base_tensor base_val; // optional storage of the base values
     base_tensor grad_val; // optional storage of the grad base values
-    std::vector<size_type> local_dof; // correspondance between dof of the
+    std::vector<size_type> local_dof; // correspondence between dof of the
     // mf1 element and dof of the interpolated element.
     gausspt_interpolation_data() : elt(size_type(-1)), iflags(size_type(-1)) {}
   };
diff --git a/src/getfem/getfem_mesh_fem.h b/src/getfem/getfem_mesh_fem.h
index dbcfac2..fb740be 100644
--- a/src/getfem/getfem_mesh_fem.h
+++ b/src/getfem/getfem_mesh_fem.h
@@ -572,7 +572,7 @@ namespace getfem {
     /** Get a list of dof lying on a given mesh_region. For a reduced mesh_fem
         a dof is lying on a region if its potential corresponding shape
         function is nonzero on this region. The extension matrix is used
-        to make the correspondance between basic and reduced dofs.
+        to make the correspondence between basic and reduced dofs.
         @param b the mesh_region.
         @return the list in a dal::bit_vector.
     */
diff --git a/src/getfem/getfem_models.h b/src/getfem/getfem_models.h
index c1b588f..aa664e4 100644
--- a/src/getfem/getfem_models.h
+++ b/src/getfem/getfem_models.h
@@ -1372,7 +1372,7 @@ namespace getfem {
   protected:
     bool islinear;    // The brick add a linear term or not.
     bool issymmetric; // The brick add a symmetric term or not.
-    bool iscoercive;  // The brick add a potentialy coercive terms or not.
+    bool iscoercive;  // The brick add a potentially coercive terms or not.
     //   (in particular, not a term involving a multiplier)
     bool isreal;      // The brick admits a real version or not.
     bool iscomplex;   // The brick admits a complex version or not.
diff --git a/src/getfem/getfem_projected_fem.h 
b/src/getfem/getfem_projected_fem.h
index fb8b3d6..93d285f 100644
--- a/src/getfem/getfem_projected_fem.h
+++ b/src/getfem/getfem_projected_fem.h
@@ -57,7 +57,7 @@ namespace getfem {
     scalar_type gap;      // gap distance from the gauss point to the 
projected point
     base_tensor base_val; // optional storage of the base values
     base_tensor grad_val; // optional storage of the grad base values
-    std::map<size_type,size_type> local_dof; // correspondance between dof of 
the
+    std::map<size_type,size_type> local_dof; // correspondence between dof of 
the
                                              // mf_source element and dof of 
the projected element.
     gausspt_projection_data() :
       cv(size_type(-1)), f(short_type(-1)), iflags(size_type(-1)) {}
diff --git a/src/getfem/getfem_regular_meshes.h 
b/src/getfem/getfem_regular_meshes.h
index eb007ee..4e63b10 100644
--- a/src/getfem/getfem_regular_meshes.h
+++ b/src/getfem/getfem_regular_meshes.h
@@ -123,7 +123,7 @@ namespace getfem
      @param pgt the geometric transformation to use. For example, use 
      @code
      pgt = geometric_trans_descriptor("GT_PK(2,1"); // to build a mesh of 
triangles
-     pgt = geometric_trans_descriptor("QK(3,2)"); // to build a mesh of order 
2 parallelepipeded
+     pgt = geometric_trans_descriptor("QK(3,2)"); // to build a mesh of order 
2 parallelepiped
      @endcode
 
      @param nsubdiv is the number of cells in each direction.  
diff --git a/src/getfem_contact_and_friction_large_sliding.cc 
b/src/getfem_contact_and_friction_large_sliding.cc
index 7fd947e..d58b3a8 100644
--- a/src/getfem_contact_and_friction_large_sliding.cc
+++ b/src/getfem_contact_and_friction_large_sliding.cc
@@ -2271,7 +2271,7 @@ namespace getfem {
   }
 
   void add_rigid_obstacle_to_large_sliding_contact_brick
-  (model &md, size_type indbrick, const std::string &obs) { // The velocity 
field should be added to an (optional) parameter ... (and optionaly represented 
by a rigid motion only ... the velocity should be modifiable ...
+  (model &md, size_type indbrick, const std::string &obs) { // The velocity 
field should be added to an (optional) parameter ... (and optionally 
represented by a rigid motion only ... the velocity should be modifiable ...
     pbrick pbr = md.brick_pointer(indbrick);
     md.touch_brick(indbrick);
     integral_large_sliding_contact_brick_field_extension *p
diff --git a/src/gmm/gmm_solver_constrained_cg.h 
b/src/gmm/gmm_solver_constrained_cg.h
index 44716bf..07195e6 100644
--- a/src/gmm/gmm_solver_constrained_cg.h
+++ b/src/gmm/gmm_solver_constrained_cg.h
@@ -145,7 +145,7 @@ namespace gmm {
       add(z, scaled(p, gamma), p); // ...
       
       ++iter;
-      // one dimensionnal optimization
+      // one dimensional optimization
       mult(A, p, q);
       lambda = rho / vect_sp(PS, q, p);
       for (size_type i = 0; i < mat_nrows(C); ++i)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]