Skip to content

Commit

Permalink
Debug semeio ots error
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Jul 11, 2024
1 parent 7da2029 commit a7f1938
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/resdata/rd_subsidence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _USE_MATH_DEFINES // for C WINDOWS
#include <math.h>
#include <stdbool.h>
#include <iostream>

#include <ert/util/hash.hpp>
#include <ert/util/util.h>
Expand Down Expand Up @@ -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();
Expand All @@ -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);
Expand Down

0 comments on commit a7f1938

Please sign in to comment.