> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# syscaddregionf Interface Reference

Provide an interface to add a region.

## Public Member Functions

| Type | Name |
| - | - |
| type([syscerrorf](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/structfortran_1_1syscerrorf.md)) function | [syscaddregionf](#a76e91c428f581da4c6695c7a66027839) (reg) Provide a function to add a region to be used in a coupled analysis. |

## Detailed Description

Provide an interface to add a region.

Definition at line [177](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscSystemCouplingF_8fi_source) of file [syscSystemCouplingF.fi](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscSystemCouplingF_8fi_source).

## Constructor & Destructor Documentation

### syscaddregionf()

```fortran-free-form theme={null}
type(syscerrorf) function syscaddregionf(type(syscregionf), 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**

| Direction | Name | Description |
| - | - | - |
| \[in] | reg | - region to be added |

**Returns**

a `SyscErrorF` type for error checking.

Definition at line [194](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscSystemCouplingF_8fi_source) of file [syscSystemCouplingF.fi](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscSystemCouplingF_8fi_source).

```fortran-free-form theme={null}
 !
   import :: syscregionf
   import :: syscerrorf
   type(SyscRegionF), intent(in) :: reg
   type(SyscErrorF) :: ret
 !
 !DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
 !DIR$ ATTRIBUTES DLLIMPORT :: syscAddRegionF
 !DIR$ ENDIF
 !
```
