- emg3d.solver.krylov(model, sfield, efield, var)¶
Krylov subspace solver for three-dimensional electromagnetic diffusion.
Using a Krylov subspace iterative solver (defined in
var.sslsolver) implemented in SciPy with or without multigrid as a pre-conditioner ([Muld06]).
The electric field is stored in-place in
The current error (l2-norm) is stored in
The reference error (l2-norm of
sfield) is stored in
This function is called by