CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
cell_layer.cpp
Go to the documentation of this file.
1
12
13/*===============================================================================================================================
14
15This file is part of CoastalME, the Coastal Modelling Environment.
16
17CoastalME 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.
18
19This 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.
20
21You 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.
22
23===============================================================================================================================*/
24#include <assert.h>
25
26#include "cme.h"
27#include "cell_layer.h"
28
33
39
45
48{
49 return m_UnconsolidatedSediment.dGetFineDepth();
50}
51
54{
55 return m_ConsolidatedSediment.dGetFineDepth();
56}
57
60{
61 return m_UnconsolidatedSediment.dGetSandDepth();
62}
63
66{
67 return m_ConsolidatedSediment.dGetSandDepth();
68}
69
72{
73 return m_UnconsolidatedSediment.dGetCoarseDepth();
74}
75
78{
79 return m_ConsolidatedSediment.dGetCoarseDepth();
80}
81
84{
85 return (m_UnconsolidatedSediment.dGetFineDepth() + m_UnconsolidatedSediment.dGetSandDepth() + m_UnconsolidatedSediment.dGetCoarseDepth());
86}
87
90{
91 return (m_ConsolidatedSediment.dGetFineDepth() + m_ConsolidatedSediment.dGetSandDepth() + m_ConsolidatedSediment.dGetCoarseDepth());
92}
93
96{
97 return (m_UnconsolidatedSediment.dGetFineDepth() + m_UnconsolidatedSediment.dGetSandDepth() + m_UnconsolidatedSediment.dGetCoarseDepth() + m_ConsolidatedSediment.dGetFineDepth() + m_ConsolidatedSediment.dGetSandDepth() + m_ConsolidatedSediment.dGetCoarseDepth());
98}
99
100// //! Returns the thickness of unconsolidated sediment lost due to notch incision (total for all size classes)
101// double CRWCellLayer::dGetNotchUnconsolidatedLost(void) const
102// {
103// return (m_UnconsolidatedSediment.dGetNotchFineLost() + m_UnconsolidatedSediment.dGetNotchSandLost() + m_UnconsolidatedSediment.dGetNotchCoarseLost());
104// }
105
106// //! Returns the thickness of consolidated sediment lost due to notch incision (total for all size classes)
107// double CRWCellLayer::dGetNotchConsolidatedLost(void) const
108// {
109// return (m_ConsolidatedSediment.dGetNotchFineLost() + m_ConsolidatedSediment.dGetNotchSandLost() + m_ConsolidatedSediment.dGetNotchCoarseLost());
110// }
111
112// double CRWCellLayer::dGetVolSedFraction(void) const
113// {
114// return m_VdolSedFraction;
115// }
116
117// void CRWCellLayer::SetVolSedFraction(double const dNewVolSedFraction)
118// {
119// m_VdolSedFraction = dNewVolSedFraction;
120// }
121//
122// double CRWCellLayer::dGetMechResistance(void) const
123// {
124// return m_dMechResistance;
125// }
126
127// void CRWCellLayer::SetMechResistance(double const dNewMechResistance)
128// {
129// m_dMechResistance = dNewMechResistance;
130// }
131
132// double CRWCellLayer::dGetConsolidationStatus(void) const
133// {
134// return m_dConsolidationStatus;
135// }
136
137// void CRWCellLayer::SetConsolidationStatus(double const dNewConsolidationStatus)
138// {
139// m_dConsolidationStatus = dNewConsolidationStatus;
140// }
141
Contains CRWCellLayer definitions.
CRWCellSediment m_ConsolidatedSediment
This cell's consolidated sediment object.
Definition cell_layer.h:43
double dGetFineUnconsolidatedThickness(void) const
Returns the thickness of this cell's fine unconsolidated sediment.
double dGetSandUnconsolidatedThickness(void) const
Returns the thickness of this cell's sand unconsolidated sediment.
CRWCellSediment m_UnconsolidatedSediment
This cell's unconsolidated sediment object.
Definition cell_layer.h:40
CRWCellSediment * pGetConsolidatedSediment(void)
Returns a pointer to the cell's consolidated sediment object.
double dGetCoarseConsolidatedThickness(void) const
Returns the thickness of this cell's coarse consolidated sediment.
double dGetFineConsolidatedThickness(void) const
Returns the thickness of this cell's fine consolidated sediment.
double dGetCoarseUnconsolidatedThickness(void) const
Returns the thickness of this cell's coarse unconsolidated sediment.
CRWCellLayer(void)
Constructor.
double dGetConsolidatedThickness(void) const
Returns the thickness of this cell's consolidated sediment (total for all size classes)
CRWCellSediment * pGetUnconsolidatedSediment(void)
Returns a pointer to the cell's unconsolidated sediment object.
double dGetSandConsolidatedThickness(void) const
Returns the thickness of this cell's sand consolidated sediment.
double dGetTotalThickness(void) const
Returns the thickness of this cell's sediment (total for all size classes, both consolidated and unco...
double dGetUnconsolidatedThickness(void) const
Returns the thickness of this cell's unconsolidated sediment (total for all size classes)
Real-world class used to represent the sediment (either consolidated or unconsolidated) associated wi...
This file contains global definitions for CoastalME.