added diffusion and advection

This commit is contained in:
Lauchmelder 2021-12-10 02:52:16 +01:00
parent 3b25635c19
commit 4eebb5821d
8 changed files with 224 additions and 39 deletions

View file

@ -14,11 +14,12 @@ public:
void Draw(SDL_Renderer* renderer, const SDL_Rect& targetRect);
private:
int width, height;
public:
std::vector<double> horizontal;
std::vector<double> vertical;
private:
int width, height;
double biggestMagnitude = 0.0;
};