numerics
Loading...
Searching...
No Matches
fluid_sim Directory Reference

Directories

 backends
 

Files

 fluid.cpp
 Single-switch dispatch from Backend enum to SPH backend implementations.
 
 fluid.hpp
 Weakly Compressible SPH (WCSPH) fluid solver – public interface.
 
 heat.cpp
 Heat computation has moved to backends/seq/heat.cpp and backends/omp/heat.cpp. Dispatch happens in fluid.cpp. This translation unit is intentionally minimal – kept for CMake.
 
 heat.hpp
 Heat transfer parameters for the SPH backends.
 
 kernel.hpp
 SPH smoothing kernels for 2D WCSPH — delegates to num::SPHKernel<2>.
 
 main.cpp
 SPH fluid simulation with raylib visualization.
 
 particle.hpp
 SPH particle data structure.
 
 rigid_body.hpp
 Rigid body (sphere) for SPH collision and heat exchange.
 
 spatial_hash.cpp
 SpatialHash is now a header-only wrapper around num::CellList2D. This translation unit is intentionally empty – kept for CMake.
 
 spatial_hash.hpp
 SPH neighbour search – now powered by num::CellList2D.