Mercurial > forge
changeset 11785:6da7dad71918 octave-forge
just to make it work
author | cdf |
---|---|
date | Wed, 12 Jun 2013 16:09:20 +0000 |
parents | b9165047d2b4 |
children | 642ac66016ad |
files | extra/secs1d/inst/demos/simple_resistor_tran_noscale_res.m |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 ...