Skip to main content

System Coupling Fortran library 2025 R1

syscOutputIntegerDataF

Last update: 17.07.2025
1 module fortran
2 !
3 ! Copyright ANSYS, Inc.
4 ! Unauthorized use, distribution, or duplication is prohibited.
5 !
6 ! Provide free-form Fortran interface for
7 ! System Coupling Participant Library.
8 !
9 ! *********************************************************************
10 ! ****** Output integer data ******************************************
11 ! *********************************************************************
12 !
13 ! *********************************************************************
28 !
30  integer(kind=8) :: primitivetype
31  integer(kind=8) :: dataptr
32  integer(kind=8) :: datasize
34 !
35 !**********************************************************************
37 !**********************************************************************
39 !
40 !**********************************************************************
41 !! \brief Create an output integer data access type.
42 !!
43 !! Primitive type will default to 64-bit signed integer.
44 !! Data size will be set to zero.
45 !! Data pointer will be set to null.
46 !**********************************************************************
47 function syscgetoutputintegerdataf() result (ret)
48  import :: syscoutputintegerdataf
49  type(SyscOutputIntegerDataF) :: ret
50 !DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
51 !DIR$ ATTRIBUTES DLLIMPORT :: syscGetOutputIntegerDataF
52 !DIR$ ENDIF
53 end function syscgetoutputintegerdataf
54 !
55 !**********************************************************************
60 !**********************************************************************
61 function syscgetoutputintegerdataf_i4(data, dataSize) result (ret)
62 !
63  import :: syscoutputintegerdataf
64  integer(kind=8), intent(in) :: datasize
65  integer(kind=4), intent(in), target :: data(datasize)
66  type(syscoutputintegerdataf) :: ret
67 !
68 !DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
69 !DIR$ ATTRIBUTES DLLIMPORT :: syscGetOutputIntegerDataF_I4
70 !DIR$ ENDIF
71 !
72 end function syscgetoutputintegerdataf_i4
73 !
74 !**********************************************************************
79 !**********************************************************************
80 function syscgetoutputintegerdataf_i8(data, dataSize) result (ret)
81 !
82  import :: syscoutputintegerdataf
83  integer(kind=8), intent(in) :: datasize
84  integer(kind=8), intent(in), target :: data(datasize)
85  type(syscoutputintegerdataf) :: ret
86 !
87 !DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
88 !DIR$ ATTRIBUTES DLLIMPORT :: syscGetOutputIntegerDataF_I8
89 !DIR$ ENDIF
90 !
91 end function syscgetoutputintegerdataf_i8
92 !
93 end interface syscgetoutputintegerdataf
94 !
95 end module fortran
Provide an interface to get output integer data.
Provide an output integer data access type.

Connect with Ansys