Integrate water explicit stepping and dt limits
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user