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

# syscaddcouplinginterfacef Interface Reference

Provide an interface to add a coupling interface.

## Public Member Functions

| Type | Name |
| - | - |
| type([syscerrorf](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/structfortran_1_1syscerrorf.md)) function | [syscaddcouplinginterfacef](#ad3523afa60e5d240ab15467b9763f019) (interface) Provide a function to add a coupling interface. |
|  type([syscerrorf](https://developer.synopsys.com/docs/system-coupling/system-coupling-fortran-library/structfortran_1_1syscerrorf.md)) function | **syscaddcouplinginterfacef\_a** (interface, autoGenerateDataTransfers) |

## Detailed Description

Provide an interface to add a coupling interface.

Definition at line [212](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

### syscaddcouplinginterfacef()

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

Provide a function to add a coupling interface.

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

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

If the coupling interface name contains invalid characters, then an error status will be returned.

See SyscCouplingInterfaceF for more details.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | interface | - a coupling interface to be added. |

**Returns**

a `SyscErrorF` type for error checking.

Definition at line [231](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 :: sysccouplinginterfacef
   import :: syscerrorf
   type(SyscCouplingInterfaceF), intent(in) :: interface
   type(SyscErrorF) :: ret
 !
 !DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
 !DIR$ ATTRIBUTES DLLIMPORT :: syscAddCouplingInterfaceF
 !DIR$ ENDIF
 !
```
