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

# Class ansys::dpf::OperatorDerivativeMain

![][C++]
![][public]

## Members

* [connectUpStreamDerivativeTo](#classansys-dpf-operatorderivativemain-1a60076182d7b82a998d29fdbaa1bbd3fb)
* [getDerivativeOfInput](#classansys-dpf-operatorderivativemain-1afe693166d11494ce5b5e3431b434b188)
* [instanciate](#classansys-dpf-operatorderivativemain-1a1f2e67269d38f1bd9de0937e486e8d5e)
* [mapBaseInputToInput](#classansys-dpf-operatorderivativemain-1a0afdd92405aee92df52cb976ba8f599e)
* [mapBaseOutputToInput](#classansys-dpf-operatorderivativemain-1aac07ecb02337c70ac2beec1dce8647f7)
* [mapDownStreamDerivativeTo](#classansys-dpf-operatorderivativemain-1a3a7c1d63b8b26d22936519f224e1122f)
* [OperatorDerivativeMain](#classansys-dpf-operatorderivativemain-1a00b86843cd2e332ccb980b257882d95d)
* [setDerivative](#classansys-dpf-operatorderivativemain-1a2edbd768bfb529ca03a7411ea2d1f9f2)

## Public functions

### Function OperatorDerivativeMain

![][public]

```cpp theme={null}
ansys::dpf::OperatorDerivativeMain::OperatorDerivativeMain(opaque::DpfOperatorDerivData *data)
```

**Parameters**:

* opaque::DpfOperatorDerivData \* **data**

**Return type**:

### Function getDerivativeOfInput

![][public]

```cpp theme={null}
Operator ansys::dpf::OperatorDerivativeMain::getDerivativeOfInput(int pin_index)
```

**Parameters**:

* int **pin\_index**

**Return type**: [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md)

### Function mapBaseInputToInput

![][public]

```cpp theme={null}
void ansys::dpf::OperatorDerivativeMain::mapBaseInputToInput(int base_pin_idx, int op_pin_idx, Operator &op)
```

**Parameters**:

* int **base\_pin\_idx**
* int **op\_pin\_idx**
* [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) & **op**

**Return type**: void

### Function mapBaseOutputToInput

![][public]

```cpp theme={null}
void ansys::dpf::OperatorDerivativeMain::mapBaseOutputToInput(int base_pin_idx, int op_pin_idx, Operator &op)
```

**Parameters**:

* int **base\_pin\_idx**
* int **op\_pin\_idx**
* [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) & **op**

**Return type**: void

### Function setDerivative

![][public]

```cpp theme={null}
void ansys::dpf::OperatorDerivativeMain::setDerivative(Operator &out)
```

**Parameters**:

* [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) & **out**

**Return type**: void

### Function instanciate

![][public]

```cpp theme={null}
Operator ansys::dpf::OperatorDerivativeMain::instanciate(std::string const &operator_name)
```

**Parameters**:

* std::string const & **operator\_name**

**Return type**: [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md)

### Function mapDownStreamDerivativeTo

![][public]

```cpp theme={null}
void ansys::dpf::OperatorDerivativeMain::mapDownStreamDerivativeTo(int input_pin, Operator &op)
```

**Parameters**:

* int **input\_pin**
* [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) & **op**

**Return type**: void

### Function connectUpStreamDerivativeTo

![][public]

```cpp theme={null}
void ansys::dpf::OperatorDerivativeMain::connectUpStreamDerivativeTo(Operator &op, int out_pin, int ancestor_pin)
```

**Parameters**:

* [Operator](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/classansys-dpf-operator.md) & **op**
* int **out\_pin**
* int **ancestor\_pin**

**Return type**: void

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[const]: https://img.shields.io/badge/-const-lightblue "const"

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

[static]: https://img.shields.io/badge/-static-lightgrey "static"
