Author: renard
Date: Thu Sep 22 09:07:06 2016
New Revision: 5369

URL: http://svn.gna.org/viewcvs/getfem?rev=5369&view=rev
Log:
minor change

Modified:
    trunk/getfem/doc/sphinx/source/links.rst
    trunk/getfem/interface/src/gf_model_set.cc
    trunk/getfem/src/getfem_contact_and_friction_common.cc

Modified: trunk/getfem/doc/sphinx/source/links.rst
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/doc/sphinx/source/links.rst?rev=5369&r1=5368&r2=5369&view=diff
==============================================================================
--- trunk/getfem/doc/sphinx/source/links.rst    (original)
+++ trunk/getfem/doc/sphinx/source/links.rst    Thu Sep 22 09:07:06 2016
@@ -82,15 +82,18 @@
 
     * Andreykiv A., Rixen D. J., Numerical modelling of electromechanical 
coupling using fictitious domain and level set methods. Int. J. Numer. Meth. 
Engng 2009. |link8|_.
 
+
+    * Mirko Windhoff, Alexander Opitz, and Axel Thielscher, Electric Field 
Calculations in Brain Stimulation Based on Finite Elements: An Optimized 
Processing Pipeline for the Generation and Usage of Accurate Individual Head 
Models. Human Brain Mapping, 2011. DOI: 10.1002/hbm.21479
+
 .. |link9| replace:: publications of Yves Renard
-.. _link9: http://math.univ-lyon1.fr/~renard/publis.html
-
+.. _link9: http://math.univ-lyon1.fr/homes-www/renard/
 
     * |link9|_.
 
+.. |link11| replace:: link.springer.com
+.. _link11: http://link.springer.com/article/10.1007/s13137-016-0083-2
 
-    * Mirko Windhoff, Alexander Opitz, and Axel Thielscher, Electric Field 
Calculations in Brain Stimulation Based on Finite Elements: An Optimized 
Processing Pipeline for the Generation and Usage of Accurate Individual Head 
Models. Human Brain Mapping, 2011. DOI: 10.1002/hbm.21479
-
+    * E.V. Vtorushin, Application of mixed finite element to spatially 
non-local model of inelastic deformations. Int. J. Geomath. 2016 
 
 
 An evaluation of Gmm++ performance
@@ -99,4 +102,4 @@
 .. |link10| replace:: Benchmark of C++ Libraries for Sparse Matrix Computation
 .. _link10: http://grh.mur.at/misc/sparselib_benchmark
 
-|link10|_.
+|link10|_.

Modified: trunk/getfem/interface/src/gf_model_set.cc
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/interface/src/gf_model_set.cc?rev=5369&r1=5368&r2=5369&view=diff
==============================================================================
--- trunk/getfem/interface/src/gf_model_set.cc  (original)
+++ trunk/getfem/interface/src/gf_model_set.cc  Thu Sep 22 09:07:06 2016
@@ -2959,7 +2959,6 @@
       corresponding to partial differential terms having a Neumann term.
       Moreover, This brick can only be applied to bricks declaring their
       Neumann terms. Returns the brick index in the model.
-      Deprecated brick.
     @*/
     sub_command
       ("add Nitsche contact with rigid obstacle brick", 6, 10, 0, 1,

Modified: trunk/getfem/src/getfem_contact_and_friction_common.cc
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem_contact_and_friction_common.cc?rev=5369&r1=5368&r2=5369&view=diff
==============================================================================
--- trunk/getfem/src/getfem_contact_and_friction_common.cc      (original)
+++ trunk/getfem/src/getfem_contact_and_friction_common.cc      Thu Sep 22 
09:07:06 2016
@@ -46,7 +46,7 @@
         scalar_type J = gmm::lu_inverse(grad);
         if (J <= scalar_type(0)) GMM_WARNING1("Inverted element !" << J);
         gmm::mult(gmm::transposed(grad), n0, n);
-        gmm::scale(n, gmm::sgn(J)); // Test
+        if (J < 0) gmm::scale(n, gmm::sgn(J)); // In case of inverted element
       }
   }
 


_______________________________________________
Getfem-commits mailing list
Getfem-commits@gna.org
https://mail.gna.org/listinfo/getfem-commits

Reply via email to