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