Tsunami Project Lab
Loading...
Searching...
No Matches
tsunami_lab::solvers::Solver Class Referenceabstract

#include <Solver.h>

Inheritance diagram for tsunami_lab::solvers::Solver:

Public Member Functions

virtual ~Solver ()
 
virtual void netUpdates (t_real i_hL, t_real i_hR, t_real i_huL, t_real i_huR, t_real o_netUpdateL[2], t_real o_netUpdateR[2])=0
 

Constructor & Destructor Documentation

◆ ~Solver()

virtual tsunami_lab::solvers::Solver::~Solver ( )
inlinevirtual

Member Function Documentation

◆ netUpdates()

virtual void tsunami_lab::solvers::Solver::netUpdates ( t_real i_hL,
t_real i_hR,
t_real i_huL,
t_real i_huR,
t_real o_netUpdateL[2],
t_real o_netUpdateR[2] )
pure virtual

Computes the net-updates.

Parameters
i_hLheight of the left side.
i_hRheight of the right side.
i_huLmomentum of the left side.
i_huRmomentum of the right side.
o_netUpdateLwill be set to the net-updates for the left side; 0: height, 1: momentum.
o_netUpdateRwill be set to the net-updates for the right side; 0: height, 1: momentum.

Implemented in tsunami_lab::solvers::FWave, and tsunami_lab::solvers::Roe.


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