CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
intervention.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 <iostream>
27using std::cout;
28using std::cerr;
29using std::endl;
30using std::ios;
31
32#include "cme.h"
33#include "intervention.h"
34
36CRWIntervention::CRWIntervention(CRWCoast* pCoastIn, int const nCoast, int const nPointOnCoast)
37{
38 pCoast = pCoastIn;
39
40 m_nCoast = nCoast;
41 m_nPointOnCoast = nPointOnCoast;
43}
44
49
52{
53}
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:39
~CRWIntervention(void) override
Destructor.
void Display(void) override
Instantiates the pure virtual function in the abstract parent class, so that CRWIntervention is not a...
CRWIntervention(CRWCoast *, int const, int const)
Constructor with three parameters.
This file contains global definitions for CoastalME.
int const LF_CAT_INTERVENTION
Definition cme.h:431
Contains CRWIntervention definitions.