EPANET  3.0
EPANET Development Project
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
HydSolver Class Referenceabstract

Interface for an equilibrium network hydraulic solver. More...

#include <hydsolver.h>

Inheritance diagram for HydSolver:
GGASolver

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 HydSolverfactory (const std::string name, Network *nw, MatrixSolver *ms)
 

Protected Attributes

Networknetwork
 
MatrixSolvermatrixSolver
 

Detailed Description

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.


The documentation for this class was generated from the following files: