getfem-commits
[Top][All Lists]
Advanced

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

[Getfem-commits] r4552 - /trunk/getfem/interface/tests/matlab/demo_conti


From: Yves . Renard
Subject: [Getfem-commits] r4552 - /trunk/getfem/interface/tests/matlab/demo_continuation.m
Date: Fri, 21 Mar 2014 13:15:31 -0000

Author: renard
Date: Fri Mar 21 14:15:30 2014
New Revision: 4552

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

Modified:
    trunk/getfem/interface/tests/matlab/demo_continuation.m

Modified: trunk/getfem/interface/tests/matlab/demo_continuation.m
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/interface/tests/matlab/demo_continuation.m?rev=4552&r1=4551&r2=4552&view=diff
==============================================================================
--- trunk/getfem/interface/tests/matlab/demo_continuation.m     (original)
+++ trunk/getfem/interface/tests/matlab/demo_continuation.m     Fri Mar 21 
14:15:30 2014
@@ -68,8 +68,12 @@
 gf_model_set(md, 'add fem variable', 'u', mf);
 gf_model_set(md, 'add Laplacian brick', mim, 'u');
 gf_model_set(md, 'add data', 'lambda', 1);
-gf_model_set(md, 'add basic nonlinear brick', mim, 'u', ...
-             'u-lambda*exp(u)', '1-lambda*exp(u)', 'lambda');
+% gf_model_set(md, 'add basic nonlinear brick', mim, 'u', ...
+%              'u-lambda*exp(u)', '1-lambda*exp(u)', 'lambda');
+
+gf_model_set(md, 'add nonlinear generic assembly brick', mim, ...
+             '(u-lambda*exp(u))*Test_u');
+
 if (with_dirichlet)
   gf_model_set(md, 'add Dirichlet condition with multipliers', ...
                mim, 'u', mf, 1);
@@ -146,7 +150,7 @@
   if (with_dirichlet) axis([0 1 0 15]); else axis([0 1 0 15]); end
   xlabel('x'); ylabel('u');
   pause(0.25);
-  disp(sprintf('end of step n° %d / %d', step, nbstep));
+  disp(sprintf('end of step %d / %d', step, nbstep));
 end
 
 nsing = size(sing_out, 1);




reply via email to

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