working helmholtz

This commit is contained in:
max
2026-05-09 02:25:56 +02:00
parent 77ef4753a3
commit cf1bf30c81
3 changed files with 121 additions and 103 deletions

View File

@@ -149,6 +149,7 @@ namespace FluidSim.Core
public int GetPipeEnd(int pipeIdx) => _pipeEnd[pipeIdx];
public float GetCellPressure(int i) => _p[i];
public float GetCellDensity(int i) => _rho[i];
public float GetCellDx(int i) => _dx[i];
public float GetCellVelocity(int i)
{
float rho = _rho[i];