From 32554aef3dafc16f361147c5b75fa41bb926699f Mon Sep 17 00:00:00 2001 From: Pascal Aellig Date: Mon, 23 Dec 2024 13:47:23 +0100 Subject: [PATCH] fix --- .../stokes2D/shear_band/ShearBand2D_variational_MPI.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_variational_MPI.jl b/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_variational_MPI.jl index 19962fc9..44a544d0 100644 --- a/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_variational_MPI.jl +++ b/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_variational_MPI.jl @@ -42,7 +42,7 @@ function main(igg; nx=64, ny=64, figdir="model_figs") lx = ly # domain length in x ni = nx, ny # number of cells li = lx, ly # domain length in x- and y- - di = @. li / ni # grid step in x- and -y + di = @. li / (nx_g(),ny_g()) # grid step in x- and -y origin = 0.0, 0.0 # origin coordinates grid = Geometry(ni, li; origin = origin) (; xci, xvi) = grid # nodes at the center and vertices of the cells