Hi, The best way to learn the code is to look at the code in a C GUI such as Visual Studio. The EPA has named the different C files after their usage but to start you off:
SWMM5.C is the main routine
Project.C sets up the Project Run
Input.C reads all of the Data
Routing.C Sets up the Routing
Node.C manages the Nodes
Link.C manages the Links
Dynamic.C manages the dynamic wave solution
Subcatc.C manages the Subcatchments etc
If you have a particular question I will glad to answer you but normally the names and comments explain everything.
Comments
Hi, The best way to learn the code is to look at the code in a C GUI such as Visual Studio. The EPA has named the different C files after their usage but to start you off:
SWMM5.C is the main routine
Project.C sets up the Project Run
Input.C reads all of the Data
Routing.C Sets up the Routing
Node.C manages the Nodes
Link.C manages the Links
Dynamic.C manages the dynamic wave solution
Subcatc.C manages the Subcatchments etc
If you have a particular question I will glad to answer you but normally the names and comments explain everything.
Welcome Nigussie!