You are not logged in. Click here to log in.

Application Lifecycle Management

Search In Project

Search inClear

@In #17045/HEAD / v10
Tags:  not added yet

@In

The @In annotation on a field specifies it as input to the component. The data field must be public. It indicates a read (or input access) from within the Execute method to the field. There are no arguments for this annotation.

With OMS using JNA binding for FORTRAN interoperability, FORTRAN data types are mapped to C language data types.

Synopsis

@In

Type

execution, documentation annotation

Scope

Field (variable, parameter)

Example

Use of the @In annotation in FORTRAN source code is 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
...