public function rdb_ocean_get_diag_count(c_handle, count_out) result(status) bind(c, name="rdb_ocean_get_diag_count")
Number of diagnostics REGISTERED on this live instance right
now (canonical + derived + anything the &ocean_diag_nml diags
token list added) — bounds for rdb_ocean_list_diags’s
index argument. This is the “selected” set, as opposed to the
two static “available” catalogs above.
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.
function rdb_ocean_get_diag_count(c_handle,count_out)result(status)&bind(c,name="rdb_ocean_get_diag_count")!! Number of diagnostics REGISTERED on this live instance right!! now (canonical + derived + anything the `&ocean_diag_nml diags`!! token list added) — bounds for `rdb_ocean_list_diags`'s!! index argument. This is the "selected" set, as opposed to the!! two static "available" catalogs above.type(c_ptr),intent(in),value::c_handleinteger(c_int),intent(out)::count_outinteger(c_int)::statustype(ocean_handle_t),pointer::hcount_out=0status=resolve_ocean(c_handle,h)if(status/=OCEAN_STATUS_OK)returncount_out=int(h%state%diag%nvars,c_int)end function rdb_ocean_get_diag_count