Most of modules organized

Most of the modules are organized in subfolders.

Maybe some big re-organization is needed in the future, but for now I am
happy.
This commit is contained in:
Jorge Gonzalez 2022-12-24 13:26:10 +01:00
commit 9484502d0b
13 changed files with 37 additions and 15 deletions

View file

@ -0,0 +1,22 @@
MODULE moduleParallel
IMPLICIT NONE
TYPE openMP_type
INTEGER:: nThreads
END TYPE
TYPE(openMP_type):: openMP
CONTAINS
SUBROUTINE initParallel()
IMPLICIT NONE
EXTERNAL:: OMP_SET_NUM_THREADS
!Starts threads for OpenMP parallelization
CALL OMP_SET_NUM_THREADS(openMP%nThreads)
END SUBROUTINE initParallel
END MODULE moduleParallel