From e5ed6f9f8751f09ff7ff23ba0b0089fe0a08d760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20L=C3=BCbke?= Date: Fri, 1 Mar 2024 12:57:42 +0100 Subject: [PATCH] Fix broken Dolo large benchmark Update surfex to a larger grid size --- bench/dolo/dolo_diffu_inner_large.R | 2 +- bench/surfex/surfex.R | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bench/dolo/dolo_diffu_inner_large.R b/bench/dolo/dolo_diffu_inner_large.R index c69803f80..c9c70c6a4 100644 --- a/bench/dolo/dolo_diffu_inner_large.R +++ b/bench/dolo/dolo_diffu_inner_large.R @@ -28,7 +28,7 @@ init_cell <- list( grid <- list( n_cells = c(n, m), - s_cells = c(2, 1), + s_cells = c(20, 10), type = types[1] ) diff --git a/bench/surfex/surfex.R b/bench/surfex/surfex.R index 409b0f277..27409b97f 100644 --- a/bench/surfex/surfex.R +++ b/bench/surfex/surfex.R @@ -10,8 +10,8 @@ cat(paste(":: R This is a test 1\n")) ## Grid initialization ## ################################################################# -n <- 10 -m <- 10 +n <- 1000 +m <- 1000 types <- c("scratch", "phreeqc", "rds") @@ -39,7 +39,7 @@ init_cell <- list(H = 1.476571028625e-01, grid <- list( n_cells = c(n, m), - s_cells = c(1, 1), + s_cells = c(n/10, m/10), type = "scratch" ) @@ -127,7 +127,7 @@ chemistry <- list( ################################################################# -iterations <- 10 +iterations <- 100 dt <- 200 setup <- list(