Flumy [Free API]
Process based model for meandering chanelized systems
DepositUnit.hpp
1 #ifndef DEPOSIT_UNIT_HH
2 #define DEPOSIT_UNIT_HH
3 
4 #include "MCRCProgramming.hpp"
5 #include "flumy_export.hpp"
6 
17 class FLUMY_EXPORT DepositUnit {
18 
19 public :
22  _nature(0), _thickness(0.), _age(0), _granulo(0) {}
24  DepositUnit(MP_stut nature, MP_real thickness, MP_age age, MP_real granulo) :
25  _nature(nature), _thickness(thickness), _age(age), _granulo(granulo) {}
27  DepositUnit(const DepositUnit& dep) :
28  _nature(dep._nature), _thickness(dep._thickness), _age(dep._age), _granulo(dep._granulo) {}
30  virtual ~DepositUnit() {}
32  MP_stut getNature() const { return _nature; }
34  MP_real getThickness() const { return _thickness; }
36  MP_age getAge() const { return _age; }
38  MP_real getGranulo() const { return _granulo; }
39 
40 private:
42  MP_stut _nature;
44  MP_real _thickness;
46  MP_age _age;
48  MP_real _granulo;
49 };
50 
51 typedef std::vector<DepositUnit> DepositsList;
52 
53 #endif /* DEPOSIT_UNIT_HH */
Storage class used to access DepositionUnit members (Domain sample informations).
Definition: DepositUnit.hpp:17
MP_age getAge() const
Return the age of the sample.
Definition: DepositUnit.hpp:36
DepositUnit(const DepositUnit &dep)
Copy constructor.
Definition: DepositUnit.hpp:27
MP_real getThickness() const
Return the thickness of the sample (in meters)
Definition: DepositUnit.hpp:34
virtual ~DepositUnit()
Destructor.
Definition: DepositUnit.hpp:30
DepositUnit()
Default Constructor.
Definition: DepositUnit.hpp:21
DepositUnit(MP_stut nature, MP_real thickness, MP_age age, MP_real granulo)
Default constructor.
Definition: DepositUnit.hpp:24
MP_real getGranulo() const
Return the grain size rate of the sample ]0., 1.].
Definition: DepositUnit.hpp:38
MP_stut getNature() const
Return the facies identifier of the sample (identifiers are defined in MCRCDefines....
Definition: DepositUnit.hpp:32