Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real, | private, | parameter | :: | zero | = | epsilon(0.0) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | restart |
Is this run a restart? |
||
character(len=40), | intent(in) | :: | git_commit | |||
character(len=10), | intent(in) | :: | git_date |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | file_id |
NetCDF ID of the file |
Save the input file in the NetCDF file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | file_id |
NetCDF ID of the file to write to |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=40), | intent(in) | :: | git_commit | |||
character(len=10), | intent(in) | :: | git_date |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep and current simulation time |
||
real, | intent(in) | :: | time |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep and amplitude of electrostatic potential |
||
real, | intent(in) | :: | phi2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep and amplitude of parallel vector potential |
||
real, | intent(in) | :: | apar2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep and amplitude of parallel vector potential |
||
real, | intent(in) | :: | bpar2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep |
||
real, | intent(in), | dimension(:, :) | :: | phi2_vs_kxky | ||
character(len=*), | intent(in) | :: | keyname | |||
character(len=*), | intent(in) | :: | longname |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | phi |
Write time trace of electromagnetic field A|| to netCDF
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep |
||
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | apar |
Write time trace of electromagnetic field B|| to netCDF
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep |
||
complex, | intent(in), | dimension(:, :, -nzgrid:, :) | :: | bpar |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
complex, | intent(in), | dimension(:, :) | :: | omega |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep |
||
real, | intent(in), | dimension(:) | :: | pflux_vs_s | ||
real, | intent(in), | dimension(:) | :: | vflux_vs_s | ||
real, | intent(in), | dimension(:) | :: | qflux_vs_s |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :) | :: | pflux_kxkys | ||
real, | intent(in), | dimension(:, :, :) | :: | vflux_kxkys | ||
real, | intent(in), | dimension(:, :, :) | :: | qflux_kxkys |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | pflux_kxkyzts | ||
real, | intent(in), | dimension(:, :, :, :, :) | :: | vflux_kxkyzts | ||
real, | intent(in), | dimension(:, :, :, :, :) | :: | qflux_kxkyzts |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep and particle, velocity, heat flux |
||
real, | intent(in), | dimension(:, :) | :: | pflux | ||
real, | intent(in), | dimension(:, :) | :: | vflux | ||
real, | intent(in), | dimension(:, :) | :: | qflux |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout |
Current timestep and radial moments for density, parallel velocity, temperature |
||
real, | intent(in), | dimension(:, :) | :: | dens_x | ||
real, | intent(in), | dimension(:, :) | :: | upar_x | ||
real, | intent(in), | dimension(:, :) | :: | temp_x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
complex, | intent(in), | dimension(:, :, :, :, :) | :: | density | ||
complex, | intent(in), | dimension(:, :, :, :, :) | :: | upar | ||
complex, | intent(in), | dimension(:, :, :, :, :) | :: | temperature | ||
complex, | intent(in), | dimension(:, :, :, :, :) | :: | spitzer2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :) | :: | g2_vs_vpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | g2_vs_zvpas |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | g2_vs_zmus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | g2_vs_zkykxs |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | g2_vs_zvpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :) | :: | g2nozonal_vs_vpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | g2nozonal_vs_zvpas |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | g2nozonal_vs_zmus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | g2nozonal_vs_zvpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :) | :: | h2_vs_vpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | h2_vs_zvpas |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | h2_vs_zmus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | h2_vs_zkykxs |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | h2_vs_zvpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :) | :: | h2nozonal_vs_vpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | h2nozonal_vs_zvpas |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | h2nozonal_vs_zmus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | h2nozonal_vs_zvpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :) | :: | f2_vs_vpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | f2_vs_zvpas |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | f2_vs_zmus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | f2_vs_zkykxs |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | f2_vs_zvpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :) | :: | f2nozonal_vs_vpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | f2nozonal_vs_zvpas |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :) | :: | f2nozonal_vs_zmus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nout | |||
real, | intent(in), | dimension(:, :, :, :, :) | :: | f2nozonal_vs_zvpamus |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | file_id |
NetCDF ID of the file to write to |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | file_id |
Get the index of the time dimension in the netCDF file that corresponds to
a time no larger than tstart
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | tstart |
Simulation time to find |
||
integer, | intent(out) | :: | nout |
Index of time dimension |
Flush netCDF file to disk
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | parent_id |
NetCDF ID of the parent group/file |
||
character(len=*), | intent(in) | :: | name |
Name of the variable |
||
complex, | intent(in), | dimension(:, :) | :: | values |
Array to be written |
|
character(len=*), | intent(in), | dimension(:) | :: | dim_names |
Array of dimension names |
|
character(len=*), | intent(in), | optional | :: | units |
Units of coordinate |
|
character(len=*), | intent(in), | optional | :: | long_name |
Long descriptive name |
|
integer, | intent(in), | optional, | dimension(:) | :: | start |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | parent_id |
NetCDF ID of the parent group/file |
||
character(len=*), | intent(in) | :: | name |
Name of the variable |
||
complex, | intent(in), | dimension(:, :, :, :) | :: | values |
Array to be written |
|
character(len=*), | intent(in), | dimension(:) | :: | dim_names |
Array of dimension names |
|
character(len=*), | intent(in), | optional | :: | units |
Units of coordinate |
|
character(len=*), | intent(in), | optional | :: | long_name |
Long descriptive name |
|
integer, | intent(in), | optional, | dimension(:) | :: | start |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | parent_id |
NetCDF ID of the parent group/file |
||
character(len=*), | intent(in) | :: | name |
Name of the variable |
||
complex, | intent(in), | dimension(:, :, :, :, :) | :: | values |
Array to be written |
|
character(len=*), | intent(in), | dimension(:) | :: | dim_names |
Array of dimension names |
|
character(len=*), | intent(in), | optional | :: | units |
Units of coordinate |
|
character(len=*), | intent(in), | optional | :: | long_name |
Long descriptive name |
|
integer, | intent(in), | optional, | dimension(:) | :: | start |