Skip to main content

System Coupling Fortran library 2024 R2

syscOutputIntegerDataF

Last update: 17.07.2025
1module 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!**********************************************************************
47function syscgetoutputintegerdataf() result (ret)
49 type(SyscOutputIntegerDataF) :: ret
50!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
51!DIR$ ATTRIBUTES DLLIMPORT :: syscGetOutputIntegerDataF
52!DIR$ ENDIF
54!
55!**********************************************************************
60!**********************************************************************
61function syscgetoutputintegerdataf_i4(data, dataSize) result (ret)
62!
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!
72end function syscgetoutputintegerdataf_i4
73!
74!**********************************************************************
79!**********************************************************************
80function syscgetoutputintegerdataf_i8(data, dataSize) result (ret)
81!
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!
91end function syscgetoutputintegerdataf_i8
92!
93end interface syscgetoutputintegerdataf
94!
95end module fortran
Provide an interface to get output integer data.
Provide an output integer data access type.

Connect with Ansys