-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsyntwelldata.h
61 lines (50 loc) · 2.77 KB
/
syntwelldata.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef SYNTWELLDATA_H
#define SYNTWELLDATA_H
#include <stdlib.h>
#include <vector>
#include <string>
class SyntWellData{
public:
SyntWellData(double const & trend1,
double const & trend2,
int i,
int j,
std::vector<float> const & alpha,
std::vector<float> const & beta,
std::vector<float> const & rho,
std::vector<int> const & faciesLog,
std::vector<std::string> const & faciesNames);
~SyntWellData();
int getWellLength() const {return nBins_ ;}
double getTrend1Val() const {return trend1Value_ ;}
double getTrend2Val() const {return trend2Value_ ;}
int getTrend1Ind() const {return trend1Index_ ;}
int getTrend2Ind() const {return trend2Index_ ;}
int getFacies(int i) const {return faciesLog_[i];}
float getAlpha(int i) const {return alpha_[i] ;}
float getBeta (int i) const {return beta_[i] ;}
float getRho (int i) const {return rho_[i] ;}
const std::vector<int> & getFaciesLog() const {return faciesLog_ ;}
const std::vector<float> & getAlpha() const {return alpha_ ;}
const std::vector<float> & getBeta() const {return beta_ ;}
const std::vector<float> & getRho() const {return rho_ ;}
const int * getIpos() const {return ipos_ ;}
const int * getJpos() const {return jpos_ ;}
const int * getKpos() const {return kpos_ ;}
private:
int nBins_;
int nFacies_;
double trend1Value_;
double trend2Value_;
int trend1Index_;
int trend2Index_;
std::vector<float> alpha_;
std::vector<float> beta_;
std::vector<float> rho_;
std::vector<int> faciesLog_;
std::vector<std::string> faciesNames_;
int * ipos_; ///<
int * jpos_; ///< IJK value
int * kpos_; ///<
};
#endif