Harden coupling diagnostics and pressure wave smoke
This commit is contained in:
@@ -110,9 +110,12 @@ contains
|
||||
if (.not. is_finite_vector(position)) call fail('water coupling position after force is not finite')
|
||||
if (.not. is_finite_vector(velocity)) call fail('water coupling velocity after force is not finite')
|
||||
if (.not. is_finite(particle_pressure)) call fail('water coupling pressure is not finite')
|
||||
call sph_coupling_import_facet_load(1, force, ierr)
|
||||
call assert_ok(ierr, 'water coupling facet load import failed')
|
||||
|
||||
call sph_coupling_get_diagnostics(work, energy, momentum)
|
||||
if (work <= 0.0_rk) call fail('coupling work placeholder not updated')
|
||||
if (energy <= 0.0_rk) call fail('coupling energy placeholder not updated')
|
||||
if (momentum(3) <= 0.0_rk) call fail('coupling momentum placeholder not updated')
|
||||
if (coupling_type /= 0) call fail('water coupling type should remain neutral')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user