#include "geoslib_old_f.h"
#include "Basic/Utilities.hpp"
#include "Basic/File.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include "Basic/String.hpp"
#include "Basic/OptDbg.hpp"
#include <string.h>
Classes | |
struct | SPIMG |
Functions | |
int | spill_point (DbGrid *dbgrid, int ind_depth, int ind_data, int option, bool flag_up, int verbose_step, double hmax, double *h, double *th, int *ix0, int *iy0) |
int spill_point | ( | DbGrid * | dbgrid, |
int | ind_depth, | ||
int | ind_data, | ||
int | option, | ||
bool | flag_up, | ||
int | verbose_step, | ||
double | hmax, | ||
double * | h, | ||
double * | th, | ||
int * | ix0, | ||
int * | iy0 | ||
) |
Evaluates the spill point
[in] | dbgrid | Grid Db structure |
[in] | ind_depth | Rank of the variable containing the depth |
[in] | ind_data | Rank of the variable containing the data |
[in] | option | 0 for 4-connectivity; 1 for 8-connectivity |
[in] | flag_up | TRUE when working in elevation; 0 in depth |
[in] | verbose_step | Step for verbose flag |
[in] | hmax | maximum reservoir thickness (FFFF not used) |
[out] | h | elevation of the spill point |
[out] | th | maximum reservoir thickness |
[out] | ix0 | location of the spill point grid node along X |
[out] | iy0 | location of the spill point grid node along Y |