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

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