CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
cell_sediment.h
Go to the documentation of this file.
1
14
15#ifndef SEDIMENT_H
16#define SEDIMENT_H
17/*===============================================================================================================================
18
19This file is part of CoastalME, the Coastal Modelling Environment.
20
21CoastalME is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
22
23This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
24
25You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26
27===============================================================================================================================*/
29{
30private:
32 double m_dFine;
33
36
38 double m_dSand;
39
42
44 double m_dCoarse;
45
48
51
54
57
60
63
66
67protected:
68
69public:
70 CRWCellSediment(void);
71 CRWCellSediment(CRWCellSediment const&); // Copy constructor defined explicitly, to stop cppcheck from complaining
72
74
75 void SetFineDepth(double const);
76 double dGetFineDepth(void) const;
77 void AddFineDepth(double const);
78
79 void SetSandDepth(double const);
80 double dGetSandDepth(void) const;
81 void AddSandDepth(double const);
82
83 void SetCoarseDepth(double const);
84 double dGetCoarseDepth(void) const;
85 void AddCoarseDepth(double const);
86
87 void SetNotchFineLost(double const);
88 // void IncrNotchFineLost(double const);
89 double dGetNotchFineLost(void) const;
90
91 void SetNotchSandLost(double const);
92 // void IncrNotchSandLost(double const);
93 double dGetNotchSandLost(void) const;
94
95 void SetNotchCoarseLost(double const);
96 // void IncrNotchCoarseLost(double const);
97 double dGetNotchCoarseLost(void) const;
98
99 void AddFineSedimentInputDepth(double const);
100 void AddSandSedimentInputDepth(double const);
101 void AddCoarseSedimentInputDepth(double const);
102 double dGetFineSedimentInputDepth(void) const;
103 double dGetSandSedimentInputDepth(void) const;
104 double dGetCoarseSedimentInputDepth(void) const;
105 double dGetTotAllSedimentInputDepth(void) const;
107};
108#endif // SEDIMENT_H
void SetNotchFineLost(double const)
Sets the depth equivalent of fine sediment lost by notch incision.
double dGetSandSedimentInputDepth(void) const
Returns the this-iteration total depth of sand sediment input (m)
double dGetCoarseDepth(void) const
Returns the coarse sediment depth equivalent for this sediment layer object.
double m_dNotchSandLost
Depth equivalent (m) of sand sediment lost via notch incision.
double m_dNotchFineLost
Depth equivalent (m) of fine sediment lost via notch incision.
double dGetNotchFineLost(void) const
Gets the depth equivalent of fine sediment lost by notch incision.
double m_dCoarseSedimentInputThisIter
Depth equivalent (m) of coarse sediment added via sediment input events, this iteration.
void AddCoarseSedimentInputDepth(double const)
Adds to the this-iteration total depth of coarse sediment input, and to the since-start-of-simulation...
double m_dTotCoarseSedimentInput
Depth equivalent (m) of coarse sediment added via sediment input events, since start of simulation.
void AddFineDepth(double const)
Adds fine sediment (depth equivalent) to this sediment layer object's fine sediment.
double dGetFineDepth(void) const
Returns the fine sediment depth equivalent for this sediment layer object.
double dGetNotchSandLost(void) const
Gets the depth equivalent of sand sediment lost by notch incision.
void AddFineSedimentInputDepth(double const)
Adds to the this-iteration total depth of fine sediment input, and to the since-start-of-simulation t...
double m_dTotFineSedimentInput
Depth equivalent (m) of fine sediment added via sediment input events, since start of simulation.
double m_dFine
Depth equivalent of fine sediment in m.
CRWCellSediment(void)
CRWCellSediment constructor, initialization list sets all internal values to zero.
void SetNotchCoarseLost(double const)
Sets the depth equivalent of coarse sediment lost by notch incision.
void SetNotchSandLost(double const)
Sets the depth equivalent of sand sediment lost by notch incision.
double m_dFineSedimentInputThisIter
Depth equivalent (m) of fine sediment added via sediment input events, this iteration.
void InitThisIterSedimentInputAll(void)
Intializes the this-iteration total depth of sediment input for all size classes (m)
void SetFineDepth(double const)
Sets this sediment layer object's fine sediment depth equivalent. Note no checks here to see if new e...
void AddSandSedimentInputDepth(double const)
Adds to the this-iteration total depth of sand sediment input, and to the since-start-of-simulation t...
double dGetTotAllSedimentInputDepth(void) const
Returns the total (since the start of simulation) depth of sediment input (m, all size classes)
double m_dNotchCoarseLost
Depth equivalent (m) of coarse sediment lost via notch incision.
void SetSandDepth(double const)
Sets this sediment layer object's sand sediment depth equivalent. Note no checks here to see if new e...
double m_dSand
Depth equivalent of sand sediment in m.
double dGetFineSedimentInputDepth(void) const
Returns the this-iteration total depth of fine sediment input (m)
double dGetCoarseSedimentInputDepth(void) const
Returns the this-iteration total depth of coarse sediment input (m)
void AddSandDepth(double const)
Adds sand sediment (depth equivalent) to this sediment layer object's sand sediment.
void SetCoarseDepth(double const)
Sets this sediment layer object's coarse sediment depth equivalent. Note no checks here to see if new...
double dGetNotchCoarseLost(void) const
Gets the depth equivalent of coarse sediment lost by notch incision.
double m_dCoarse
Depth equivalent of coarse sediment in m.
void AddCoarseDepth(double const)
Adds coarse sediment (depth equivalent) to this sediment layer object's coarse sediment.
double m_dTotSandSedimentInput
Depth equivalent (m) of sand sediment added via sediment input events, since start of simulation.
CRWCellSediment & operator=(const CRWCellSediment &)
Sets one CRWCellSediment object equal to another.
double dGetSandDepth(void) const
Returns the sand sediment depth equivalent for this sediment layer.
double m_dSandSedimentInputThisIter
Depth equivalent (m) of sand sediment added via sediment input events, this iteration.