diag_fill_proc Interface

interface
public subroutine diag_fill_proc(state_handle, buf)

Arguments

Type IntentOptional Attributes Name
class(*), intent(in) :: state_handle
real(kind=wp), intent(inout) :: buf(:,:,:)

Description

Fill routine signature. state_handle is polymorphic so this module stays decoupled from ocean_state_t (which itself composes ocean_diag_t). Implementations live in rdb_ocean_diag_fills and do a select type cast to the concrete ocean state inside the body. buf is the pre-allocated output buffer the manager owns.