Add Explosive detonation state

This commit is contained in:
Codex
2026-07-03 12:03:06 +08:00
parent d4e51e4177
commit 4b95609d14
5 changed files with 233 additions and 23 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ module sph_input_reader
sph_gas_apply_initial_conditions, sph_gas_count_unbound_materials
use sph_explosive, only: sph_explosive_note_material, &
sph_explosive_set_control, sph_explosive_set_ignition, &
sph_explosive_validate_input, sph_explosive_count_unbound_materials
sph_explosive_build, sph_explosive_count_unbound_materials
use sph_neighbor, only: sph_neighbor_rebuild
use sph_inp_defs, only: SPH_INPUT_LINE_LEN, SPH_INPUT_FIELD_LEN, &
SPH_INPUT_MAX_FIELDS, SPH_KEY_NODE, SPH_KEY_ELEMENT, SPH_KEY_NSET, &
@@ -107,7 +107,7 @@ contains
if (ierr /= SPH_SUCCESS) return
call sph_gas_apply_initial_conditions(ierr)
if (ierr /= SPH_SUCCESS) return
call sph_explosive_validate_input(ierr)
call sph_explosive_build(ierr)
if (ierr /= SPH_SUCCESS) return
call sph_gas_count_unbound_materials(gas_unbound_count)
input_warning_count = input_warning_count + gas_unbound_count