47 static int snTideDataCount = 0;
50 if (snTideDataCount > nSize - 1)
83 static int snWaveStationDataCount = 0;
88 snWaveStationDataCount = 0;
103 int const nTot = nNumberDeepWaterWaveStations * snWaveStationDataCount;
105 for (
int j = 0; j < nNumberDeepWaterWaveStations; j++)
113 snWaveStationDataCount++;
double m_dAllCellsDeepWaterWaveHeight
Deep water wave height (m) for all sea cells.
vector< double > m_VdTSDeepWaterWaveStationPeriod
Time series of wave period at deep water wave station.
double m_dThisIterSWL
The still water level for this timestep (this includes tidal changes and any long-term SWL change)
bool m_bSingleDeepWaterWaveValues
Do we have just a point source for (i.e. only a single measurement of) deep water wave values.
int nCalcExternalForcing(void)
Calculate external forcings: change in still water level, tide level and deep water waves height,...
vector< double > m_VdTideData
Tide data: one record per timestep, is the change (m) from still water level for that timestep.
double m_dMaxSWLSoFar
Maximum still water level (m)
bool m_bLowestSWLSoFar
Do we have the lowest SWL so far?
double m_dInitialMeanSWL
The start-of-simulation still water level (m)
vector< double > m_VdThisIterDeepWaterWaveStationHeight
This-iteration wave height at deep water wave station.
bool m_bHaveWaveStationData
Do we have wave station data?
vector< double > m_VdThisIterDeepWaterWaveStationPeriod
This-iteration wave period at deep water wave station.
double m_dAllCellsDeepWaterWaveAngle
Deep water wave angle for all sea cells.
double m_dMinSWLSoFar
Minimum still water level (m)
int m_nDeepWaterWaveDataNumTimeSteps
The duration of data for deep water waves, expressed as a number of timesteps.
vector< int > m_VnDeepWaterWaveStationID
ID for deep water wave station, this corresponds with the ID in the wave time series file.
bool m_bHighestSWLSoFar
Do we have the highest SWL so far?
double m_dAccumulatedSeaLevelChange
If long-term SWL changes, the total change (m) so far since the start of simulation.
double m_dDeltaSWLPerTimestep
If long-term SWL changes, the increment per timestep.
double m_dThisIterMHWElev
This iteration's Mean High Water (MHW) elevation, calculated using a moving time window....
void CalcMHWElevation(int const)
Calculate Mean High Water (MHW) elevation for a given duration (in days). This is a tidal datum deter...
unsigned long m_ulIter
The number of the current iteration (time step)
vector< double > m_VdThisIterDeepWaterWaveStationAngle
This-iteration wave orientation at deep water wave station.
double m_dAllCellsDeepWaterWavePeriod
Deep water wave period for all sea cells.
bool m_bDoCliffCollapse
Simulate cliff collapse?
vector< double > m_VdTSDeepWaterWaveStationHeight
Time series of wave heights at deep water wave station.
double m_dThisIterMeanSWL
The mean still water level for this timestep (does not include tidal changes, but includes any long-t...
vector< double > m_VdTSDeepWaterWaveStationAngle
Time series of wave orientation at deep water wave station.
This file contains global definitions for CoastalME.
Contains CSimulation definitions.