From b8dc9bc55830e2fcabf7b206b06a1edeb8668d2c Mon Sep 17 00:00:00 2001 From: grillkol Date: Mon, 4 May 2026 23:34:38 +0200 Subject: [PATCH] Added a note of next potential steps --- Pipe1D.cs | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/Pipe1D.cs b/Pipe1D.cs index 0343ff9..e3922a3 100644 --- a/Pipe1D.cs +++ b/Pipe1D.cs @@ -182,4 +182,29 @@ namespace FluidSimV2 } } -} \ No newline at end of file +} + +/* +Next potential steps: + +Implement a flux method (Lax Friedrichs) + +Dont update ghost cells in UpdateDerivedValues and UpdateCells + +Ghost cells boundary conditions + +Scrap the arrays _u, _P, _c - instead, compute on the fly (half memory traffic) + +Consider System.Runtime.Intrinsics for finer SIMD tuning + +Fuse UpdateDerivedValues and UpdateCells + +CFL based sub-stepping + +Vectorise the flux calculation + +Process multiple components together (SIMD - complicated) + +Potential multithreading of the SIMD loops + +*/ \ No newline at end of file