gray/tests/06-ITER-startup/outputs/x-mode
Michele Guerini Rocco ae139410cb
src/gray_project.f90: preserve sign of J_φ in statistics
This makes the following changes to summary.7.txt:

1. Preserve the sign of J_φ_peak J_φ_max, i.e. if the J_φ is negative,
   those will be negative. Previously they would always be unsigned.

2. If the sign of J_φ is alternating significantly, specifically if
    (∫|J_φ|dA - |∫J_φ⋅dA|) / ∫|J_φ|dA > 10%
   then sign of ρ_avg_J, Δρ_avg_J, ρ_max_J, Δρ_max_J will be negative.
   Previously they were always positive.

3. If there is no current J_φ=0 (power dPdV=0), then
   ρ_avg_J=1, rho_max_J=1 (ρ_avg_P=1, rho_max_P=1).
   Previosuly they would be set to zero.
   This helps producing continuous results as a beam is gradually
   focused into the plasma.
2025-03-17 15:27:21 +01:00
..
beam-shape-final.9.txt tests: update references with new tables format 2024-11-04 12:00:18 +01:00
beam-shape.8.txt tests: update references with new tables format 2024-11-04 12:00:18 +01:00
beam-size.12.txt tests: update references with new tables format 2024-11-04 12:00:18 +01:00
central-ray.4.txt tests: update references with new tables format 2024-11-04 12:00:18 +01:00
ec-profiles.48.txt tests: check EC profiles 2024-11-04 12:00:20 +01:00
ec-resonance.70.txt tests: update references with new tables format 2024-11-04 12:00:18 +01:00
flux-averages.56.txt src/gray_tables.f90: flux-averages do not go past ρ=1 2025-02-21 19:58:11 +01:00
flux-surfaces.71.txt tests: update references with new tables format 2024-11-04 12:00:18 +01:00
log tests: update references with new tables format 2024-11-04 12:00:18 +01:00
outer-rays.33.txt tests: update references with new tables format 2024-11-04 12:00:18 +01:00
summary.7.txt src/gray_project.f90: preserve sign of J_φ in statistics 2025-03-17 15:27:21 +01:00