UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
Grid2d Class Reference

Public Member Functions

 Grid2d (double xmn, double xmx, double zmn, double zmx, double stp=1)
 
 Grid2d (Grid2d *)
 
void generate (Vel2dModel *pmod, ObservSys *pos=NULL, double step_size=-1)
 
void re_generate (double x1, double z1, double x2, double z2, Vel2dModel *pmod, ObservSys *pos=NULL)
 
double get_cell_size ()
 
void fill_cell (int i, int j, Vel2dModel *pmod, ObservSys *pos, GridParams &gp, int &prevBodynum)
 
void cell_copy (int i, int j, GridParams gp)
 
void get_cell_id (double x, double z, int *ic, int *ir)
 
int get_last_ir ()
 
int get_last_ic ()
 
GridParamsCell (int i, int j)
 
void set_well_flag (int i, int j)
 
void get_grid_sizes (double &xmn, double &zmn, double &xmx, double &zmx)
 
void get_cell_size (double &cs)
 
GridParams get_cell (int i, int j)
 
GridParamsset_cell (int i, int j)
 
double get_step ()
 
void clean_well_info ()
 
bool getReady ()
 

Member Function Documentation

GridParams& Grid2d::Cell ( int  i,
int  j 
)

returns column maximal index

void Grid2d::fill_cell ( int  i,
int  j,
Vel2dModel pmod,
ObservSys pos,
GridParams gp,
int &  prevBodynum 
)

Fill one grid cell

void Grid2d::generate ( Vel2dModel pmod,
ObservSys pos = NULL,
double  step_size = -1 
)

Set object for progress indication or NULL to reset it. Generate grid from model and optional observation system.

void Grid2d::get_cell_id ( double  x,
double  z,
int *  ic,
int *  ir 
)
inline

for the point (x,z) function returns the respective grid element indexes

int Grid2d::get_last_ic ( )
inline

returns row maximal index

void Grid2d::re_generate ( double  x1,
double  z1,
double  x2,
double  z2,
Vel2dModel pmod,
ObservSys pos = NULL 
)

Regenerate grid sector [(x1->x2)(z1->z2)]


The documentation for this class was generated from the following file: