28 use,
intrinsic :: iso_fortran_env
47 class(criterion_list_t),
intent(inout) :: list
48 type(namespace_t),
intent(in) :: namespace
49 logical,
intent(out) :: check_conv
51 real(real64) :: conv_abs_dens, conv_rel_dens, conv_abs_ev, conv_rel_ev
52 real(real64) :: conv_energy_diff
53 class(convergence_criterion_t),
pointer :: crit, other
54 type(criterion_iterator_t) :: iter
110 call parse_variable(namespace,
'ConvRelDens', 1e-6_real64, conv_rel_dens)
154 call iter%start(list)
155 check_conv = iter%has_next()
156 do while (iter%has_next())
157 other => iter%get_next()
158 check_conv = check_conv .or. (other%tol_abs >
m_zero) .or. (other%tol_rel >
m_zero)
subroutine, public criteria_factory_init(list, namespace, check_conv)
real(real64), parameter, public m_zero
subroutine, public messages_obsolete_variable(namespace, name, rep)
This module defines the quantity_t class and the IDs for quantities, which can be exposed by a system...
brief This module defines the class unit_t which is used by the unit_systems_oct_m module.
This module defines the unit system, used for input and output.
type(unit_system_t), public units_out
type(unit_system_t), public units_inp
the units systems for reading and writing