Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix doc example in set_coreloss_at_frequency #3937

Merged
merged 1 commit into from
Dec 4, 2023
Merged
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
4 changes: 2 additions & 2 deletions pyaedt/modules/Material.py
Original file line number Diff line number Diff line change
Expand Up @@ -2164,7 +2164,7 @@ def set_coreloss_at_frequency(
>>> m3d = Maxwell3d()
>>> box = m3d.modeler.create_box([-10, -10, 0], [20, 20, 20], "box_to_split")
>>> box.material = "magnesium"
>>> m3d.materials["magnesium"].set_electrical_steel_coreloss(
>>> m3d.materials["magnesium"].set_coreloss_at_frequency(
... points_list_at_freq={60 : [[0,0], [1,3.5], [2,7.4]]}
... )
>>> m3d.release_desktop(True, True)
Expand All @@ -2175,7 +2175,7 @@ def set_coreloss_at_frequency(
>>> m3d = Maxwell3d()
>>> box = m3d.modeler.create_box([-10, -10, 0], [20, 20, 20], "box_to_split")
>>> box.material = "magnesium"
>>> m3d.materials["magnesium"].set_electrical_steel_coreloss(
>>> m3d.materials["magnesium"].set_coreloss_at_frequency(
... points_list_at_freq={60 : [[0,0], [1,3.5], [2,7.4]],
... 100 : [[0,0], [1,8], [2,9]],
... 150 : [[0,0], [1,10], [2,19]]}
Expand Down
Loading