dm_observ_index Function

public function dm_observ_index(observ, response_name, request_index, response_index) result(rc)

Searches requests array of the observation for responses of passed name and returns the index of the first found. If no request of this name is found, E_NOT_FOUND is returned and request and index are set to 0.

Arguments

Type IntentOptional Attributes Name
type(observ_type), intent(inout) :: observ

Observation type.

character(len=*), intent(in) :: response_name

Response name.

integer, intent(out), optional :: request_index

Position of request in requests array.

integer, intent(out), optional :: response_index

Position of response in responses array.

Return Value integer