init_all_module_vars Subroutine

public subroutine init_all_module_vars()

Initialise all module variables This is vital to ensure a 'clean' state of Process before a new run starts, otherwise components of the previous run's state can persist into the new run. This matters ever since Process is used as a shared library, rather than a 'run-once' executable.

Arguments

None

Contents

Source Code


Source Code

   subroutine init_all_module_vars
      !! Initialise all module variables
      !! This is vital to ensure a 'clean' state of Process before a new run starts,
      !! otherwise components of the previous run's state can persist into the new
      !! run. This matters ever since Process is used as a shared library, rather
      !! than a 'run-once' executable.
      use numerics, only: init_numerics
      use process_input, only: init_input
      use buildings_variables, only: init_buildings_variables
      use cost_variables, only: init_cost_variables
      use divertor_variables, only: init_divertor_variables
      use error_handling, only: init_error_handling
      use fson_library, only: init_fson_library
      use fwbs_variables, only: init_fwbs_variables
      use global_variables, only: init_global_variables
      use ccfe_hcpb_module, only: init_ccfe_hcpb_module
      use heat_transport_variables, only: init_heat_transport_variables
      use ife_variables, only: init_ife_variables
      use impurity_radiation_module, only: init_impurity_radiation_module
      use pfcoil_module, only: init_pfcoil_module
      use physics_module, only: init_physics_module
      use physics_variables, only: init_physics_variables
      use scan_module, only: init_scan_module
      use sctfcoil_module, only: init_sctfcoil_module
      use stellarator_module, only: init_stellarator_module
      use stellarator_variables, only: init_stellarator_variables
      use tfcoil_variables, only: init_tfcoil_variables
      use times_variables, only: init_times_variables
      use constants, only: init_constants
      use current_drive_variables, only: init_current_drive_variables
      use primary_pumping_variables, only: init_primary_pumping_variables
      use pfcoil_variables, only: init_pfcoil_variables
      use structure_variables, only: init_structure_variables
      use vacuum_variables, only: init_vacuum_variables
      use pf_power_variables, only: init_pf_power_variables
      use build_variables, only: init_build_variables
      use constraint_variables, only: init_constraint_variables
      use pulse_variables, only: init_pulse_variables
      use rebco_variables, only: init_rebco_variables
      use reinke_variables, only: init_reinke_variables
      use define_iteration_variables, only: init_define_iteration_variables
      use reinke_module, only: init_reinke_module
      use water_usage_variables, only: init_watuse_variables
      use CS_fatigue_variables, only: init_CS_fatigue_variables
      use blanket_library, only: init_blanket_library
      use dcll_module, only: init_dcll_module

      call init_numerics
      call init_input
      call init_buildings_variables
      call init_cost_variables
      call init_divertor_variables
      call init_error_handling
      call init_fson_library
      call init_fwbs_variables
      call init_global_variables
      call init_ccfe_hcpb_module
      call init_heat_transport_variables
      call init_ife_variables
      call init_impurity_radiation_module
      call init_pfcoil_module
      call init_physics_module
      call init_physics_variables
      call init_scan_module
      call init_sctfcoil_module
      call init_stellarator_module
      call init_stellarator_variables
      call init_tfcoil_variables
      call init_times_variables
      call init_constants
      call init_current_drive_variables
      call init_primary_pumping_variables
      call init_pfcoil_variables
      call init_structure_variables
      call init_vacuum_variables
      call init_pf_power_variables
      call init_build_variables
      call init_constraint_variables
      call init_pulse_variables
      call init_rebco_variables
      call init_reinke_variables
      call init_define_iteration_variables
      call init_reinke_module
      call init_watuse_variables
      call init_CS_fatigue_variables
      call init_blanket_library
      call init_dcll_module
   end subroutine init_all_module_vars