Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Attach",
"type": "cppdbg",
"request": "attach",
"program": "enter program name, for example ${workspaceFolder}/a.out",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "enter program name, for example ${workspaceFolder}/a.out",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}

]
}
28 changes: 28 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: gcc build active file",
"command": "/usr/bin/gcc",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
56 changes: 56 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# EPANET Website

This is the official website for the EPANET project, built with HTML, CSS, and JavaScript.

## Structure

```
website/
├── index.html # Homepage
├── documentation.html # API Documentation
├── examples.html # Code Examples
├── css/
│ └── style.css # Main stylesheet
├── js/
│ └── main.js # JavaScript functionality
└── img/
├── Network.png # Network diagram
├── DataFlow.png # Data flow diagram
├── DistributionSystem.png
└── Example2.png
```

## Features

- **Responsive Design**: Works on desktop, tablet, and mobile devices
- **Modern UI**: Clean, professional design with water-themed colors
- **Documentation**: Complete API reference and function categories
- **Examples**: Practical code examples in C
- **Mobile Navigation**: Hamburger menu for mobile devices

## Viewing the Website

To view the website locally, you can use any web server. For example:

```bash
# Using Python
cd website
python -m http.server 8000

# Using Node.js
npx serve .

# Using VS Code
# Open index.html with Live Server extension
```

Then open http://localhost:8000 in your browser.

## About EPANET

EPANET is an industry-standard program for modeling the hydraulic and water quality behavior of water distribution system pipe networks. It is maintained by the Open Water Analytics (OWA) community.

For more information, visit:
- [GitHub Repository](https://github.com/OpenWaterAnalytics/EPANET)
- [API Documentation](http://wateranalytics.org/EPANET/)
- [Building Guide](BUILDING.md)
Loading