Laplace
-
Laplace-domain calculation: By providing a negative
freq
-value toutils.get_source_field
andutils.Model
, the calculation is carried out in the real Laplace domains = freq
instead of the complex frequency
domains = 2i*pi*freq
. -
New meshing helper routines (particularly useful for transient modelling where frequency-dependent/adaptive meshes are inevitable):
utils.get_hx_h0
to get cell widths and origin for given parameters including a few fixed interfaces (center plus two, e.g. top anomaly, sea-floor, and sea-surface).utils.get_cell_numbers
to get good values of number of cells for given primes.
-
Speed-up
njitted.volume_average
significantly thanks to @jcapriot. -
Bugfixes and other minor things:
- Abort if l2-norm is NaN (only works for MG).
- Workaround for the case where a
sslsolver
is used together with a provided initialefield
. - Changed parameter
rho
tores
for consistency reasons inutils.get_domain
. - Changed parameter
h_min
tomin_width
for consistency reasons inutils.get_stretched_h
.