A general function used by HCR_ramp that adjusts the output (e.g., F) by a linear ramp based on the value of the OCP relative to target and limit values.

## Arguments

- OCP_val
The value of the operational control point (OCP).

- LOCP
Numeric, the limit value for the OCP in the HCR.

- TOCP
Numeric, the target value for the OCP in the HCR.

- relF_min
The relative maximum value (e.g. a multiple of FMSY) if

`OCP < LOCP`

.- relF_max
The relative maximum value (e.g. a multiple of FMSY) if

`OCP > TOCP`

.