Skip to content
Snippets Groups Projects
Commit a4bc4c37 authored by Federico Andrés Stasyszyn's avatar Federico Andrés Stasyszyn
Browse files

small A dependence when checking

parent d961a00e
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ for ii in range(nini,nfin): ...@@ -50,7 +50,7 @@ for ii in range(nini,nfin):
divB = data.gas.magnetic_divergences divB = data.gas.magnetic_divergences
P_mag = (B[:, 0] ** 2 + B[:, 1] ** 2 + B[:, 2] ** 2) / 2 P_mag = (B[:, 0] ** 2 + B[:, 1] ** 2 + B[:, 2] ** 2) / 2
h = data.gas.smoothing_lengths h = data.gas.smoothing_lengths
A = data.gas.magnetic_vector_potentials #A = data.gas.magnetic_vector_potentials
normB = np.sqrt(B[:, 0] ** 2 + B[:, 1] ** 2 + B[:, 2] ** 2) normB = np.sqrt(B[:, 0] ** 2 + B[:, 1] ** 2 + B[:, 2] ** 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment