DeFrogxX / a-dda

Automatically exported from code.google.com/p/a-dda
0 stars 1 forks source link

Scattering order formulation #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Implement SOF (Born series) as a iterative solver (with controlled number
of iterations). It can be used, e.g., to simulate RDG results.

Original issue reported on code.google.com by yurkin on 24 Dec 2008 at 7:26

GoogleCodeExporter commented 8 years ago

Original comment by yurkin on 4 Sep 2010 at 2:35

GoogleCodeExporter commented 8 years ago
RDG results should be possible to imitate by '-maxiter 0 -init_field inc'. The 
problem is that maxiter currently requires a positive argument (and produces a 
warning in the end of iterations).

So a way to go is, probably, to allow '-maxiter 0' globally (why not?), and 
remove the warning (convergence not reached) if a special iterative solver is 
used (SOF, to be implemented). Another question is whether SOF should use '-eps 
...' or not. I.e. if I want 5 orders of scattering, but the result converge to 
1e-5 after 3, should ADDA stop? Then, if we keep everything as is, there should 
be a note that pure SOF requires '-eps 100' or something... May be add a 
separate argument, like '-eps none' not to check convergence at all (can be 
possible only in combination with maxiter - actually this can be the perfect 
reason to turn off not-converged warnings).

Original comment by yurkin on 29 Jul 2014 at 5:18