From a7f1938d465e4ad3956c79383274103720fb5116 Mon Sep 17 00:00:00 2001 From: larsevj Date: Thu, 11 Jul 2024 19:07:28 +0200 Subject: [PATCH] Debug semeio ots error --- lib/resdata/rd_subsidence.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/resdata/rd_subsidence.cpp b/lib/resdata/rd_subsidence.cpp index 61786ca92..952cb7ee8 100644 --- a/lib/resdata/rd_subsidence.cpp +++ b/lib/resdata/rd_subsidence.cpp @@ -2,6 +2,7 @@ #define _USE_MATH_DEFINES // for C WINDOWS #include #include +#include #include #include @@ -170,6 +171,13 @@ static double rd_subsidence_survey_eval_geertsma( const rd_subsidence_survey_type *monitor_survey, rd_region_type *region, double utm_x, double utm_y, double depth, double youngs_modulus, double poisson_ratio, double seabed) { + std::cout << "Debug base_survey: " << base_survey << std::endl; + std::cout << "Debug monitor_survey: " << monitor_survey << std::endl; + std::cout << "Debug region: " << region << std::endl; + std::cout << "Debug utm_x,y: " << utm_x << utm_y << std::endl; + std::cout << "Debug depth: " << depth << std::endl; + std::cout << "Debug youngs_modulus: " << youngs_modulus << std::endl; + const rd::rd_grid_cache &grid_cache = *(base_survey->grid_cache); const auto &cell_volume = grid_cache.volume(); @@ -190,6 +198,8 @@ static double rd_subsidence_survey_eval_geertsma( } } + std::cout << "DEBUG weight: " << weight << std::endl; + deltaz = rd_grav_common_eval_geertsma( grid_cache, region, base_survey->aquifer_cell, weight, utm_x, utm_y, depth, poisson_ratio, seabed);