Integrate water explicit stepping and dt limits

This commit is contained in:
Codex
2026-07-02 20:52:05 +08:00
parent 662129d2bb
commit 4809701068
10 changed files with 226 additions and 33 deletions
+14
View File
@@ -2,6 +2,7 @@ module sph_api_state
implicit none
logical :: sph_api_initialized = .false.
logical :: sph_api_model_built = .false.
contains
@@ -9,6 +10,7 @@ contains
logical, intent(in) :: value
sph_api_initialized = value
if (.not. value) sph_api_model_built = .false.
end subroutine sph_api_state_set_initialized
subroutine sph_api_state_get_initialized(value)
@@ -17,4 +19,16 @@ contains
value = sph_api_initialized
end subroutine sph_api_state_get_initialized
subroutine sph_api_state_set_model_built(value)
logical, intent(in) :: value
sph_api_model_built = value
end subroutine sph_api_state_set_model_built
subroutine sph_api_state_get_model_built(value)
logical, intent(out) :: value
value = sph_api_model_built
end subroutine sph_api_state_get_model_built
end module sph_api_state