Diagnostic routines that are called at the end of the simulation, rather than during the run
Setup the FFTs for calculating the parallel spectrum
Calculate the parallel spectrum
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:,:,:) | :: | an | ||
complex, | intent(out), | dimension(:,:,:) | :: | an2 |
Write , overwriting existing values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | write_text |
Write to text file |
||
integer, | intent(in) | :: | file_id |
NetCDF ID of the file to write to |
Write the parallel spectrum of , overwriting existing values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | write_text |
Write to text file |
Calculate and write , overwriting existing values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | write_text |
Write to text file |
||
integer, | intent(in) | :: | file_id |
NetCDF ID of the file to write to |
Calculate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(-ntgrid:,:,:) | :: | phi | ||
complex, | intent(in), | dimension(-ntgrid:,:,:) | :: | apar | ||
complex, | intent(in), | dimension(-ntgrid:,:,:) | :: | phinew | ||
complex, | intent(in), | dimension(-ntgrid:,:,:) | :: | aparnew | ||
complex, | intent(out), | dimension(-ntgrid:,:,:) | :: | epar |
Calculate and write , overwriting existing values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | write_text |
Write to text file |
Calculate and write the various low-order moments, overwriting existing values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension (:, :) | :: | phi0_in |
Pre-calculated phase |
|
logical, | intent(in) | :: | use_normalisation |
Use phi0_in as normalisation |
||
logical, | intent(in) | :: | write_text |
Write to text file |
||
integer, | intent(in) | :: | file_id |
NetCDF ID of the file to write to |
Write the right-hand sides of the field equations, overwriting existing values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | write_text |
Write to text file |
||
integer, | intent(in) | :: | file_id |
NetCDF ID of the file to write to |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | write_text |
Write to text file |