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

# modal_superposition class

**Namespace:** [Ans.DataProcessing.operators.math](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/math)

## Summary

Computes the solution in the time/frequency space from a modal solution by multiplying a modal basis (in 0)by the solution in this modal space (coefficients for each mode for each time/frequency) (in 1).

available inputs: `modal_basis` (FieldsContainer), `solution_in_modal_space` (FieldsContainer), `incremental_fc` (FieldsContainer) (optional), `time_scoping` (Scoping, IList int, System.Collections.IEnumerable) (optional), `mesh_scoping` (Scoping, ScopingsContainer) (optional)

available outputs: `fields_container` (FieldsContainer)

## Example

```python theme={null}
op = modal_superposition()

op = modal_superposition(modal_basis=my_modal_basis,solution_in_modal_space=my_solution_in_modal_space,incremental_fc=my_incremental_fc,time_scoping=my_time_scoping,mesh_scoping=my_mesh_scoping)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.math` |
| Assembly | `Ans_Dpf_Math_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### modal\_basis

One field by mode with each field representing a mode shape on nodes or elements.

**Type:** *LinkableInput*

### solution\_in\_modal\_space

One field by time/frequency with each field having a ponderating coefficient for each mode of the modal\_basis pin.

**Type:** *LinkableInput*

### incremental\_fc

If a non-empty fields container is introduced, it is modified, and sent to the output, to add the contribution of the requested expansion. The label spaces produced from the multiplication must be the same as the incremental ones.

**Type:** *LinkableInput*

### time\_scoping

Compute the result on a subset of the time frequency domain defined in the solution\_in\_modal\_space fields container.

**Type:** *LinkableInput*

### mesh\_scoping

Compute the result on a subset of the space domain defined in the modal\_basis fields container.

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
modal_superposition()
```

#### Constructor

```python theme={null}
modal_superposition(modal_basis, solution_in_modal_space, incremental_fc, time_scoping, mesh_scoping, config)
```

**Parameters:**

* `modal_basis` (*object*)
* `solution_in_modal_space` (*object*)
* `incremental_fc` (*object*)
* `time_scoping` (*object*)
* `mesh_scoping` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
modal_superposition(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
