Skip to main content

System Coupling Fortran library 2025 R1

syscRegionF

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 ! *********************************************************************
29 type :: syscregionf
31  character(len=SyscStrLen) :: regionname
33  integer(kind=4) :: topology
35  integer(kind=4) :: regiondiscretizationtype
37  character(len=SyscStrLen) :: displayname
38 end type syscregionf
39 !
40 !**********************************************************************
42 !**********************************************************************
43 !
44 interface syscgetregionf
45 !
46 !**********************************************************************
57 !**********************************************************************
58 function 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 !
68 end function syscgetregionf
69 !
70 !**********************************************************************
81 !**********************************************************************
82 function 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 !
93 end function syscgetregionf_t
94 !
95 !**********************************************************************
107 !**********************************************************************
108 function 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 !
121 end function syscgetregionf_dt
122 !
123 !**********************************************************************
134 !**********************************************************************
135 function syscgetregionf_tm(regionName, topology, &
136  discretization) result(ret)
137 !
138 import :: syscregionf
139 character(len=*), intent(in) :: regionname
140 integer(kind=4), intent(in) :: topology
141 integer(kind=4), intent(in) :: discretization
142 type(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 !
148 end function syscgetregionf_tm
149 !
150 !**********************************************************************
151 !
152 end interface syscgetregionf
153 !
154 !**********************************************************************
157 !**********************************************************************
158 !
160 !
167 function 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
174 end function syscgetnuminputvariablesf
175 !
176 end interface syscgetnuminputvariablesf
177 !
178 !**********************************************************************
180 !**********************************************************************
181 !
183 !
192 function 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
200 end function syscgetinputvariablef
201 !
202 end interface syscgetinputvariablef
203 !
204 !**********************************************************************
207 !**********************************************************************
208 !
210 !
217 function 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
224 end function syscgetnumoutputvariablesf
225 !
226 end interface syscgetnumoutputvariablesf
227 !
228 !**********************************************************************
230 !**********************************************************************
231 !
233 !
242 function 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
250 end function syscgetoutputvariablef
251 !
252 end interface syscgetoutputvariablef
253 !
254 end module fortran
Provide an interface to return an input variable.
Definition: syscRegionF.fi:182
Provide an interface to return the number of input variables.
Definition: syscRegionF.fi:159
Provide an interface to return the number of output variables.
Definition: syscRegionF.fi:209
Provide an interface to return an output variable.
Definition: syscRegionF.fi:232
Provide an interface to get a System Coupling region.
Definition: syscRegionF.fi:44
Provide a struct for a System Coupling region.
Definition: syscRegionF.fi:29
Provide a struct for a System Coupling variable.

Connect with Ansys