├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .gitignore ├── .vscode ├── settings.json └── tasks.json ├── Compilation ├── source.f90 ├── source1.f90 └── source2.f90 ├── Conditionals ├── comparisons.f90 ├── conditionals.f90 ├── exercise_conditionals.f90 ├── logicals.f90 └── precision.f90 ├── Errors ├── compilation_errors_exercise.f90 ├── compilation_errors_exercise_correct.f90 ├── compile_debug.sh ├── compile_naive.sh ├── run_time_errors1.f90 ├── run_time_errors2.f90 └── run_time_errors3.f90 ├── Functions ├── cuboids_exercise.f90 ├── deferred_size_arguments.f90 ├── functions.f90 └── recursive_functions.f90 ├── Gotchas ├── compile.sh └── gotchas.f90 ├── Importing Modules ├── main_program.f90 ├── module1.f90 ├── module2.f90 └── problem_sheet_example_solution │ ├── analysis.f90 │ ├── compile.sh │ ├── statistical_moments.f90 │ └── stats_example.f90 ├── Introduction to Fortran Slides.pptx ├── License.md ├── Loops ├── do_loops.f90 ├── do_while_loops.f90 └── loops_exercise.f90 ├── My_First_Program └── my_first_program.f90 ├── Problem Sheet ├── problem_sheet.pdf └── problem_sheet.tex ├── README.md ├── Subroutines ├── subroutines.f90 └── swap_exercise.f90 └── Variables ├── allocatable_arrays.f90 ├── array_operators.f90 ├── arrays1d.f90 ├── arrays2d.f90 ├── exercise_array_operators.f90 ├── exercise_cubes.f90 ├── mathematical_operators.f90 ├── mathematical_operators2.f90 ├── order_of_operations.f90 └── single_variables.f90 /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.wordWrap": "on" 3 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Compilation/source.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Compilation/source.f90 -------------------------------------------------------------------------------- /Compilation/source1.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Compilation/source1.f90 -------------------------------------------------------------------------------- /Compilation/source2.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Compilation/source2.f90 -------------------------------------------------------------------------------- /Conditionals/comparisons.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Conditionals/comparisons.f90 -------------------------------------------------------------------------------- /Conditionals/conditionals.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Conditionals/conditionals.f90 -------------------------------------------------------------------------------- /Conditionals/exercise_conditionals.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Conditionals/exercise_conditionals.f90 -------------------------------------------------------------------------------- /Conditionals/logicals.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Conditionals/logicals.f90 -------------------------------------------------------------------------------- /Conditionals/precision.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Conditionals/precision.f90 -------------------------------------------------------------------------------- /Errors/compilation_errors_exercise.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Errors/compilation_errors_exercise.f90 -------------------------------------------------------------------------------- /Errors/compilation_errors_exercise_correct.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Errors/compilation_errors_exercise_correct.f90 -------------------------------------------------------------------------------- /Errors/compile_debug.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Errors/compile_debug.sh -------------------------------------------------------------------------------- /Errors/compile_naive.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Errors/compile_naive.sh -------------------------------------------------------------------------------- /Errors/run_time_errors1.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Errors/run_time_errors1.f90 -------------------------------------------------------------------------------- /Errors/run_time_errors2.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Errors/run_time_errors2.f90 -------------------------------------------------------------------------------- /Errors/run_time_errors3.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Errors/run_time_errors3.f90 -------------------------------------------------------------------------------- /Functions/cuboids_exercise.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Functions/cuboids_exercise.f90 -------------------------------------------------------------------------------- /Functions/deferred_size_arguments.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Functions/deferred_size_arguments.f90 -------------------------------------------------------------------------------- /Functions/functions.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Functions/functions.f90 -------------------------------------------------------------------------------- /Functions/recursive_functions.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Functions/recursive_functions.f90 -------------------------------------------------------------------------------- /Gotchas/compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Gotchas/compile.sh -------------------------------------------------------------------------------- /Gotchas/gotchas.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Gotchas/gotchas.f90 -------------------------------------------------------------------------------- /Importing Modules/main_program.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Importing Modules/main_program.f90 -------------------------------------------------------------------------------- /Importing Modules/module1.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Importing Modules/module1.f90 -------------------------------------------------------------------------------- /Importing Modules/module2.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Importing Modules/module2.f90 -------------------------------------------------------------------------------- /Importing Modules/problem_sheet_example_solution/analysis.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Importing Modules/problem_sheet_example_solution/analysis.f90 -------------------------------------------------------------------------------- /Importing Modules/problem_sheet_example_solution/compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Importing Modules/problem_sheet_example_solution/compile.sh -------------------------------------------------------------------------------- /Importing Modules/problem_sheet_example_solution/statistical_moments.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Importing Modules/problem_sheet_example_solution/statistical_moments.f90 -------------------------------------------------------------------------------- /Importing Modules/problem_sheet_example_solution/stats_example.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Importing Modules/problem_sheet_example_solution/stats_example.f90 -------------------------------------------------------------------------------- /Introduction to Fortran Slides.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Introduction to Fortran Slides.pptx -------------------------------------------------------------------------------- /License.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/License.md -------------------------------------------------------------------------------- /Loops/do_loops.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Loops/do_loops.f90 -------------------------------------------------------------------------------- /Loops/do_while_loops.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Loops/do_while_loops.f90 -------------------------------------------------------------------------------- /Loops/loops_exercise.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Loops/loops_exercise.f90 -------------------------------------------------------------------------------- /My_First_Program/my_first_program.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/My_First_Program/my_first_program.f90 -------------------------------------------------------------------------------- /Problem Sheet/problem_sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Problem Sheet/problem_sheet.pdf -------------------------------------------------------------------------------- /Problem Sheet/problem_sheet.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Problem Sheet/problem_sheet.tex -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/README.md -------------------------------------------------------------------------------- /Subroutines/subroutines.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Subroutines/subroutines.f90 -------------------------------------------------------------------------------- /Subroutines/swap_exercise.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Subroutines/swap_exercise.f90 -------------------------------------------------------------------------------- /Variables/allocatable_arrays.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/allocatable_arrays.f90 -------------------------------------------------------------------------------- /Variables/array_operators.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/array_operators.f90 -------------------------------------------------------------------------------- /Variables/arrays1d.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/arrays1d.f90 -------------------------------------------------------------------------------- /Variables/arrays2d.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/arrays2d.f90 -------------------------------------------------------------------------------- /Variables/exercise_array_operators.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/exercise_array_operators.f90 -------------------------------------------------------------------------------- /Variables/exercise_cubes.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/exercise_cubes.f90 -------------------------------------------------------------------------------- /Variables/mathematical_operators.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/mathematical_operators.f90 -------------------------------------------------------------------------------- /Variables/mathematical_operators2.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/mathematical_operators2.f90 -------------------------------------------------------------------------------- /Variables/order_of_operations.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/order_of_operations.f90 -------------------------------------------------------------------------------- /Variables/single_variables.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ImperialCollegeLondon/RCDS-introduction-to-fortran/HEAD/Variables/single_variables.f90 --------------------------------------------------------------------------------