[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] r5235 - /trunk/getfem/tests/plate.cc
From: |
Yves . Renard |
Subject: |
[Getfem-commits] r5235 - /trunk/getfem/tests/plate.cc |
Date: |
Sun, 07 Feb 2016 13:22:09 -0000 |
Author: renard
Date: Sun Feb 7 14:22:08 2016
New Revision: 5235
URL: http://svn.gna.org/viewcvs/getfem?rev=5235&view=rev
Log:
minor fix
Modified:
trunk/getfem/tests/plate.cc
Modified: trunk/getfem/tests/plate.cc
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/tests/plate.cc?rev=5235&r1=5234&r2=5235&view=diff
==============================================================================
--- trunk/getfem/tests/plate.cc (original)
+++ trunk/getfem/tests/plate.cc Sun Feb 7 14:22:08 2016
@@ -504,6 +504,8 @@
getfem::add_Dirichlet_condition_with_multipliers
(md, mim, "u3", mf_u3, SIMPLY_FIXED_BOUNDARY_NUM);
+ getfem::add_Dirichlet_condition_with_multipliers
+ (md, mim, "ut", mf_ut, SIMPLY_FIXED_BOUNDARY_NUM);
if (sol_ref == 1 || sol_ref == 2 || sol_ref == 3)
getfem::add_Dirichlet_condition_with_multipliers
@@ -564,8 +566,9 @@
p.pressure *= p.epsilon * p.epsilon * p.epsilon / 8.;
p.mesh.write_to_file(p.datafilename + ".mesh");
plain_vector Ut, U3, THETA;
- if (!p.solve(Ut, U3, THETA)) GMM_ASSERT1(false, "Solve has failed");
+ bool ok = p.solve(Ut, U3, THETA);
p.compute_error(Ut, U3, THETA);
+ GMM_ASSERT1(ok, "Solve has failed");
}
GMM_STANDARD_CATCH_ERROR;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] r5235 - /trunk/getfem/tests/plate.cc,
Yves . Renard <=