9 #include "vel2dmod.hpp"
12 #include "vel2dmod_global.hpp"
36 class AbstractProgress;
42 Grid2d(
double xmn,
double xmx,
double zmn,
double zmx,
double stp=1);
54 void re_generate (
double x1,
double z1,
double x2,
double z2,
57 double get_cell_size();
67 *ic=(int)((x-xmin)/step);
68 *ir=(int)((z-zmin)/step);
80 int get_last_ir () {
return (nr-1);};
85 void set_well_flag(
int i,
int j)
90 void get_grid_sizes(
double &xmn,
double &zmn,
double &xmx,
double &zmx);
91 void get_cell_size(
double &cs);
93 GridParams get_cell(
int i,
int j) {
return cell[i][j]; };
94 GridParams& set_cell(
int i,
int j) {
return cell[i][j]; };
96 double get_step() {
return step; };
98 void clean_well_info();
100 bool getReady() {
return m_ready; }
104 double xmin, xmax, zmin, zmax;
110 AbstractProgress *pPrInd;
int_ar n2
Definition: grid2d.hpp:24
Definition: vel2dmod.hpp:19
int get_last_ic()
Definition: grid2d.hpp:81
Grid element structure.
Definition: grid2d.hpp:16
void fill_cell(int i, int j, Vel2dModel *pmod, ObservSys *pos, GridParams &gp, int &prevBodynum)
void generate(Vel2dModel *pmod, ObservSys *pos=NULL, double step_size=-1)
void get_cell_id(double x, double z, int *ic, int *ir)
Definition: grid2d.hpp:65
Definition: objectar.hpp:57
Observation system class.
Definition: os.hpp:13
Definition: grid2d.hpp:39
bool isWell
Definition: grid2d.hpp:18
int bodyNum
Definition: grid2d.hpp:19
void re_generate(double x1, double z1, double x2, double z2, Vel2dModel *pmod, ObservSys *pos=NULL)
int_ar n1
Definition: grid2d.hpp:23
GridParams & Cell(int i, int j)
int_ar brdns
Definition: grid2d.hpp:22