pic_global_definitions.f90 Source File

this is an experimental file that contains definitions that will be uses across the program, for example input/output units that PIC will use across things.


This file depends on

sourcefile~~pic_global_definitions.f90~~EfferentGraph sourcefile~pic_global_definitions.f90 pic_global_definitions.f90 sourcefile~pic_types.f90 pic_types.F90 sourcefile~pic_global_definitions.f90->sourcefile~pic_types.f90

Files dependent on this one

sourcefile~~pic_global_definitions.f90~~AfferentGraph sourcefile~pic_global_definitions.f90 pic_global_definitions.f90 sourcefile~pic_error.f90 pic_error.F90 sourcefile~pic_error.f90->sourcefile~pic_global_definitions.f90 sourcefile~pic_helpers.f90 pic_helpers.f90 sourcefile~pic_helpers.f90->sourcefile~pic_global_definitions.f90 sourcefile~pic_logger.f90 pic_logger.f90 sourcefile~pic_logger.f90->sourcefile~pic_global_definitions.f90 sourcefile~pic_array.f90 pic_array.f90 sourcefile~pic_array.f90->sourcefile~pic_error.f90 sourcefile~pic_cli.f90 pic_cli.f90 sourcefile~pic_cli.f90->sourcefile~pic_error.f90 sourcefile~pic_tokenizer.f90 pic_tokenizer.f90 sourcefile~pic_cli.f90->sourcefile~pic_tokenizer.f90 sourcefile~pic_clock.f90 pic_clock.f90 sourcefile~pic_clock.f90->sourcefile~pic_error.f90 sourcefile~pic_command_line.f90 pic_command_line.f90 sourcefile~pic_command_line.f90->sourcefile~pic_error.f90 sourcefile~pic_csr.f90 pic_csr.f90 sourcefile~pic_csr.f90->sourcefile~pic_error.f90 sourcefile~pic_fixed_array.f90 pic_fixed_array.f90 sourcefile~pic_fixed_array.f90->sourcefile~pic_error.f90 sourcefile~pic_graph.f90 pic_graph.f90 sourcefile~pic_graph.f90->sourcefile~pic_error.f90 sourcefile~pic_graph.f90->sourcefile~pic_csr.f90 sourcefile~pic_heap.f90 pic_heap.f90 sourcefile~pic_graph.f90->sourcefile~pic_heap.f90 sourcefile~pic_hash_map.f90 pic_hash_map.f90 sourcefile~pic_hash_map.f90->sourcefile~pic_error.f90 sourcefile~pic_heap.f90->sourcefile~pic_error.f90 sourcefile~pic_knowledge.f90 pic_knowledge.f90 sourcefile~pic_knowledge.f90->sourcefile~pic_logger.f90 sourcefile~pic_profiler.f90 pic_profiler.F90 sourcefile~pic_profiler.f90->sourcefile~pic_logger.f90 sourcefile~pic_sorting.f90 pic_sorting.f90 sourcefile~pic_profiler.f90->sourcefile~pic_sorting.f90 sourcefile~pic_pure_logger.f90 pic_pure_logger.f90 sourcefile~pic_pure_logger.f90->sourcefile~pic_logger.f90 sourcefile~pic_random_dist.f90 pic_random_dist.f90 sourcefile~pic_random_dist.f90->sourcefile~pic_error.f90 sourcefile~pic_rng.f90 pic_rng.f90 sourcefile~pic_random_dist.f90->sourcefile~pic_rng.f90 sourcefile~pic_rng.f90->sourcefile~pic_error.f90 sourcefile~pic_serialize.f90 pic_serialize.f90 sourcefile~pic_serialize.f90->sourcefile~pic_error.f90 sourcefile~pic_soa.f90 pic_soa.f90 sourcefile~pic_soa.f90->sourcefile~pic_error.f90 sourcefile~pic_soa.f90->sourcefile~pic_serialize.f90 sourcefile~pic_soa_particle.f90 pic_soa_particle.f90 sourcefile~pic_soa_particle.f90->sourcefile~pic_error.f90 sourcefile~pic_soa_particle.f90->sourcefile~pic_soa.f90 sourcefile~pic_sorting.f90->sourcefile~pic_error.f90 sourcefile~pic_sorting_ord_sort.f90 pic_sorting_ord_sort.f90 sourcefile~pic_sorting_ord_sort.f90->sourcefile~pic_error.f90 sourcefile~pic_sorting_ord_sort.f90->sourcefile~pic_sorting.f90 sourcefile~pic_sorting_radix_sort.f90 pic_sorting_radix_sort.f90 sourcefile~pic_sorting_radix_sort.f90->sourcefile~pic_error.f90 sourcefile~pic_sorting_radix_sort.f90->sourcefile~pic_sorting.f90 sourcefile~pic_sorting_sort_index.f90 pic_sorting_sort_index.F90 sourcefile~pic_sorting_sort_index.f90->sourcefile~pic_error.f90 sourcefile~pic_sorting_sort_index.f90->sourcefile~pic_sorting.f90 sourcefile~pic_tokenizer.f90->sourcefile~pic_error.f90 sourcefile~pic_vector.f90 pic_vector.f90 sourcefile~pic_vector.f90->sourcefile~pic_error.f90 sourcefile~pic_random_dist_real.f90 pic_random_dist_real.f90 sourcefile~pic_random_dist_real.f90->sourcefile~pic_rng.f90 sourcefile~pic_sorting_sort.f90 pic_sorting_sort.f90 sourcefile~pic_sorting_sort.f90->sourcefile~pic_sorting.f90

Source Code

!! this is an experimental file that contains definitions
!! that will be uses across the program, for example input/output units
!! that PIC will use across things.

module pic_global_definitions
!! Global definitions for input output
   use pic_types, only: default_int, sp, dp
   implicit none

   private
   public :: stdout, logfile_unit
   public :: tol_sp, tol_dp
   integer(default_int), parameter :: stdout = 6
     !! assign output unit 6 for stdout
   integer(default_int), parameter :: logfile_unit = 99
     !! assign output unit 99 for the logfile

   real(dp), parameter :: tol_dp = 1.0e-12_dp
   real(sp), parameter :: tol_sp = 1.0e-6_sp

end module pic_global_definitions