Skip to content
Snippets Groups Projects
Commit 5dee0cb1 authored by Jean-Matthieu Etancelin's avatar Jean-Matthieu Etancelin
Browse files

Fix fortran

parent 9809bc1e
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,8 @@ module cart_topology ...@@ -95,6 +95,8 @@ module cart_topology
! ------ Information about mesh subdivision and on the global grid ----- ! ------ Information about mesh subdivision and on the global grid -----
!> information about local mesh - for scalar !> information about local mesh - for scalar
type(cartesian_mesh), protected :: mesh_sc type(cartesian_mesh), protected :: mesh_sc
!> REcopy of mesh_sc%N_proc for python interface
integer, dimension(3) :: N_proc
!> Computation are done by group of line. Here we define their size !> Computation are done by group of line. Here we define their size
integer, dimension(3,2), protected :: group_size integer, dimension(3,2), protected :: group_size
!> To check if group size is initialized !> To check if group size is initialized
...@@ -351,6 +353,7 @@ subroutine discretisation_create(Nx, Ny, Nz, Lx, Ly, Lz, verbosity) ...@@ -351,6 +353,7 @@ subroutine discretisation_create(Nx, Ny, Nz, Lx, Ly, Lz, verbosity)
mesh_sc%length(3)= Lz mesh_sc%length(3)= Lz
mesh_sc%N_proc = mesh_sc%N / nb_proc_dim mesh_sc%N_proc = mesh_sc%N / nb_proc_dim
N_proc = mesh_sc%N_proc
mesh_sc%relative_extend(:,1) = 1 mesh_sc%relative_extend(:,1) = 1
mesh_sc%relative_extend(:,2) = mesh_sc%N_proc mesh_sc%relative_extend(:,2) = mesh_sc%N_proc
...@@ -382,6 +385,7 @@ subroutine discretisation_default(verbosity) ...@@ -382,6 +385,7 @@ subroutine discretisation_default(verbosity)
mesh_sc%N = default_size mesh_sc%N = default_size
mesh_sc%length = 1. mesh_sc%length = 1.
mesh_sc%N_proc = mesh_sc%N / nb_proc_dim mesh_sc%N_proc = mesh_sc%N / nb_proc_dim
N_proc = mesh_sc%N_proc
mesh_sc%relative_extend(:,1) = 1 mesh_sc%relative_extend(:,1) = 1
mesh_sc%relative_extend(:,2) = mesh_sc%N_proc mesh_sc%relative_extend(:,2) = mesh_sc%N_proc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment