> ## 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.

# Interface fortran::syscaddregionf

![][Fortran]
![][public]

**Definition**: `syscSystemCouplingF.fi` (line 177)

Provide an interface to add a region.

## Members

* [syscaddregionf](#interfacefortran_1_1syscaddregionf_1a76e91c428f581da4c6695c7a66027839)

## Public functions

### Function syscaddregionf

![][public]

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

* **reg**: - region to be added

**Returns**:

a `SyscErrorF` type for error checking.

**Parameters**:

* regtype([syscregionf](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/fortran-reference/structfortran_1_1syscregionf.md)), intent(in)

**Return type**: type([syscerrorf](https://developer.synopsys.com/docs/system-coupling/system-coupling-participant-library/fortran-reference/structfortran_1_1syscerrorf.md)) function

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[Fortran]: https://img.shields.io/badge/language-Fortran-blue "Fortran"
