Global output file methods.
More...
|
| int | output_open (void) |
| | Writes basic project data to binary output file.
|
| |
| void | output_end (void) |
| | Writes closing records to binary file.
|
| |
| void | output_close (void) |
| | Frees memory used for accessing the binary file.
|
| |
| void | output_saveResults (double reportTime) |
| | Writes computed results for current report time to binary file.
|
| |
| void | output_updateAvgResults (void) |
| | Updates average results for current time period.
|
| |
| void | output_readDateTime (long period, DateTime *days) |
| | Retrieves the date/time for a specific reporting period from the binary output file.
|
| |
| void | output_readSubcatchResults (long period, int index) |
| | Reads computed results for a subcatchment at a specific time period.
|
| |
| void | output_readNodeResults (long period, int index) |
| | Reads computed results for a node at a specific time period.
|
| |
| void | output_readLinkResults (long period, int index) |
| | Reads computed results for a link at a specific time period.
|
| |
Global output file methods.
◆ output_close()
| void output_close |
( |
void |
| ) |
|
Frees memory used for accessing the binary file.
◆ output_end()
Writes closing records to binary file.
◆ output_open()
Writes basic project data to binary output file.
◆ output_readDateTime()
| void output_readDateTime |
( |
long |
period, |
|
|
DateTime * |
days |
|
) |
| |
Retrieves the date/time for a specific reporting period from the binary output file.
- Parameters
-
| [in] | period | Index of reporting time period |
| [out] | days | Date/time value |
◆ output_readLinkResults()
| void output_readLinkResults |
( |
long |
period, |
|
|
int |
index |
|
) |
| |
Reads computed results for a link at a specific time period.
- Parameters
-
| [in] | period | Index of reporting time period |
| [in] | index | Link index in binary output file |
◆ output_readNodeResults()
| void output_readNodeResults |
( |
long |
period, |
|
|
int |
index |
|
) |
| |
Reads computed results for a node at a specific time period.
- Parameters
-
| [in] | period | Index of reporting time period |
| [in] | index | Node index in binary output file |
◆ output_readSubcatchResults()
| void output_readSubcatchResults |
( |
long |
period, |
|
|
int |
index |
|
) |
| |
Reads computed results for a subcatchment at a specific time period.
- Parameters
-
| [in] | period | Index of reporting time period |
| [in] | index | Subcatchment index in binary output file |
◆ output_saveResults()
| void output_saveResults |
( |
double |
reportTime | ) |
|
Writes computed results for current report time to binary file.
- Parameters
-
| [in] | reportTime | Elapsed simulation time (millisec) |
◆ output_updateAvgResults()
| void output_updateAvgResults |
( |
void |
| ) |
|
Updates average results for current time period.