CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
cell_landform.h
Go to the documentation of this file.
1
12
13#ifndef CELL_LANDFORM_H
14#define CELL_LANDFORM_H
15/* ===============================================================================================================================
16 This file is part of CoastalME, the Coastal Modelling Environment.
17
18 CoastalME 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.
19
20 This 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.
21
22 You 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.
23===============================================================================================================================*/
25{
26 private:
29
32
35
38
40 union
41 {
42 struct
43 {
47
48 struct
49 {
52
55
56#ifdef _DEBUG
58 unsigned long m_ulCollapseTimestep;
59#endif
61
63
64 protected:
65 public:
67 ~CRWCellLandform(void);
68
69 void SetLFCategory(int const);
70 int nGetLFCategory(void) const;
71
72 void SetCoast(int const);
73 int nGetCoast(void) const;
74
75 void SetPointOnCoast(int const);
76 int nGetPointOnCoast(void) const;
77
78 void SetAccumWaveEnergy(double const);
79 void AddToAccumWaveEnergy(double const);
80 double dGetAccumWaveEnergy(void) const;
81
82 void SetCliffNotchApexElev(double const);
83 double dGetCliffNotchApexElev(void) const;
84 void SetCliffNotchIncisionDepth(double const);
85 void AddToCliffNotchIncisionDepth(double const);
86 double dGetCliffNotchIncisionDepth(void) const;
87 // void SetCliffRemaining(double const);
88 // double dGetCliffRemaining(void) const;
89
90#ifdef _DEBUG
91 void SetCliffCollapseTimestep(unsigned long const);
92 unsigned long ulGetCliffCollapseTimestep(void) const;
93#endif
94};
95#endif // CELL_LANDFORM_H
double m_dNotchIncision
Cliff notch, horizontal depth of incision.
double m_dNotchApexElev
Cliff notch base elevation.
int m_nCategory
Landform category for this cell.
double m_dAccumWaveEnergy
Accumulate wave energy for this landform on this cell.
void SetCoast(int const)
Set the coast number.
int nGetCoast(void) const
Get the coast number.
~CRWCellLandform(void)
Destructor.
CRWCellLandform()
Constructor.
void AddToAccumWaveEnergy(double const)
Add to acccumulated wave energy.
int nGetLFCategory(void) const
Get the landform category.
struct CRWCellLandform::@170004372174012267010031044241026106362141217107::@011003210325044236311215236244300034303311172136 m_sCliffData
struct CRWCellLandform::@170004372174012267010031044241026106362141217107::@014176053170125047154211021232071132307325100063 m_sBeachData
void SetCliffNotchApexElev(double const)
Set cliff notch apex elevation.
double dGetAccumWaveEnergy(void) const
Get accumulated wave energy.
int m_nPointOnCoastline
Point on coast on which this landform sits (if any)
union CRWCellLandform::@170004372174012267010031044241026106362141217107 m_uLFData
The m_uLFData will hold landform data: currently, only cliffs are considered.
double dGetCliffNotchApexElev(void) const
Get cliff notch apex elevation: this is the elevation of the most deeply incised horizontal plane wit...
void SetLFCategory(int const)
Set the landform category.
void SetPointOnCoast(int const)
Set the number of the point on the coastline.
int m_nCoast
Coast on which this landform sits (if any)
int m_nDummy
Currently unused for all landforms except cliffs.
double dGetCliffNotchIncisionDepth(void) const
Get the horizontal depth of cliff notch incision for this cell. This is the horizontal distance from ...
void SetAccumWaveEnergy(double const)
Set accumulated wave energy.
int nGetPointOnCoast(void) const
Set the number of the point on the coastline.
void SetCliffNotchIncisionDepth(double const)
Set the horizontal depth of cliff notch incision for this cell. This is the horizontal distance from ...
void AddToCliffNotchIncisionDepth(double const)
Adds to the horizontal depth of cliff notch incision for this cell. This is the horizontal distance f...