Skip to content

Commit

Permalink
typo in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed Nov 24, 2024
1 parent d917dd6 commit 382f2b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pypeec/lib_solver/extract_solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _get_magnetic_charge(pts, pts_src, I_src):

def get_magnetic_field_electric(n, d, idx_fc, A_net_c, I_fc, pts_net_c, pts_cloud):
"""
Compute the magnetic field for the provided points (electric of the magnetic domains).
Compute the magnetic field for the provided points (contributions of the electric domains).
The Biot-Savart law is used for the electric material contribution.
"""

Expand Down Expand Up @@ -106,7 +106,7 @@ def get_magnetic_field_electric(n, d, idx_fc, A_net_c, I_fc, pts_net_c, pts_clou
return H_pts


def get_magnetic_magnetic(A_net_m, I_fm, pts_net_m, pts_cloud):
def get_magnetic_field_magnetic(A_net_m, I_fm, pts_net_m, pts_cloud):
"""
Compute the magnetic field for the provided points (contributions of the magnetic domains).
The magnetic charge is used for the magnetic material contribution.
Expand Down
2 changes: 1 addition & 1 deletion pypeec/run/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def _run_solver_sweep(data_solver, data_internal, data_param, sol_init):
H_pts_c = extract_solution.get_magnetic_field_electric(n, d, idx_fc, A_net_c, I_fc, pts_net_c, pts_cloud)

# get the cloud point magnetic field (contributions of the magnetic domains)
H_pts_m = extract_solution.get_magnetic_magnetic(A_net_m, I_fm, pts_net_m, pts_cloud)
H_pts_m = extract_solution.get_magnetic_field_magnetic(A_net_m, I_fm, pts_net_m, pts_cloud)

# assemble solution
var = {
Expand Down

0 comments on commit 382f2b3

Please sign in to comment.