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

# syscaddsidetworegionf Interface Reference

Provide an interface to add side two region.

## Public Member Functions

| Type | Name |
| - | - |
| type([syscerrorf](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/structfortran_1_1syscerrorf.md)) function | [syscaddsidetworegionf](#a9bd8b8ff8727de23eabd530fef19e5ac) (interface, region) Add region to side two of the interface. |

## Detailed Description

Provide an interface to add side two region.

Definition at line [109](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscCouplingInterfaceF_8fi_source) of file [syscCouplingInterfaceF.fi](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscCouplingInterfaceF_8fi_source).

## Constructor & Destructor Documentation

### syscaddsidetworegionf()

```fortran-free-form theme={null}
type( syscerrorf ) function syscaddsidetworegionf(
    type( sysccouplinginterfacef ), intent(in) interface,
    type( syscregionf ), intent(in) region
)
```

Add region to side two of the interface.

If this region has already been added to the interface on side two, then this call will have no effect.

If a different region with the same name has already been added to the interface on side two, then a runtime error will be thrown.

If a region with the same name has already been added to the interface on side one, then a runtime error will be thrown.

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

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | interface | Coupling interface to which the output variable is to be added. |
| \[in] | region | Region to be added to side two of the interface. |

Definition at line [132](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscCouplingInterfaceF_8fi_source) of file [syscCouplingInterfaceF.fi](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/syscCouplingInterfaceF_8fi_source).

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