CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
drift.cpp
Go to the documentation of this file.
1
12
13/* ===============================================================================================================================
14
15 This file is part of CoastalME, the Coastal Modelling Environment.
16
17 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.
18
19 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.
20
21 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.
22
23===============================================================================================================================*/
24#include <assert.h>
25
26#include "cme.h"
27#include "drift.h"
28#include "coast.h"
29
31CRWDrift::CRWDrift(CRWCoast* pCoastIn, int const nCoast, int const nPointOnCoast)
32 : m_dD50(0)
33{
34 pCoast = pCoastIn;
35
36 m_nCoast = nCoast;
37 m_nPointOnCoast = nPointOnCoast;
39}
40
43{
44}
45
48{
49}
int m_nPointOnCoast
The point on the coast on which this coast landform sits.
CRWCoast * pCoast
Pointer to this landform's coast.
int m_nCategory
Landform category code.
int m_nCoast
The coast number on which this coast landform sits.
Real-world class used to represent coastline objects.
Definition coast.h:43
double m_dD50
The drift's d50.
Definition drift.h:35
CRWDrift(CRWCoast *, int const, int const)
Constructor with three parameters and an intialization list.
Definition drift.cpp:31
void Display(void) override
Instantiates the pure virtual function in the abstract parent class, so that CRWDrift is not an abstr...
Definition drift.cpp:47
~CRWDrift(void) override
Destructor.
Definition drift.cpp:42
This file contains global definitions for CoastalME.
int const LF_CAT_DRIFT
Definition cme.h:544
Contains CRWCoast definitions.
Contains CRWDrift definitions.