TransFlow  0.1.0
A transient pipeline flow simulation library
GoverningEquationSolverBase Class Referenceabstract

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>

Inheritance diagram for GoverningEquationSolverBase:
GoverningEquationSolver< T >

Public Member Functions

virtual ~GoverningEquationSolverBase ()
 Declared to avoid the inline compiler-generated default destructor.
 
virtual arma::mat solve (const arma::uword dt, const Pipeline &currentState, const Pipeline &newState, const BoundaryConditions &boundaryConditions)=0
 See GoverningEquationSolver::solve().
 
bool isOverDetermined (const BoundaryConditions &boundaryConditions)
 

Detailed Description

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.

Member Function Documentation

◆ isOverDetermined()

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.


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