forked from OpenWaterAnalytics/epanet-matlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathENresetreport.m
executable file
·40 lines (32 loc) · 1 KB
/
ENresetreport.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
function [errcode] = ENresetreport()
% Declaration:
% [errcode] = ENresetreport( void )
%
% Description:
% Clears any report formatting commands that either appeared
% in the [REPORT] section of the EPANET Input file or were
% issued with the ENsetreport function.
%
%Arguments:
%
% Returns:
% Returns an error code.
%
%Notes:
% After calling this function the default reporting options are in effect. These are:
% -No status report
% -No energy report
% -No nodes reported on
% -No links reported on
% -Node variables reported to 2 decimal places
% -Link variables reported to 2 decimal places (3 for friction factor)
% -Node variables reported are elevation, head, pressure, and quality
% -Link variables reported are flow, velocity, and head loss
%
%See Also:
% ENreport, ENsetreport, ENsetstatusreport
%
% Version 2.00.07 (August 2008)
global ENDLLNAME;
[errcode]=calllib(ENDLLNAME,'ENresetreport');
if errcode ENerror(errcode); end