Skip to content

Commit d750a76

Browse files
Update generated code for DPF 261_daily on main (#2506)
Co-authored-by: PProfizi <[email protected]>
1 parent dbd0284 commit d750a76

16 files changed

+704
-1342
lines changed

doc/source/_static/dpf_operators.html

Lines changed: 158 additions & 297 deletions
Large diffs are not rendered by default.

src/ansys/dpf/core/operators/math/compute_residual_and_error.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ class compute_residual_and_error(Operator):
3333
normalization_type: int, optional
3434
type of normalization applied to the residuals and norm calculation (optional, defaut: absolute):
3535
0 for absolute,
36-
1 for relative to the first entry at a given time step,
37-
2 for normalized by the max at a given time step of the first entry or residuals depending on the reference field option,
38-
3 for normalized by the max over all time steps of the first entry or residuals depending on the reference field option
36+
1 for relative to the first entry,
37+
2 for normalized by the max of each field of the first entry or residuals depending on the reference field option,
38+
3 for normalized by the max over all fields of the first entry or residuals depending on the reference field option
3939
norm_calculation_type: int, optional
4040
type for norm calculation (optional, default: L2) - It is normalized depending on Pin2 selection
4141
1 for L1, ie sum(abs(xi)),
@@ -140,9 +140,9 @@ def _spec() -> Specification:
140140
optional=True,
141141
document=r"""type of normalization applied to the residuals and norm calculation (optional, defaut: absolute):
142142
0 for absolute,
143-
1 for relative to the first entry at a given time step,
144-
2 for normalized by the max at a given time step of the first entry or residuals depending on the reference field option,
145-
3 for normalized by the max over all time steps of the first entry or residuals depending on the reference field option""",
143+
1 for relative to the first entry,
144+
2 for normalized by the max of each field of the first entry or residuals depending on the reference field option,
145+
3 for normalized by the max over all fields of the first entry or residuals depending on the reference field option""",
146146
),
147147
2: PinSpecification(
148148
name="norm_calculation_type",
@@ -308,9 +308,9 @@ def normalization_type(self) -> Input:
308308
309309
type of normalization applied to the residuals and norm calculation (optional, defaut: absolute):
310310
0 for absolute,
311-
1 for relative to the first entry at a given time step,
312-
2 for normalized by the max at a given time step of the first entry or residuals depending on the reference field option,
313-
3 for normalized by the max over all time steps of the first entry or residuals depending on the reference field option
311+
1 for relative to the first entry,
312+
2 for normalized by the max of each field of the first entry or residuals depending on the reference field option,
313+
3 for normalized by the max over all fields of the first entry or residuals depending on the reference field option
314314
315315
Returns
316316
-------

src/ansys/dpf/core/operators/result/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@
126126
from .euler_load_buckling import euler_load_buckling
127127
from .euler_nodes import euler_nodes
128128
from .fluid_velocity import fluid_velocity
129-
from .gasket_deformation import gasket_deformation
130-
from .gasket_deformation_X import gasket_deformation_X
131-
from .gasket_deformation_XY import gasket_deformation_XY
132-
from .gasket_deformation_XZ import gasket_deformation_XZ
133129
from .gasket_inelastic_closure import gasket_inelastic_closure
134130
from .gasket_inelastic_closure_X import gasket_inelastic_closure_X
135131
from .gasket_inelastic_closure_XY import gasket_inelastic_closure_XY
@@ -142,6 +138,10 @@
142138
from .gasket_thermal_closure_X import gasket_thermal_closure_X
143139
from .gasket_thermal_closure_XY import gasket_thermal_closure_XY
144140
from .gasket_thermal_closure_XZ import gasket_thermal_closure_XZ
141+
from .gasket_total_closure import gasket_total_closure
142+
from .gasket_total_closure_X import gasket_total_closure_X
143+
from .gasket_total_closure_XY import gasket_total_closure_XY
144+
from .gasket_total_closure_XZ import gasket_total_closure_XZ
145145
from .global_added_mass import global_added_mass
146146
from .global_added_mass_pct import global_added_mass_pct
147147
from .global_center_mass import global_center_mass

0 commit comments

Comments
 (0)