Skip to content

Commit d6a791f

Browse files
[FIX] Added phi_V and psi_V to the isotopic fraction scaling (#42)
1 parent e8dd429 commit d6a791f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

profile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ void Profile(AtomicLine *line)
291291
phi_delta * sin2_gamma * atmos.cos_2chi[mu][k] * sv[k];
292292
phi_U[k] +=
293293
phi_delta * sin2_gamma * atmos.sin_2chi[mu][k] * sv[k];
294-
phi_V[k] += sign *
294+
phi_V[k] += sign * line->c_fraction[n] *
295295
0.5*(phi_sp - phi_sm) * atmos.cos_gamma[mu][k] * sv[k];
296296

297297
if (input.magneto_optical) {
@@ -303,7 +303,7 @@ void Profile(AtomicLine *line)
303303
psi_delta * sin2_gamma * atmos.cos_2chi[mu][k] * sv[k];
304304
psi_U[k] +=
305305
psi_delta * sin2_gamma * atmos.sin_2chi[mu][k] * sv[k];
306-
psi_V[k] += sign *
306+
psi_V[k] += sign * line->c_fraction[n] *
307307
0.5 * (psi_sp - psi_sm) * atmos.cos_gamma[mu][k] * sv[k];
308308
}
309309
}

0 commit comments

Comments
 (0)