private pure function ocean_diag_is_registered(this, name) result(yes)
.true. iff a diagnostic named name is registered (enabled or
not). Registration state only — says nothing about whether it
will actually fire (see enabled); a disabled diagnostic is
still registered and this returns .true. for it.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
i
Source Code
pure function ocean_diag_is_registered(this,name)result(yes)!! `.true.` iff a diagnostic named `name` is registered (enabled or!! not). Registration state only — says nothing about whether it!! will actually fire (see `enabled`); a `disable`d diagnostic is!! still registered and this returns `.true.` for it.class(ocean_diag_t),intent(in)::thischaracter(len=*),intent(in)::namelogical::yesinteger::iyes=.false.do i=1,this%nvarsif(trim(this%vars(i)%name)==trim(name))thenyes=.true.return end if end do end function ocean_diag_is_registered