@Out
The @Out annotation on a field specifies it as output of the component. The field must be public and the Execute method will write to it. It is used to connect to an @In field of another component. There are no arguments for
this annotation.
With OMS using JNA to bind FORTRAN components, FORTRAN data types are mapped to C Language data types.
Synopsis
@Out
Type
execution, documentation annotation
Scope
Field
Example
In this example there is one annotated output variable, LAI, shown below.
! @Description("CSMLite Plant Component")
...
! @Execute
SUBROUTINE Plant
USE, INTRINSIC :: ISO_C_BINDING
IMPLICIT NONE
! @Description("Daily maximum temperature in degrees Centigrade")
! @In
REAL(C_FLOAT) :: TMAX
! @Description("Day of Year")
! @In
INTEGER(C_INT) :: DOY
! @Description("Dynamic Control Variable")
! @In
CHARACTER(kind = C_CHAR, len = 5) : DYN
...
! @Description("Leaf Area Index")
! @Out
REAL(C_FLOAT) :: LAI
...