ARTS built-in documentation server

Workspace Method doit_conv_flagAbs

Description

DOIT convergence test (maximum absolute difference).

The function calculates the absolute differences for two successive
iteration fields. It picks out the maximum values for each Stokes
component separately. The convergence test is fullfilled under the
following conditions:
   |I(m+1) - I(m)| < epsilon_1     Intensity.
   |Q(m+1) - Q(m)| < epsilon_2     The other Stokes components.
   |U(m+1) - U(m)| < epsilon_3   
   |V(m+1) - V(m)| < epsilon_4   
These conditions have to be valid for all positions in the
cloudbox and for all directions.

Authors: Claudia Emde

Synopsis

doit_conv_flagAbs( doit_conv_flag, doit_iteration_counter, cloudbox_field_mono, cloudbox_field_mono_old, epsilon, max_iterations, nonconv_return_nan )

Variables

OUT+INdoit_conv_flag(Index)Flag for the convergence test.
OUT+INdoit_iteration_counter(Index)Counter for number of iterations.
OUT+INcloudbox_field_mono(Tensor6)Monochromatic radiation field inside the cloudbox.
INcloudbox_field_mono_old(Tensor6)As cloudbox_field_mono but from previous iteration.
GINepsilon(Vector)Limits for convergence. A vector with length matching stokes_dim with unit [W / (m^2 Hz sr)].
GINmax_iterations(Index, Default: 100)Maximum number of iterations allowed to reach convergencelimit.
GINnonconv_return_nan(Index, Default: 0)Flag whether to accept result at max_iterations (0=default)or whether to return NaNs in case of non-convergence atmax_iterations