EPANET
3.0
EPANET Development Project
|
Interface for an equilibrium network hydraulic solver. More...
#include <hydsolver.h>
Public Types | |
enum | StatusCode { SUCCESSFUL, FAILED_NO_CONVERGENCE, FAILED_ILL_CONDITIONED } |
Public Member Functions | |
HydSolver (Network *nw, MatrixSolver *ms) | |
virtual int | solve (double tstep, int &trials)=0 |
Static Public Member Functions | |
static HydSolver * | factory (const std::string name, Network *nw, MatrixSolver *ms) |
Protected Attributes | |
Network * | network |
MatrixSolver * | matrixSolver |
Interface for an equilibrium network hydraulic solver.
This is an abstract class that defines an interface for a specific algorithm used for solving pipe network hydraulics at a given instance in time.