    

 ## On this page

  

 

 # syscaddregionf Interface Reference

 Last update: 17.07.2025 

Provide an interface to add a region. [More...](interfacefortran_1_1syscaddregionf.xhtml#details)

## <a name="pub-methods"></a>Public Member Functions

type([syscerrorf](structfortran_1_1syscerrorf.xhtml)) function [syscaddregionf](interfacefortran_1_1syscaddregionf.xhtml#a76e91c428f581da4c6695c7a66027839) (reg) Provide a function to add a region to be used in a coupled analysis. [More...](interfacefortran_1_1syscaddregionf.xhtml#a76e91c428f581da4c6695c7a66027839)  
 <a id="details" name="details"></a>## Detailed Description

Provide an interface to add a region.

Definition at line [177](syscSystemCouplingF_8fi_source.xhtml#l00177) of file [syscSystemCouplingF.fi](syscSystemCouplingF_8fi_source.xhtml).



## Constructor &amp; Destructor Documentation

<a id="a76e91c428f581da4c6695c7a66027839"></a>## [◆ ](#a76e91c428f581da4c6695c7a66027839)syscaddregionf()

 type([syscerrorf](structfortran_1_1syscerrorf.xhtml)) function [syscaddregionf](interfacefortran_1_1syscaddregionf.xhtml)  ( type([syscregionf](structfortran_1_1syscregionf.xhtml)), intent(in)  *reg*) 

Provide a function to add a region to be used in a coupled analysis.

If this region has already been added, then this call will have no effect.

If a different region with the same has already been added, then an error will be returned.

If the region name contains invalid characters, then a runtime eror will be thrown.

Parameters \[in\]reg- region to be addedReturnsa `SyscErrorF` type for error checking. Definition at line [194](syscSystemCouplingF_8fi_source.xhtml#l00194) of file [syscSystemCouplingF.fi](syscSystemCouplingF_8fi_source.xhtml).

<a name="l00195"></a> 195 !

<a name="l00196"></a> 196 import :: syscregionf

<a name="l00197"></a> 197 import :: syscerrorf

<a name="l00198"></a> 198 type(SyscRegionF), intent(in) :: reg

<a name="l00199"></a> 199 type(SyscErrorF) :: ret

<a name="l00200"></a> 200 !

<a name="l00201"></a> 201 !DIR$ IF DEFINED(\_WIN32) .and. ( .not. DEFINED(SYSTEM\_COUPLING\_PARTICIPANT\_PROXY))

<a name="l00202"></a> 202 !DIR$ ATTRIBUTES DLLIMPORT :: syscAddRegionF

<a name="l00203"></a> 203 !DIR$ ENDIF

<a name="l00204"></a> 204 !