A quasi-optical beam-tracing code for electron cyclotron waves absorption and current drive in tokamaks
a4a39571ce
When combining multiple independent simulations with `gray -s`, the statistics in sum-summary.txt are computed by summing the profiles pointwise and calling `postproc_profiles` with their (supposedly common) MHD equilibrium. The subroutine assumes the normalisations of dP/dV⋅dV and J_φ⋅dA are P_inside(ρ=1), I_cd_inside(ρ=1), however if the individual profiles have been computed with different versions of Gray, built with different compilers, or on different machines, the values may be very slightly off. Further, due to the use of the relation Δρ² = ⟨ρ²⟩ - ⟨ρ⟩², the profile widths are very sensible to the normalisation, producing wildly incorrect values. For example, due to the refactor of `magsurf_data`, a change of about 0.05% in dV resulted in Δρ² being off by 300%. |
||
---|---|---|
doc | ||
schemas | ||
scripts | ||
src | ||
srcjetto | ||
tests | ||
.gitignore | ||
configure | ||
default.nix | ||
LICENSE.md | ||
Makefile |