Skip to content
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions doc/source/_static/dpf_operators.html

Large diffs are not rendered by default.

41 changes: 0 additions & 41 deletions src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ class gasket_inelastic_closure(Operator):
prevents from reading the mesh in the result files
requested_location: str, optional
requested location Nodal, Elemental or ElementalNodal
read_beams: bool, optional
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
shell_layer: int, optional
Expand Down Expand Up @@ -185,8 +183,6 @@ class gasket_inelastic_closure(Operator):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
>>> my_shell_layer = int()
Expand All @@ -202,7 +198,6 @@ class gasket_inelastic_closure(Operator):
... bool_rotate_to_global=my_bool_rotate_to_global,
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
... )
Expand All @@ -221,7 +216,6 @@ def __init__(
bool_rotate_to_global=None,
mesh=None,
requested_location=None,
read_beams=None,
split_shells=None,
shell_layer=None,
config=None,
Expand All @@ -246,8 +240,6 @@ def __init__(
self.inputs.mesh.connect(mesh)
if requested_location is not None:
self.inputs.requested_location.connect(requested_location)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)
if split_shells is not None:
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
Expand Down Expand Up @@ -428,12 +420,6 @@ def _spec() -> Specification:
optional=True,
document=r"""requested location Nodal, Elemental or ElementalNodal""",
),
22: PinSpecification(
name="read_beams",
type_names=["bool"],
optional=True,
document=r"""elemental nodal beam results are read if this pin is set to true (default is false)""",
),
26: PinSpecification(
name="split_shells",
type_names=["bool"],
Expand Down Expand Up @@ -526,8 +512,6 @@ class InputsGasketInelasticClosure(_Inputs):
>>> op.inputs.mesh.connect(my_mesh)
>>> my_requested_location = str()
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
>>> my_shell_layer = int()
Expand Down Expand Up @@ -566,10 +550,6 @@ def __init__(self, op: Operator):
gasket_inelastic_closure._spec().input_pin(9), 9, op, -1
)
self._inputs.append(self._requested_location)
self._read_beams = Input(
gasket_inelastic_closure._spec().input_pin(22), 22, op, -1
)
self._inputs.append(self._read_beams)
self._split_shells = Input(
gasket_inelastic_closure._spec().input_pin(26), 26, op, -1
)
Expand Down Expand Up @@ -747,27 +727,6 @@ def requested_location(self) -> Input:
"""
return self._requested_location

@property
def read_beams(self) -> Input:
r"""Allows to connect read_beams input to the operator.

elemental nodal beam results are read if this pin is set to true (default is false)

Returns
-------
input:
An Input instance for this pin.

Examples
--------
>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.gasket_inelastic_closure()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> # or
>>> op.inputs.read_beams(my_read_beams)
"""
return self._read_beams

@property
def split_shells(self) -> Input:
r"""Allows to connect split_shells input to the operator.
Expand Down
41 changes: 0 additions & 41 deletions src/ansys/dpf/core/operators/result/gasket_inelastic_closure_X.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ class gasket_inelastic_closure_X(Operator):
requested location, default is Nodal
read_cyclic: int, optional
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)
read_beams: bool, optional
elemental nodal beam results are read if this pin is set to true (default is false)

Returns
-------
Expand Down Expand Up @@ -75,8 +73,6 @@ class gasket_inelastic_closure_X(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)

>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.gasket_inelastic_closure_X(
Expand All @@ -89,7 +85,6 @@ class gasket_inelastic_closure_X(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... )

>>> # Get output data
Expand All @@ -107,7 +102,6 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
read_beams=None,
config=None,
server=None,
):
Expand All @@ -132,8 +126,6 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)

