Skip to content
Snippets Groups Projects
Commit ca586147 authored by Koerber, Lukas (FWIN-C) - 108045's avatar Koerber, Lukas (FWIN-C) - 108045
Browse files

Add missing effective field in jabocian.

parent a01474b5
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ def jac_spherical(mag_spherical, nx, dA, h_ext, N, N_cub):
m_z = np.cos(theta)
mag = np.concatenate((m_x, m_y, m_z))
h_eff = h_ext #- N.dot(mag).real + N_cub.nonlinear_field(mag)
h_eff = h_ext - N.dot(mag).real #+ N_cub.nonlinear_field(mag)
# TODO include again!
h_x = h_eff[:nx]
......@@ -122,4 +122,4 @@ def minimize_gibbs_free_energy(sample, Bext,tol_cg):
return m_final
else:
print("\ndid not work :(\n")
return m_ini
\ No newline at end of file
#return m_ini
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment