.true. iff &ocean_sponge_nml target_source names a reference
state that is actually filled: "ic" (snapshot of the seeded
initial condition) or "linear_z" (analytic affine geopotential
profile, re-evaluated on the live layer geometry). "file" is
recognised but has no reader yet (PR-23b).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | tag |
pure logical function sponge_target_is_implemented(tag) result(ok) !! .true. iff `&ocean_sponge_nml target_source` names a reference !! state that is actually filled: `"ic"` (snapshot of the seeded !! initial condition) or `"linear_z"` (analytic affine geopotential !! profile, re-evaluated on the live layer geometry). `"file"` is !! recognised but has no reader yet (PR-23b). character(len=*), intent(in) :: tag select case (trim(tag)) case ("ic", "linear_z") ok = .true. case default ok = .false. end select end function sponge_target_is_implemented