getfem-commits
[Top][All Lists]
Advanced

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

[Getfem-commits] r5495 - /trunk/getfem/src/getfem_contact_and_friction_c


From: andriy . andreykiv
Subject: [Getfem-commits] r5495 - /trunk/getfem/src/getfem_contact_and_friction_common.cc
Date: Fri, 09 Dec 2016 14:24:19 -0000

Author: andrico
Date: Fri Dec  9 15:24:18 2016
New Revision: 5495

URL: http://svn.gna.org/viewcvs/getfem?rev=5495&view=rev
Log:
correcting an iterator for the case when friction properties are given as 
fem_data and derivative is calculated from them

Modified:
    trunk/getfem/src/getfem_contact_and_friction_common.cc

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=5495&r1=5494&r2=5495&view=diff
==============================================================================
--- trunk/getfem/src/getfem_contact_and_friction_common.cc      (original)
+++ trunk/getfem/src/getfem_contact_and_friction_common.cc      Fri Dec  9 
15:24:18 2016
@@ -2824,6 +2824,7 @@
           gmm::add(gmm::scaled(n, g/nn), dg);
         for (size_type i = 0; i < N; ++i, ++it)
           *it = dg[i];
+        it = result.end();
         break;
       case 6:
         base_small_vector dtau_df(s_f);




reply via email to

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