Expand SPHLite particle state consistency tests

This commit is contained in:
Codex
2026-07-02 23:01:42 +08:00
parent 576a5c09c7
commit 9d1cf2668f
7 changed files with 114 additions and 23 deletions
+2
View File
@@ -52,6 +52,8 @@ program test_kernel
call sph_kernel_value(SPH_KERNEL_WENDLAND_C2, 0.5_rk, 0.0_rk, value, ierr)
if (ierr == SPH_SUCCESS) call fail('zero h did not fail')
call sph_kernel_value(SPH_KERNEL_WENDLAND_C4, 0.5_rk, 0.0_rk, value, ierr)
if (ierr == SPH_SUCCESS) call fail('Wendland C4 zero h did not fail')
call sph_kernel_value(99, 0.5_rk, 1.0_rk, value, ierr)
if (ierr == SPH_SUCCESS) call fail('unknown kernel type did not fail')