&ocean_psurf (PR-17 atmospheric surface-pressure loading /
inverse barometer).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(config_t), | intent(in), | target | :: | cfg | ||
| type(nml_schema_t), | intent(inout) | :: | schema |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(nml_group_t), | private | :: | g | ||||
| logical, | private, | pointer | :: | pl | |||
| real(kind=wp), | private, | pointer | :: | pr |
subroutine register_ocean_psurf(cfg, schema) !! `&ocean_psurf` (PR-17 atmospheric surface-pressure loading / !! inverse barometer). type(config_t), target, intent(in) :: cfg type(nml_schema_t), intent(inout) :: schema type(nml_group_t) :: g logical, pointer :: pl real(wp), pointer :: pr g%name = "ocean_psurf" g%doc = "Atmospheric surface-pressure loading / inverse barometer (PR-17)." pl => cfg%ocean%psurf%enable call g%add(nml_logical("enable", pl, & "Master switch (split-solver only; requires "// & "&ocean_forcing_nml enable_components=.true.)")) pl => cfg%ocean%psurf%in_eos call g%add(nml_logical("in_eos", pl, & "Also feed the surface load to the equation of "// & "state as the top-of-column pressure p_top "// & "(requires enable=.true.; refused with the "// & "unported pressure builders)")) pr => cfg%ocean%psurf%p_surf_const call g%add(nml_real("p_surf_const", pr, & "Uniform atmospheric surface pressure (Pa) seeded "// & "into p_surf_atm (uniform => provably inert)")) call schema%add_group(g) end subroutine register_ocean_psurf