# HG changeset patch # User cdf # Date 1371053360 0 # Node ID 6da7dad71918bd2640df299b5c0254b76e41912e # Parent b9165047d2b426bc4a2a8ea36109e6284ec3fa85 just to make it work diff -r b9165047d2b4 -r 6da7dad71918 extra/secs1d/inst/demos/simple_resistor_tran_noscale_res.m --- a/extra/secs1d/inst/demos/simple_resistor_tran_noscale_res.m Wed Jun 12 14:32:26 2013 +0000 +++ b/extra/secs1d/inst/demos/simple_resistor_tran_noscale_res.m Wed Jun 12 16:09:20 2013 +0000 @@ -71,10 +71,11 @@ x1 = e22 \ (a22 * x1 / dt - b21 * F1 - f2); x2 = []; + endif endfunction % tolerances for convergence checks -algorithm.toll = 1e-6; +algorithm.toll = 1e-3; algorithm.ltol = 1e-10; algorithm.maxit = 100; algorithm.lmaxit = 100; @@ -82,7 +83,7 @@ algorithm.pmaxit = 1000; algorithm.colscaling = [10 1e21 1e21 1]; algorithm.rowscaling = [1e7 1e-7 1e-7 1]; -algorithm.maxnpincr = 5e-2; +algorithm.maxnpincr = 1e-1; %% compute resistance u = secs1d_mobility_model_noscale ...