diagnostics_type Derived Type

type, public :: diagnostics_type

A type for storing the diagnostics configuration, a reference to the output file, and current results of the simulation


Contents

Source Code


Components

Type Visibility Attributes Name Initial
type(diagnostics_ascii_type), public :: ascii_files
type(results_summary_type), public :: current_results
integer, public :: file_id

NetCDF file ID

integer, public :: nout = 1

Current timestep

integer, public :: istep
integer, public :: verbosity = 3
logical, public :: create
logical, public :: writing
logical, public :: distributed
logical, public :: parallel
logical, public :: exit
logical, public :: vary_vnew_only
logical, public :: calculate_fluxes
logical, public :: appending
real, public :: user_time
real, public :: user_time_old
real, public :: start_time
real, public, dimension(:), pointer :: fluxfac
integer, public :: nwrite
integer, public :: nwrite_mult
logical, public :: write_any
logical, public :: append_old
logical, public :: enable_parallel
logical, public :: serial_netcdf4
integer, public :: igomega
logical, public :: print_line
logical, public :: print_flux_line
logical, public :: write_line
logical, public :: write_flux_line
logical, public :: write_fields
logical, public :: write_phi_over_time
logical, public :: write_apar_over_time
logical, public :: write_bpar_over_time
logical, public :: make_movie
logical, public :: dump_fields_periodically
logical, public :: write_moments
logical, public :: write_full_moments_notgc
logical, public :: write_ntot_over_time
logical, public :: write_density_over_time
logical, public :: write_upar_over_time
logical, public :: write_tperp_over_time
logical, public :: write_fluxes
logical, public :: write_fluxes_by_mode
logical, public :: write_symmetry
logical, public :: write_nl_flux_dist
logical, public :: write_parity
logical, public :: write_pflux_sym
logical, public :: write_pflux_tormom
logical, public :: write_omega
logical, public :: write_ql_metric
integer, public :: navg
real, public :: omegatinst
real, public :: omegatol
logical, public :: exit_when_converged
logical, public :: write_verr
logical, public :: write_cerr
logical, public :: write_max_verr
integer, public :: ncheck
logical, public :: write_heating
logical, public :: write_ascii
logical, public :: write_gyx
logical, public :: write_g
integer, public :: conv_nstep_av
real, public :: conv_test_multiplier
integer, public :: conv_min_step
integer, public :: conv_max_step
integer, public :: conv_nsteps_converged
logical, public :: use_nonlin_convergence
logical, public :: write_cross_phase
logical, public :: write_correlation
logical, public :: write_correlation_extend
logical, public :: write_jext
logical, public :: write_lorentzian
logical, public :: write_eigenfunc
logical, public :: write_final_fields
logical, public :: write_kpar
logical, public :: write_final_epar
logical, public :: write_final_db
logical, public :: write_final_moments
logical, public :: write_final_antot
logical, public :: write_gs
integer, public :: nsave
logical, public :: save_for_restart
logical, public :: save_many
logical, public :: file_safety_check
logical, public :: save_distfn
logical, public :: save_glo_info_and_grids
logical, public :: save_velocities
logical, public :: write_zonal_transfer
logical, public :: write_collisional
logical, public :: write_omavg
logical, public :: ob_midplane
logical, public :: write_avg_moments
logical, public :: dump_check1
logical, public :: dump_check2
integer, public :: nmovie
integer, public :: nc_sync_freq

Source Code

  type diagnostics_type
     type(diagnostics_ascii_type) :: ascii_files
     type(results_summary_type) :: current_results
     !> NetCDF file ID
     integer :: file_id
     !> Current timestep
     integer :: nout = 1
     integer :: istep
     integer :: verbosity = 3
     logical :: create
     logical :: writing
     logical :: distributed
     logical :: parallel
     logical :: exit
     logical :: vary_vnew_only
     logical :: calculate_fluxes
     logical :: appending
     real :: user_time
     real :: user_time_old
     real :: start_time
     real, dimension(:), pointer :: fluxfac
     integer :: nwrite
     integer :: nwrite_mult
     logical :: write_any
     logical :: append_old
     logical :: enable_parallel
     logical :: serial_netcdf4
     integer :: igomega
     logical :: print_line
     logical :: print_flux_line
     logical :: write_line
     logical :: write_flux_line
     logical :: write_fields
     logical :: write_phi_over_time
     logical :: write_apar_over_time
     logical :: write_bpar_over_time
     logical :: make_movie
     logical :: dump_fields_periodically
     logical :: write_moments
     logical :: write_full_moments_notgc
     logical :: write_ntot_over_time
     logical :: write_density_over_time
     logical :: write_upar_over_time
     logical :: write_tperp_over_time
     logical :: write_fluxes
     logical :: write_fluxes_by_mode
     logical :: write_symmetry
     logical :: write_nl_flux_dist
     logical :: write_parity
     logical :: write_pflux_sym !Not implemented?
     logical :: write_pflux_tormom !Not implemented?
     logical :: write_omega
     logical :: write_ql_metric
     integer :: navg
     real :: omegatinst
     real :: omegatol
     logical :: exit_when_converged
     logical :: write_verr
     logical :: write_cerr
     logical :: write_max_verr
     integer :: ncheck
     logical :: write_heating
     logical :: write_ascii
     logical :: write_gyx
     logical :: write_g
     integer :: conv_nstep_av
     real :: conv_test_multiplier
     integer :: conv_min_step
     integer :: conv_max_step
     integer :: conv_nsteps_converged
     logical :: use_nonlin_convergence
     logical :: write_cross_phase
     logical :: write_correlation
     logical :: write_correlation_extend
     logical :: write_jext
     logical :: write_lorentzian
     logical :: write_eigenfunc
     logical :: write_final_fields
     logical :: write_kpar
     logical :: write_final_epar
     logical :: write_final_db
     logical :: write_final_moments
     logical :: write_final_antot
     logical :: write_gs
     integer :: nsave
     logical :: save_for_restart
     logical :: save_many
     logical :: file_safety_check
     logical :: save_distfn
     logical :: save_glo_info_and_grids
     logical :: save_velocities
     logical :: write_zonal_transfer
     logical :: write_collisional
     logical :: write_omavg
     logical :: ob_midplane
     logical :: write_avg_moments
     logical :: dump_check1
     logical :: dump_check2
     integer :: nmovie
     integer :: nc_sync_freq
  end type diagnostics_type