diagnostics_nonlinear_convergence Module

A module which contains methods for checking whether nonlinear runs have reached a saturated steady state


Contents


Variables

Type Visibility Attributes Name Initial
integer, private :: trin_istep = 0
integer, private :: conv_isteps_converged = 0
real, private, save, allocatable, dimension(:) :: conv_heat
real, private, save :: heat_sum_av = 0
real, private, save :: heat_av = 0
real, private, save :: heat_av_test = 0

Subroutines

public subroutine init_nonlinear_convergence(gnostics)

FIXME : Add documentation

Arguments

Type IntentOptional Attributes Name
type(diagnostics_type), intent(in) :: gnostics

public subroutine finish_nonlinear_convergence()

FIXME : Add documentation

Arguments

None

public subroutine reset_averages_and_counters()

FIXME : Add documentation

Arguments

None

public subroutine check_nonlin_convergence(gnostics)

Trinity convergence condition - simple and experimental look for the averaged differential of the summed averaged heat flux to drop below a threshold

Arguments

Type IntentOptional Attributes Name
type(diagnostics_type), intent(inout) :: gnostics