-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdryrock.h
38 lines (26 loc) · 1.19 KB
/
dryrock.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
#ifndef RPLIB_DRY_ROCK_H
#define RPLIB_DRY_ROCK_H
#include <cstddef>
#include <vector>
// Abstract DryRock class.
class DryRock {
public:
DryRock();
virtual ~DryRock();
virtual DryRock * Clone() const = 0;
void GetElasticParams(double & k,
double & mu,
double & rho) const;
double GetMineralModuliK() const { return mineral_moduli_k_; }
double GetTotalPorosity() const { return total_porosity_; }
virtual void SetTotalPorosity(double porosity) { total_porosity_ = porosity; }
const std::vector<double>& GetU() const { return u_; }
protected:
double k_;
double mu_;
double rho_;
double total_porosity_;
double mineral_moduli_k_;
std::vector<double> u_;
};
#endif