Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def _validate_spacing_requirements_by_entity_type(self, param_info: ParamsValida

@deprecated(
"The `RotationCylinder` class is deprecated! Use `RotationVolume`,"
"which supports both `Cylinder` and `AxisymmetricBody` entities instead."
"which supports `Cylinder`, `AxisymmetricBody`, and `Sphere` entities instead."
)
class RotationCylinder(RotationVolume):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def uniform_refinement_translator(obj: UniformRefinement):
return {"spacing": obj.spacing.value.item()}


def cylindrical_refinement_translator(obj: Union[AxisymmetricRefinement, RotationVolume]):
def cylindrical_refinement_translator(
obj: Union[AxisymmetricRefinement, RotationVolume],
):
"""
Translate AxisymmetricRefinement or RotationVolume with Cylinder/AxisymmetricBody entities.

Expand Down
Loading