TransFlow
0.1.0
A transient pipeline flow simulation library
|
Simple Base class to avoid having to specify template argument for GoverningEquationSolver. This means that we have to use pointers to GoverningEquationSolverBase instead of simple GoverningEquationSolverBase instances. More...
#include <governingequationsolver.hpp>
Public Member Functions | |
virtual | ~GoverningEquationSolverBase () |
Declared to avoid the inline compiler-generated default destructor. | |
virtual arma::mat | solve (const arma::uword dt, const Pipeline ¤tState, const Pipeline &newState, const BoundaryConditions &boundaryConditions)=0 |
See GoverningEquationSolver::solve(). | |
bool | isOverDetermined (const BoundaryConditions &boundaryConditions) |
Simple Base class to avoid having to specify template argument for GoverningEquationSolver. This means that we have to use pointers to GoverningEquationSolverBase instead of simple GoverningEquationSolverBase instances.
bool GoverningEquationSolverBase::isOverDetermined | ( | const BoundaryConditions & | boundaryConditions | ) |
Returns true of the equation system is over-determined given the input boundary conditions. Just returns true if there are more than three active boundary conditions, and false else.