@staticmethod
def _spec() -> Specification:
Expand Down Expand Up @@ -206,12 +198,6 @@ def _spec() -> Specification:
optional=True,
document=r"""if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)""",
),
22: PinSpecification(
name="read_beams",
type_names=["bool"],
optional=True,
document=r"""elemental nodal beam results are read if this pin is set to true (default is false)""",
),
},
map_output_pin_spec={
0: PinSpecification(
Expand Down Expand Up @@ -294,8 +280,6 @@ class InputsGasketInelasticClosureX(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
"""

def __init__(self, op: Operator):
Expand Down Expand Up @@ -334,10 +318,6 @@ def __init__(self, op: Operator):
gasket_inelastic_closure_X._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
self._read_beams = Input(
gasket_inelastic_closure_X._spec().input_pin(22), 22, op, -1
)
self._inputs.append(self._read_beams)

@property
def time_scoping(self) -> Input:
Expand Down Expand Up @@ -528,27 +508,6 @@ def read_cyclic(self) -> Input:
"""
return self._read_cyclic

@property
def read_beams(self) -> Input:
r"""Allows to connect read_beams input to the operator.

elemental nodal beam results are read if this pin is set to true (default is false)

Returns
-------
input:
An Input instance for this pin.

Examples
--------
>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.gasket_inelastic_closure_X()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> # or
>>> op.inputs.read_beams(my_read_beams)
"""
return self._read_beams


class OutputsGasketInelasticClosureX(_Outputs):
"""Intermediate class used to get outputs from
Expand Down
41 changes: 0 additions & 41 deletions src/ansys/dpf/core/operators/result/gasket_inelastic_closure_XY.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ class gasket_inelastic_closure_XY(Operator):
requested location, default is Nodal
read_cyclic: int, optional
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)
read_beams: bool, optional
elemental nodal beam results are read if this pin is set to true (default is false)
Returns
-------
Expand Down Expand Up @@ -75,8 +73,6 @@ class gasket_inelastic_closure_XY(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.gasket_inelastic_closure_XY(
Expand All @@ -89,7 +85,6 @@ class gasket_inelastic_closure_XY(Operator):
... mesh=my_mesh,
... requested_location=my_requested_location,
... read_cyclic=my_read_cyclic,
... read_beams=my_read_beams,
... )
>>> # Get output data
Expand All @@ -107,7 +102,6 @@ def __init__(
mesh=None,
requested_location=None,
read_cyclic=None,
read_beams=None,
config=None,
server=None,
):
Expand All @@ -132,8 +126,6 @@ def __init__(
self.inputs.requested_location.connect(requested_location)
if read_cyclic is not None:
self.inputs.read_cyclic.connect(read_cyclic)
if read_beams is not None:
self.inputs.read_beams.connect(read_beams)

@staticmethod
def _spec() -> Specification:
Expand Down Expand Up @@ -206,12 +198,6 @@ def _spec() -> Specification:
optional=True,
document=r"""if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)""",
),
22: PinSpecification(
name="read_beams",
type_names=["bool"],
optional=True,
document=r"""elemental nodal beam results are read if this pin is set to true (default is false)""",
),
},
map_output_pin_spec={
0: PinSpecification(
Expand Down Expand Up @@ -294,8 +280,6 @@ class InputsGasketInelasticClosureXy(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_read_cyclic = int()
>>> op.inputs.read_cyclic.connect(my_read_cyclic)
>>> my_read_beams = bool()
>>> op.inputs.read_beams.connect(my_read_beams)
"""

def __init__(self, op: Operator):
Expand Down Expand Up @@ -334,10 +318,6 @@ def __init__(self, op: Operator):
gasket_inelastic_closure_XY._spec().input_pin(14), 14, op, -1
)
self._inputs.append(self._read_cyclic)
self._read_beams = Input(
gasket_inelastic_closure_XY._spec().input_pin(22), 22, op, -1
)
self._inputs.append(self._read_beams)

@property
def time_scoping(self) -> Input:
Expand Down Expand Up @@ -528,27 +508,6 @@ def read_cyclic(self) -> Input:
"""
return self._read_cyclic

@property
def read_beams(self) -> Input:
r"""Allows to connect read_beams input to the operator.
elemental nodal beam results are read if this pin is set to true (default is false)
Returns
-------
input:
An Input instance for this pin.
Examples
--------
>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.gasket_inelastic_closure_XY()
>>> op.inputs.read_beams.connect(my_read_beams)
>>> # or
>>> op.inputs.read_beams(my_read_beams)
"""
return self._read_beams


class OutputsGasketInelasticClosureXy(_Outputs):
"""Intermediate class used to get outputs from
Expand Down
Loading
Loading