hydrobricks
Loading...
Searching...
No Matches
SolverExponentialEuler.h
1
#ifndef HYDROBRICKS_SOLVER_EXPONENTIAL_EULER_H
2
#define HYDROBRICKS_SOLVER_EXPONENTIAL_EULER_H
3
4
#include "Includes.h"
5
#include "SolverSequential.h"
6
19
class
SolverExponentialEuler
:
public
SolverSequential
{
20
public
:
21
explicit
SolverExponentialEuler
();
22
23
protected
:
27
void
ComputeBrickRates
(
Brick
* brick,
double
content,
double
inflow,
double
timeStepInDays,
int
iRateStart)
override
;
28
29
private
:
30
vecDouble _startRates;
// scratch: per-connection rates at the start-of-step content
31
vecDouble _endRates;
// scratch: per-connection rates at the end-of-step content
32
};
33
34
#endif
// HYDROBRICKS_SOLVER_EXPONENTIAL_EULER_H
Brick
Definition
Brick.h:22
SolverExponentialEuler
Definition
SolverExponentialEuler.h:19
SolverExponentialEuler::ComputeBrickRates
void ComputeBrickRates(Brick *brick, double content, double inflow, double timeStepInDays, int iRateStart) override
Definition
SolverExponentialEuler.cpp:12
SolverSequential
Definition
SolverSequential.h:18
src
base
SolverExponentialEuler.h
Generated by
1.12.0