Skip to main content

System Coupling Fortran library 2024 R2

syscRegionF

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! *********************************************************************
31 character(len=SyscStrLen) :: regionname
33 integer(kind=4) :: topology
35 integer(kind=4) :: regiondiscretizationtype
37 character(len=SyscStrLen) :: displayname
38end type syscregionf
39!
40!**********************************************************************
42!**********************************************************************
43!
45!
46!**********************************************************************
57!**********************************************************************
58function syscgetregionf(regionName) result(ret)
59!
60 import :: syscregionf
61 character(len=*), intent(in) :: regionname
62 type(syscregionf) :: ret
63!
64!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
65!DIR$ ATTRIBUTES DLLIMPORT :: syscGetRegionF
66!DIR$ ENDIF
67!
68end function syscgetregionf
69!
70!**********************************************************************
81!**********************************************************************
82function syscgetregionf_t(regionName, topology) result(ret)
83!
84 import :: syscregionf
85 character(len=*), intent(in) :: regionname
86 integer(kind=4), intent(in) :: topology
87 type(syscregionf) :: ret
88!
89!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
90!DIR$ ATTRIBUTES DLLIMPORT :: syscGetRegionF_T
91!DIR$ ENDIF
92!
93end function syscgetregionf_t
94!
95!**********************************************************************
107!**********************************************************************
108function syscgetregionf_dt(regionName, displayName, &
109 topology) result(ret)
110!
111 import :: syscregionf
112 character(len=*), intent(in) :: regionname
113 character(len=*), intent(in) :: displayname
114 integer(kind=4), intent(in) :: topology
115 type(syscregionf) :: ret
116!
117!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
118!DIR$ ATTRIBUTES DLLIMPORT :: syscGetRegionF_DT
119!DIR$ ENDIF
120!
121end function syscgetregionf_dt
122!
123!**********************************************************************
134!**********************************************************************
135function syscgetregionf_tm(regionName, topology, &
136 discretization) result(ret)
137!
138import :: syscregionf
139character(len=*), intent(in) :: regionname
140integer(kind=4), intent(in) :: topology
141integer(kind=4), intent(in) :: discretization
142type(syscregionf) :: ret
143!
144!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
145!DIR$ ATTRIBUTES DLLIMPORT :: syscGetRegionF_TM
146!DIR$ ENDIF
147!
148end function syscgetregionf_tm
149!
150!**********************************************************************
151!
152end interface syscgetregionf
153!
154!**********************************************************************
157!**********************************************************************
158!
160!
167function syscgetnuminputvariablesf(region) result (ret)
168 import :: syscregionf
169 type(syscregionf), intent(in) :: region
170 integer(kind=8) :: ret
171!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
172!DIR$ ATTRIBUTES DLLIMPORT :: syscGetNumInputVariablesF
173!DIR$ ENDIF
174end function syscgetnuminputvariablesf
175!
176end interface syscgetnuminputvariablesf
177!
178!**********************************************************************
180!**********************************************************************
181!
183!
192function syscgetinputvariablef(region, index) result (ret)
193 import :: syscregionf, syscvariablef
194 type(syscregionf), intent(in) :: region
195 integer(kind=8) :: index
196 type(syscvariablef) :: ret
197!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
198!DIR$ ATTRIBUTES DLLIMPORT :: syscGetInputVariableF
199!DIR$ ENDIF
200end function syscgetinputvariablef
201!
202end interface syscgetinputvariablef
203!
204!**********************************************************************
207!**********************************************************************
208!
210!
217function syscgetnumoutputvariablesf(region) result (ret)
218 import :: syscregionf
219 type(syscregionf), intent(in) :: region
220 integer(kind=8) :: ret
221!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
222!DIR$ ATTRIBUTES DLLIMPORT :: syscGetNumOutputVariablesF
223!DIR$ ENDIF
225!
226end interface syscgetnumoutputvariablesf
227!
228!**********************************************************************
230!**********************************************************************
231!
233!
242function syscgetoutputvariablef(region, index) result (ret)
243 import :: syscregionf, syscvariablef
244 type(syscregionf), intent(in) :: region
245 integer(kind=8) :: index
246 type(syscvariablef) :: ret
247!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
248!DIR$ ATTRIBUTES DLLIMPORT :: syscGetOutputVariableF
249!DIR$ ENDIF
250end function syscgetoutputvariablef
251!
252end interface syscgetoutputvariablef
253!
254end module fortran
Provide an interface to return an input variable.
Provide an interface to return the number of input variables.
Provide an interface to return the number of output variables.
Provide an interface to return an output variable.
Provide an interface to get a System Coupling region.
Provide a struct for a System Coupling region.
Provide a struct for a System Coupling variable.

Connect with Ansys