41 : DahObj(
"") { *
this = d2t; }
46 float getTime(
float d_ah,
const Track&)
const;
47 float getDepth(
float time,
const Track&)
const;
48 float getDah(
float time,
const Track&)
const;
49 double getVelocityForDah(
float d_ah,
const Track&)
const;
50 double getVelocityForDepth(
float dpt,
const Track&)
const;
51 double getVelocityForTwt(
float twt,
const Track&)
const;
55 inline float t(
int idx )
const {
return t_[idx]; }
56 float value(
int idx )
const {
return t(idx); }
58 const float*
valArr()
const {
return t_.arr(); }
63 static const char* sKeyTimeWell();
64 static const char* sKeyDataSrc();
67 void add(
float d_ah,
float tm )
68 { dah_ += d_ah; t_ += tm; }
69 bool insertAtDah(
float d_ah,
float t);
71 void makeFromTrack(
const Track&,
float cstvel,
88 bool getVelocityBoundsForDah(
float d_ah,
const Track&,
91 bool getVelocityBoundsForTwt(
float twt,
const Track&,
95 int getVelocityIdx(
float pos,
const Track&,
96 bool posisdah=
true)
const;
102 bool getOldVelocityBoundsForDah(
float d_ah,
const Track&,
106 bool getOldVelocityBoundsForTwt(
float twt,
const Track&,
113 static void convertDepthsToMD(
const Well::Track& track,
116 static void shiftTimesIfNecessary(
TypeSet<double>& tvals,
double wllheadz,
117 double vrepl,
double origintwtinfile,
119 static void checkReplacementVelocity(
Well::Info& info,
#define mExpClass(module)
Definition: commondefs.h:160
BufferString datasource
Definition: welld2tmodel.h:61
Depth to time model.
Definition: welld2tmodel.h:34
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define mGlobal(module)
Definition: commondefs.h:163
Information about a certain well.
Definition: welldata.h:43
void removeAux(int idx)
Definition: welld2tmodel.h:85
Definition: uistring.h:89
void add(float d_ah, float tm)
Definition: welld2tmodel.h:67
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
BufferString desc
Definition: welld2tmodel.h:60
Definition: directionalsurvey.h:19
const float * valArr() const
Definition: welld2tmodel.h:58
Well track.
Definition: welltrack.h:29
Depth/Distance along hole object.
Definition: welldahobj.h:28
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
D2TModel(const D2TModel &d2t)
Definition: welld2tmodel.h:40
float getDepth(float time) const
Legacy, misleading name. Use getDah().
Definition: welld2tmodel.h:100
float * valArr()
Definition: welld2tmodel.h:57
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
virtual void erase()
Definition: typeset.h:339
TypeSet< float > t_
Definition: welld2tmodel.h:83
virtual void removeSingle(size_type, bool preserver_order=true)
Definition: typeset.h:500
The holder of all data concerning a certain well.
Definition: welldata.h:113
void eraseAux()
Definition: welld2tmodel.h:86
Converts between time, depth and velocity given a model. The velocity model can be either RMO-velocit...
Definition: velocitycalc.h:31
float value(int idx) const
Definition: welld2tmodel.h:56
D2TModel(const char *nm=0)
Definition: welld2tmodel.h:38
float t(int idx) const
Definition: welld2tmodel.h:55
float getDefaultVelocity()