44 static int snTideDataCount = 0;
47 if (snTideDataCount > nSize-1)
67 static int snWaveStationDataCount = 0;
72 snWaveStationDataCount = 0;
87 int nTot = nNumberDeepWaterWaveStations * snWaveStationDataCount;
89 for (
int j = 0; j < nNumberDeepWaterWaveStations; j++)
97 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_dMinSWL
Minimum still water level.
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.
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.
int m_nDeepWaterWaveDataNumTimeSteps
The duration of data for deep water waves, expressed as a number of time steps.
vector< int > m_VnDeepWaterWaveStationID
ID for deep water wave station, this corresponds with the ID in the wave time series file.
double m_dAccumulatedSeaLevelChange
If long-term SWL changes, the total change so far since the start of simulation.
double m_dMaxSWL
Maximum still water level.
double m_dDeltaSWLPerTimestep
If long-term SWL changes, the increment per timestep.
vector< double > m_VdThisIterDeepWaterWaveStationAngle
This-iteration wave orientation at deep water wave station.
double m_dAllCellsDeepWaterWavePeriod
Deep water wave period for all sea cells.
double m_dOrigSWL
The start-of-simulation still water level (m)
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.