[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] r5313 - in /trunk/getfem: contrib/test_plasticity/Makef
From: |
Yves . Renard |
Subject: |
[Getfem-commits] r5313 - in /trunk/getfem: contrib/test_plasticity/Makefile.am src/getfem_plasticity.cc |
Date: |
Sat, 30 Apr 2016 18:09:01 -0000 |
Author: renard
Date: Sat Apr 30 20:09:00 2016
New Revision: 5313
URL: http://svn.gna.org/viewcvs/getfem?rev=5313&view=rev
Log:
minor fixes
Added:
trunk/getfem/contrib/test_plasticity/Makefile.am
Modified:
trunk/getfem/src/getfem_plasticity.cc
Added: trunk/getfem/contrib/test_plasticity/Makefile.am
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/contrib/test_plasticity/Makefile.am?rev=5313&view=auto
==============================================================================
--- trunk/getfem/contrib/test_plasticity/Makefile.am (added)
+++ trunk/getfem/contrib/test_plasticity/Makefile.am Sat Apr 30 20:09:00 2016
@@ -0,0 +1,10 @@
+check_PROGRAMS =
+
+CLEANFILES =
+
+TESTS = test_plasticity.py
+
+EXTRA_DIST = \
+ test_small_strain_plasticity.py
+
+LOG_COMPILER = python
Modified: trunk/getfem/src/getfem_plasticity.cc
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem_plasticity.cc?rev=5313&r1=5312&r2=5313&view=diff
==============================================================================
--- trunk/getfem/src/getfem_plasticity.cc (original)
+++ trunk/getfem/src/getfem_plasticity.cc Sat Apr 30 20:09:00 2016
@@ -710,7 +710,8 @@
const std::string dispname=sup_previous_and_dot_to_varname(varnames[0]);
const std::string xi =sup_previous_and_dot_to_varname(varnames[0]);
-
+ const std::string &Previous_Ep = varnames[1];
+
base_vector tmpv(gmm::vect_size(md.real_variable(Previous_Ep)));
const im_data *pimd = md.pim_data_of_variable(Previous_Ep);
if (pimd)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] r5313 - in /trunk/getfem: contrib/test_plasticity/Makefile.am src/getfem_plasticity.cc,
Yves . Renard <=