UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
Vel2dModelLDB Class Reference
Inheritance diagram for Vel2dModelLDB:
Vel2dModel

Public Member Functions

 Vel2dModelLDB (double *x, double *z, double *ang, double *vp, double *vs, double *pkz, double *skz, double *den, double *an_kp, double *an_ks, double *R, int n, double xMin, double xMax, double zMin, double zMax, double mod_x, double mod_y, double mod_az, double grid_cell_size=RT_GRIDSIZE)
 
 Vel2dModelLDB (BodyInfoAr &bodyInfo, double xMin, double xMax, double zMin, double zMax, double mod_x, double mod_y, double mod_az)
 
 Vel2dModelLDB (Vel2dModel *)
 
void SaveModel (dbItem, const char *szComment=NULL)
 
void LoadModel (dbItem)
 
void DeleteModel (dbItem)
 
void SaveGrid (dbPointer &dbp)
 
bool LoadGrid (dbPointer dbp, Grid2d *)
 
- Public Member Functions inherited from Vel2dModel
 Vel2dModel (double *x, double *z, double *ang, double *vp, double *vs, double *pkz, double *skz, double *den, double *an_kp, double *an_ks, double *R, int n, double xMin, double xMax, double zMin, double zMax, double mod_x, double mod_y, double mod_az, int approx_type=0, double grid_cell_size=RT_GRIDSIZE)
 
 Vel2dModel (BodyInfoAr &bodyInfo, double xMin, double xMax, double zMin, double zMax, double mod_x, double mod_y, double mod_az, int approx_type=0)
 
 Vel2dModel (Vel2dModel *)
 
int getApproxType ()
 
void AddGridPtr (Grid2d *gridPtr)
 
void CheckModelStatus ()
 
int DefineBody (double x, double z)
 
int ExactDefineBody (double x, double z)
 
int ExactDefineBound (double x, double z, double eps=DEFINE_BOUND_EPS, bool cry=true)
 
int GetBoundNum (double x, double z)
 
double GetVel (double x, double z, WAVE_TYPE vPS, int bodyNum=-1)
 
double GetVel (double x, double z, WAVE_TYPE vPS, double angle, int bodyNum=-1)
 
void GetVelGr (double x, double z, double &vk, double &vka, WAVE_TYPE wt)
 
double GetVelMax (WAVE_TYPE wt)
 
double AnyBound (int bNum, double x, bool &flag, double z=-1)
 
bool GetParams (double x, double z, double &vP, double &vS, double &den, double &anKP, double &anKS, double &R)
 
bool GetParams (double x, double z, double &vP, double &vS, double &den)
 
bool GetParams2 (double x, double z, double &vPx, double &vPz, double &vSx, double &vSz, double &den, double &R)
 
bool BoundInt (int bNum, double x1, double z1, double x2, double z2, double &ix, double &iz, double &iAngle, double &curvity, bool ANY=false)
 
bool IsOuterBound (int bNum)
 
int GetSegNum (int bn, int n)
 
int GetSegNum (int bn, double x, double z)
 
bool GetLegitimValues (int bn, bool st_end, double &zmin, double &zmax)
 
void RebuildModel (int bn, double *x, double *z, bool *flag, int num, double rc=-1, double sp=-1, bool *im_flag=NULL)
 
void GenerateGrid (double step=-1)
 
void RegenerateGrid (double xmn, double zmn, double xmx, double zmx)
 
double GetGridCellSize ()
 
void AddWellInfo (ObservSys *os)
 
bool GetMod1dFlag ()
 
bool IsInsideOfModelArea (double x, double z)
 
void CleanOS ()
 
void SetModelXYAZ (double m_x, double m_y, double m_az)
 
void GetModelXYAZ (double &m_x, double &m_y, double &m_az)
 
virtual bool RemoveBound (int boundN)
 
virtual bool AddBound (double *x, double *z, bool *flag, int p_num, double rc=-1, double sp=-1)
 
bool CombineBounds (Bound *top_b, Bound *bot_b)
 
BoundSplitBounds (Bound *bound, double z)
 
void TestModelEntity ()
 
bool checkInside (double x, double z)
 
bool belongPerimeter (double x, double z)
 
virtual void SetPBLimits (int n, double lmin, double lmax)
 
virtual void SetPBComment (int n, const char *str)
 
virtual void SetPBValue (int n, double val)
 
virtual void AddPBValue (int n, double val)
 
double GetModelAz ()
 
void GetModelXY (double &x, double &y)
 
bool LineInt (int bNum, double p, double coord1, double coord2, bool finiteFlag, bool xzFlag, double &result)
 
bool ExportToTextFiles (const char *files_path)
 

Public Attributes

dbItem dbiModList
 
- Public Attributes inherited from Vel2dModel
BodiesAr Bodies
 
BoundsAr Bounds
 
char modelName [16]
 
bool ready
 
double xMin
 
double xMax
 
double zMin
 
double zMax
 
Grid2dpGrid
 
bool grid_defined
 

Additional Inherited Members

- Protected Member Functions inherited from Vel2dModel
bool PrepareModel ()
 
void DefineBoundPos ()
 
bool TestLine (int bNum, double p, double coord1, double coord2, bool finiteFlag, bool xzFlag)
 
void RebuildOuterBound (int bn, double x0, double z0, double x1, double z1, bool st_end)
 
void BoundsSegmentation ()
 
- Protected Attributes inherited from Vel2dModel
bool Model1dFlag
 
int m_approx_type
 
double modelAZ
 
double modelX
 
double modelY
 

Constructor & Destructor Documentation

Vel2dModelLDB::Vel2dModelLDB ( double *  x,
double *  z,
double *  ang,
double *  vp,
double *  vs,
double *  pkz,
double *  skz,
double *  den,
double *  an_kp,
double *  an_ks,
double *  R,
int  n,
double  xMin,
double  xMax,
double  zMin,
double  zMax,
double  mod_x,
double  mod_y,
double  mod_az,
double  grid_cell_size = RT_GRIDSIZE 
)

Import UNIVERS 1d model to DDR2dModel

Vel2dModelLDB::Vel2dModelLDB ( BodyInfoAr bodyInfo,
double  xMin,
double  xMax,
double  zMin,
double  zMax,
double  mod_x,
double  mod_y,
double  mod_az 
)

Import layered 2d model to DDR2dModel

Member Function Documentation

void Vel2dModelLDB::SaveModel ( dbItem  ,
const char *  szComment = NULL 
)

Loading/saving the model in data base


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