Code in FORTRAN to save the phase space of a given map ## Requirements ## A FORTRAN compiler. In ubuntu software you can get via: apt-get install gfortran You can plot the phase space via GNUPLOT. In ubuntu software you can get via: apt-get install gnuplot ## Run ## In ubuntu terminal, you can compile and run the code via: gfortran program_phase_space.for && ./a.out ## Maps ## There are 3 maps by default on the code: Chirikov-Taylor or Standard map; Simplified Fermi-Ulam map; Boozer or Tokamak divertor map. You can insert your map creating an additional subroutine and following the syntax of the others. ## Usage ## You have to set a few parameters at the beginning of each simulation, all commented on the code; You have to set the control parameter value. There are examples for each map; You have to set the size of the phase space. There are usual values for each map; You have to choose if you want initial conditions distributed along the phase space or centered in a specific region; You have to choose the map for evolution; The set of initial conditions and the phase space will be saved in two different files at the .for folder as: 'initial_conditions.dat' 'phase_space.dat' ## Plotting ## You can plot on GNUPLOT by the command: plot 'phase_space.dat' w d, 'initial_conditions.dat' w p AUTHOR: Matheus Palmero LAST UPDATE: September 2020