Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ class elemental_difference(Operator):
>>> result_field = op.outputs.field()
"""

_inputs: InputsElementalDifference
_outputs: OutputsElementalDifference

def __init__(
self,
field=None,
Expand Down Expand Up @@ -162,7 +165,7 @@ def inputs(self) -> InputsElementalDifference:
inputs:
An instance of InputsElementalDifference.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalDifference:
Expand All @@ -173,7 +176,7 @@ def outputs(self) -> OutputsElementalDifference:
outputs:
An instance of OutputsElementalDifference.
"""
return super().outputs
return self._outputs


class InputsElementalDifference(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ class elemental_difference_fc(Operator):
>>> result_fields_container = op.outputs.fields_container()
"""

_inputs: InputsElementalDifferenceFc
_outputs: OutputsElementalDifferenceFc

def __init__(
self,
fields_container=None,
Expand Down Expand Up @@ -168,7 +171,7 @@ def inputs(self) -> InputsElementalDifferenceFc:
inputs:
An instance of InputsElementalDifferenceFc.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalDifferenceFc:
Expand All @@ -179,7 +182,7 @@ def outputs(self) -> OutputsElementalDifferenceFc:
outputs:
An instance of OutputsElementalDifferenceFc.
"""
return super().outputs
return self._outputs


class InputsElementalDifferenceFc(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ class elemental_fraction_fc(Operator):
>>> result_fields_container = op.outputs.fields_container()
"""

_inputs: InputsElementalFractionFc
_outputs: OutputsElementalFractionFc

def __init__(
self,
fields_container=None,
Expand Down Expand Up @@ -174,7 +177,7 @@ def inputs(self) -> InputsElementalFractionFc:
inputs:
An instance of InputsElementalFractionFc.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalFractionFc:
Expand All @@ -185,7 +188,7 @@ def outputs(self) -> OutputsElementalFractionFc:
outputs:
An instance of OutputsElementalFractionFc.
"""
return super().outputs
return self._outputs


class InputsElementalFractionFc(_Inputs):
Expand Down
7 changes: 5 additions & 2 deletions src/ansys/dpf/core/operators/averaging/elemental_mean.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ class elemental_mean(Operator):
>>> result_field = op.outputs.field()
"""

_inputs: InputsElementalMean
_outputs: OutputsElementalMean

def __init__(
self,
field=None,
Expand Down Expand Up @@ -158,7 +161,7 @@ def inputs(self) -> InputsElementalMean:
inputs:
An instance of InputsElementalMean.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalMean:
Expand All @@ -169,7 +172,7 @@ def outputs(self) -> OutputsElementalMean:
outputs:
An instance of OutputsElementalMean.
"""
return super().outputs
return self._outputs


class InputsElementalMean(_Inputs):
Expand Down
7 changes: 5 additions & 2 deletions src/ansys/dpf/core/operators/averaging/elemental_mean_fc.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ class elemental_mean_fc(Operator):
>>> result_fields_container = op.outputs.fields_container()
"""

_inputs: InputsElementalMeanFc
_outputs: OutputsElementalMeanFc

def __init__(
self,
fields_container=None,
Expand Down Expand Up @@ -214,7 +217,7 @@ def inputs(self) -> InputsElementalMeanFc:
inputs:
An instance of InputsElementalMeanFc.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalMeanFc:
Expand All @@ -225,7 +228,7 @@ def outputs(self) -> OutputsElementalMeanFc:
outputs:
An instance of OutputsElementalMeanFc.
"""
return super().outputs
return self._outputs


class InputsElementalMeanFc(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ class elemental_nodal_to_nodal(Operator):
>>> result_weight = op.outputs.weight()
"""

_inputs: InputsElementalNodalToNodal
_outputs: OutputsElementalNodalToNodal

def __init__(
self,
field=None,
Expand Down Expand Up @@ -195,7 +198,7 @@ def inputs(self) -> InputsElementalNodalToNodal:
inputs:
An instance of InputsElementalNodalToNodal.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalNodalToNodal:
Expand All @@ -206,7 +209,7 @@ def outputs(self) -> OutputsElementalNodalToNodal:
outputs:
An instance of OutputsElementalNodalToNodal.
"""
return super().outputs
return self._outputs


class InputsElementalNodalToNodal(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ class elemental_nodal_to_nodal_elemental(Operator):
>>> result_field = op.outputs.field()
"""

_inputs: InputsElementalNodalToNodalElemental
_outputs: OutputsElementalNodalToNodalElemental

def __init__(self, field=None, mesh_scoping=None, config=None, server=None):
super().__init__(
name="ElementalNodal_To_NodalElemental", config=config, server=server
Expand Down Expand Up @@ -128,7 +131,7 @@ def inputs(self) -> InputsElementalNodalToNodalElemental:
inputs:
An instance of InputsElementalNodalToNodalElemental.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalNodalToNodalElemental:
Expand All @@ -139,7 +142,7 @@ def outputs(self) -> OutputsElementalNodalToNodalElemental:
outputs:
An instance of OutputsElementalNodalToNodalElemental.
"""
return super().outputs
return self._outputs


class InputsElementalNodalToNodalElemental(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class elemental_nodal_to_nodal_elemental_fc(Operator):
>>> result_fields_container = op.outputs.fields_container()
"""

_inputs: InputsElementalNodalToNodalElementalFc
_outputs: OutputsElementalNodalToNodalElementalFc

def __init__(
self, fields_container=None, mesh_scoping=None, config=None, server=None
):
Expand Down Expand Up @@ -129,7 +132,7 @@ def inputs(self) -> InputsElementalNodalToNodalElementalFc:
inputs:
An instance of InputsElementalNodalToNodalElementalFc.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalNodalToNodalElementalFc:
Expand All @@ -140,7 +143,7 @@ def outputs(self) -> OutputsElementalNodalToNodalElementalFc:
outputs:
An instance of OutputsElementalNodalToNodalElementalFc.
"""
return super().outputs
return self._outputs


class InputsElementalNodalToNodalElementalFc(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ class elemental_nodal_to_nodal_fc(Operator):
>>> result_weights = op.outputs.weights()
"""

_inputs: InputsElementalNodalToNodalFc
_outputs: OutputsElementalNodalToNodalFc

def __init__(
self,
fields_container=None,
Expand Down Expand Up @@ -236,7 +239,7 @@ def inputs(self) -> InputsElementalNodalToNodalFc:
inputs:
An instance of InputsElementalNodalToNodalFc.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalNodalToNodalFc:
Expand All @@ -247,7 +250,7 @@ def outputs(self) -> OutputsElementalNodalToNodalFc:
outputs:
An instance of OutputsElementalNodalToNodalFc.
"""
return super().outputs
return self._outputs


class InputsElementalNodalToNodalFc(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ class elemental_to_elemental_nodal(Operator):
>>> result_field = op.outputs.field()
"""

_inputs: InputsElementalToElementalNodal
_outputs: OutputsElementalToElementalNodal

def __init__(
self, field=None, mesh_scoping=None, mesh=None, config=None, server=None
):
Expand Down Expand Up @@ -141,7 +144,7 @@ def inputs(self) -> InputsElementalToElementalNodal:
inputs:
An instance of InputsElementalToElementalNodal.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalToElementalNodal:
Expand All @@ -152,7 +155,7 @@ def outputs(self) -> OutputsElementalToElementalNodal:
outputs:
An instance of OutputsElementalToElementalNodal.
"""
return super().outputs
return self._outputs


class InputsElementalToElementalNodal(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class elemental_to_elemental_nodal_fc(Operator):
>>> result_fields_container = op.outputs.fields_container()
"""

_inputs: InputsElementalToElementalNodalFc
_outputs: OutputsElementalToElementalNodalFc

def __init__(
self,
fields_container=None,
Expand Down Expand Up @@ -144,7 +147,7 @@ def inputs(self) -> InputsElementalToElementalNodalFc:
inputs:
An instance of InputsElementalToElementalNodalFc.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalToElementalNodalFc:
Expand All @@ -155,7 +158,7 @@ def outputs(self) -> OutputsElementalToElementalNodalFc:
outputs:
An instance of OutputsElementalToElementalNodalFc.
"""
return super().outputs
return self._outputs


class InputsElementalToElementalNodalFc(_Inputs):
Expand Down
7 changes: 5 additions & 2 deletions src/ansys/dpf/core/operators/averaging/elemental_to_nodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ class elemental_to_nodal(Operator):
>>> result_field = op.outputs.field()
"""

_inputs: InputsElementalToNodal
_outputs: OutputsElementalToNodal

def __init__(
self,
field=None,
Expand Down Expand Up @@ -192,7 +195,7 @@ def inputs(self) -> InputsElementalToNodal:
inputs:
An instance of InputsElementalToNodal.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalToNodal:
Expand All @@ -203,7 +206,7 @@ def outputs(self) -> OutputsElementalToNodal:
outputs:
An instance of OutputsElementalToNodal.
"""
return super().outputs
return self._outputs


class InputsElementalToNodal(_Inputs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ class elemental_to_nodal_fc(Operator):
>>> result_fields_container = op.outputs.fields_container()
"""

_inputs: InputsElementalToNodalFc
_outputs: OutputsElementalToNodalFc

def __init__(
self,
fields_container=None,
Expand Down Expand Up @@ -200,7 +203,7 @@ def inputs(self) -> InputsElementalToNodalFc:
inputs:
An instance of InputsElementalToNodalFc.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsElementalToNodalFc:
Expand All @@ -211,7 +214,7 @@ def outputs(self) -> OutputsElementalToNodalFc:
outputs:
An instance of OutputsElementalToNodalFc.
"""
return super().outputs
return self._outputs


class InputsElementalToNodalFc(_Inputs):
Expand Down
7 changes: 5 additions & 2 deletions src/ansys/dpf/core/operators/averaging/extend_to_mid_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ class extend_to_mid_nodes(Operator):
>>> result_field = op.outputs.field()
"""

_inputs: InputsExtendToMidNodes
_outputs: OutputsExtendToMidNodes

def __init__(self, field=None, mesh=None, config=None, server=None):
super().__init__(name="extend_to_mid_nodes", config=config, server=server)
self._inputs = InputsExtendToMidNodes(self)
Expand Down Expand Up @@ -124,7 +127,7 @@ def inputs(self) -> InputsExtendToMidNodes:
inputs:
An instance of InputsExtendToMidNodes.
"""
return super().inputs
return self._inputs

@property
def outputs(self) -> OutputsExtendToMidNodes:
Expand All @@ -135,7 +138,7 @@ def outputs(self) -> OutputsExtendToMidNodes:
outputs:
An instance of OutputsExtendToMidNodes.
"""
return super().outputs
return self._outputs


class InputsExtendToMidNodes(_Inputs):
Expand Down
Loading
Loading