OpendTect-6_4  6.4
wellelasticmodelcomputer.h
Go to the documentation of this file.
1 #ifndef wellelasticmodelcomputer_h
2 #define wellelasticmodelcomputer_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Arnaud Huck
9  Date: March 2013
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "wellmod.h"
16 #include "ailayer.h"
17 #include "bufstringset.h"
18 #include "ranges.h"
19 #include "uistring.h"
20 #include "unitofmeasure.h"
21 
22 namespace Well
23 {
24 class Data;
25 class Log;
26 class LogSampler;
27 
34 { mODTextTranslationClass(ElasticModelComputer);
35 public :
36  ElasticModelComputer(const Well::Data&);
37  ElasticModelComputer(const Well::Data&,
38  const Well::Log& vel,
39  const Well::Log* den=0,
40  const Well::Log* svel=0);
41  ~ElasticModelComputer();
42 
43  const uiString& errMsg() const { return errmsg_; }
44  const uiString& warnMsg() const { return warnmsg_; }
45 
46  bool setVelLog(const Well::Log&);
47  bool setDenLog(const Well::Log&);
48  bool setSVelLog(const Well::Log&);
49  void setLogs(const Well::Log& vel, const Well::Log* den=0,
50  const Well::Log* svel=0);
51  void setZrange(const Interval<float>&, bool istime);
52  void setExtractionPars(float step, bool intime);
53 
54  bool computeFromLogs();
56  bool computeFromDTModel();
58  const ElasticModel& elasticModel() const { return emodel_; }
59 
60 
61 protected:
62 
63  void init();
64  bool getLogUnits();
65  bool extractLogs();
66  float getLogVal(int logidx, int sampidx) const;
67  float getVelp(int) const;
68  float getDensity(int) const;
69  float getSVel(int) const;
70 
73  bool zrgistime_;
74  float zstep_;
76  const Well::Data& wd_;
77 
83 
86 
87 };
88 
89 }; // namespace Well
90 
91 
92 #endif
#define mExpClass(module)
Definition: commondefs.h:160
A table of elastic prop layers with processing utilities.
Definition: ailayer.h:100
const ElasticModel & elasticModel() const
Definition: wellelasticmodelcomputer.h:58
uiString errmsg_
Definition: wellelasticmodelcomputer.h:84
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Well log.
Definition: welllog.h:44
ObjectSet< const Well::Log > inplogs_
Definition: wellelasticmodelcomputer.h:78
bool init()
bool zrgistime_
Definition: wellelasticmodelcomputer.h:73
Definition: file.h:99
Definition: uistring.h:89
Well::LogSampler * lsnearest_
Definition: wellelasticmodelcomputer.h:82
float zstep_
Definition: wellelasticmodelcomputer.h:74
Extraction of an ElasticModel from Well::Data either from the time-depth model or from at least a vel...
Definition: wellelasticmodelcomputer.h:33
Set of pointers to objects.
Definition: commontypes.h:32
Interval< float > zrange_
Definition: wellelasticmodelcomputer.h:72
Definition: directionalsurvey.h:19
uiString warnmsg_
Definition: wellelasticmodelcomputer.h:85
Well::LogSampler * ls_
Definition: wellelasticmodelcomputer.h:81
const Well::Data & wd_
Definition: wellelasticmodelcomputer.h:76
ElasticModel emodel_
Definition: wellelasticmodelcomputer.h:71
Definition: repos.h:25
const uiString & errMsg() const
Definition: wellelasticmodelcomputer.h:43
ObjectSet< const UnitOfMeasure > uomset_
Definition: wellelasticmodelcomputer.h:79
bool extractintime_
Definition: wellelasticmodelcomputer.h:75
BufferString errmsg_
Definition: horizontracker.h:119
The holder of all data concerning a certain well.
Definition: welldata.h:113
bool velpissonic_
Definition: wellelasticmodelcomputer.h:80
Log resampler, extracts all the logs given by log names along a z time or dah axis.
Definition: wellextractdata.h:341
const uiString & warnMsg() const
Definition: wellelasticmodelcomputer.h:44

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019