A module which writes out quantities which writes out diagnostic quantities which assess whether the velocity space resolution is sufficient.
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(diagnostics_type), | intent(inout) | :: | gnostics |
FIXME : Add documentation
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(diagnostics_type), | intent(in) | :: | gnostics |
Calculate and write the collision error
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(diagnostics_type), | intent(in) | :: | gnostics |
Calculate the collision error and write to text file <runname>.cres
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | unit | |||
complex, | intent(in), | dimension(-ntgrid:, :, :) | :: | phi | ||
complex, | intent(in), | dimension(-ntgrid:, :, :) | :: | bpar |
Error estimate obtained by comparing standard integral with less-accurate integral
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(out), | dimension (5,2) | :: | errest |
Estimated error. |
|
integer, | intent(out), | dimension (5,3) | :: | erridx |
Indices of maximum error. |
|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | phi |
Electrostatic potential and parallel magnetic field |
|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | bpar |
Electrostatic potential and parallel magnetic field |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | app1 | ||
complex, | intent(in), | dimension (-ntgrid:,:,:,:) | :: | app2 | ||
real, | intent(in), | dimension (:, :) | :: | kmax_local | ||
real, | intent(out), | dimension (:) | :: | errest | ||
integer, | intent(out), | dimension (:) | :: | erridx | ||
logical, | intent(in), | optional | :: | trap |
Error estimate based on monitoring amplitudes of legendre polynomial coefficients.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(out) | :: | geavg | |||
real, | intent(out) | :: | glavg | |||
real, | intent(out) | :: | gtavg | |||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | phi | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | bpar |