epanet2
EPANET 

所属分类:Windows编程
开发工具:C/C++
文件大小:137KB
下载次数:15
上传日期:2011-03-27 16:52:26
上 传 者ramnew2006
说明:  This is the source code for EPANET software in C Language

文件列表:
epanet2.def (4106, 2008-02-25)
epanet2.lib (22614, 2008-02-25)
Engine Updates.txt (3651, 2008-02-25)
epanet.c (97531, 2008-02-25)
hash.c (3091, 2008-02-25)
hydraul.c (86017, 2008-02-25)
inpfile.c (19319, 2008-02-25)
input1.c (23272, 2008-02-25)
input2.c (28986, 2008-02-25)
input3.c (64419, 2008-02-25)
mempool.c (4506, 2008-02-25)
output.c (24507, 2008-02-25)
quality.c (49495, 2008-02-25)
report.c (38089, 2008-02-25)
rules.c (27032, 2008-02-25)
smatrix.c (25187, 2008-02-25)
enumstxt.h (5027, 2008-02-25)
epanet2.h (6439, 2008-02-25)
funcs.h (18269, 2008-02-25)
hash.h (399, 2008-02-25)
mempool.h (430, 2008-02-25)
text.h (21004, 2008-02-25)
toolkit.h (6746, 2008-02-25)
types.h (21318, 2008-02-25)
vars.h (13308, 2008-02-25)

Contents of EPANET2.ZIP ======================= This archive contains the source code for the EPANET 2 network hydraulic and water quality solver. The solver provides functions for simulating the extended period hydraulic and water quality behavior of water distribution system pipe networks. It is written in ANSI-compatible C and can be compiled into either a Windows Dynamic Link Library of functions or into a command-line executable. The archived code is set up for compilation as a DLL. To compile it as a command line (or console) application simply comment out the "#define DLL" macro statement at the top of EPANET.C and un-comment the "#define CLE" macro. The DLL version of the solver (epanet2.dll) is used with the EPANET 2 user interface executable (epanet2w.exe) to form a complete Windows modeling package. It also serves as the function library for the EPANET Programmer's Toolkit, allowing developers to construct their own customized pipe network analysis applications. The following C-code files are included in this archive: EPANET.C -- main module providing supervisory control INPUT1.C -- controls processing of input data INPUT2.C -- reads data from input file INPUT3.C -- parses individual lines of input data INPFILE.C -- saves modified input data to a text file RULES.C -- implements rule-based control of piping system HYDRAUL.C -- computes extended period hydraulic behavior QUALITY.C -- tracks transport & fate of water quality OUTPUT.C -- handles transfer of data to and from binary files REPORT.C -- handles reporting of results to text file SMATRIX.C -- sparse matrix linear equation solver routines MEMPOOL.C -- memory pool management routines HASH.C -- hash table routines Also included are the following header files: TOOLKIT.H -- function prototypes of exported DLL functions FUNCS.H -- prototypes of all other functions TYPES.H -- declaration of global constants and data structures VARS.H -- declaration of global variables HASH.H -- header file for hash table routines MEMPOOL.H -- header file for memory pool routines ENUMSTXT.H -- string constants for enumerated types TEXT.H -- declaration of all other string constants The comments at the top of each file lists the date when the latest update was made, and these updates can be located in the code by searching for comments with the phrase "/*** Updated" or with the release number (e.g., 2.00.12) in them. Other useful documentation that can be consulted includes the EPANET Programmers Toolkit Help file and the EPANET Version 2 Users Manual.

近期下载者

相关文件


收藏者