UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Enumerations | Functions
dba Namespace Reference

Classes

class  LdbSeismic
 
class  LdbSeismicPolycor
 
class  Seismic
 
class  SortingRule
 
class  MatchingRule
 

Enumerations

enum  SortingRuleType { ASCEND_RULE = 0, DESCEND_RULE }
 
enum  MatchingRuleType { EQUAL_RULE = 0 }
 

Functions

int saveSimVelMod (dbItem *dbi, const std::string &name, const sim::VelModel1D2D< sim::VmParamsIso > &vm, int *saved_db_line=NULL)
 
int loadSimVelMod (dbItem *dbi, std::string &name, sim::VelModel1D2D< sim::VmParamsIso > &vm)
 

Detailed Description

Data base access.

Data base access namespace.

Enumeration Type Documentation

Type of matching rule.

Enumerator
EQUAL_RULE 

Matches to provided id value.

Type of sorting rule.

Enumerator
ASCEND_RULE 

Ascending sorting rule.

DESCEND_RULE 

Descending sorting rule.

Function Documentation

int dba::loadSimVelMod ( dbItem dbi,
std::string &  name,
sim::VelModel1D2D< sim::VmParamsIso > &  vm 
)

Load 1D2D velocity model with isotropic parameters from DB.

Parameters
dbiData base item.
nameresulted name of velocity model.
vmresulted velocity model.
Returns
dbStatus (0 on success).
int dba::saveSimVelMod ( dbItem dbi,
const std::string &  name,
const sim::VelModel1D2D< sim::VmParamsIso > &  vm,
int *  saved_db_line = NULL 
)

Save 1D2D velocity model with isotropic parameters to DB.

Parameters
dbiData base item.
nameName of velocity model.
vmVelocity model to save.
saved_db_lineData base line where model is saved. Stored if provided.
Returns
dbStatus (0 on success).