Validate that all namelist parameters are physically and numerically sensible.
normalize_config is called first so that scheme names are compared
case-insensitively. Three outcomes are possible:
error stop is called with a descriptive message.is_valid and/or message are present,
the result is returned in those arguments and execution continues.is_valid = .true. (when
present) and message is set to an empty string (when present).| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(config_t), | intent(inout) | :: | cfg |
Configuration to validate (normalised in-place). |
||
| logical, | intent(out), | optional | :: | is_valid |
|
|
| character(len=*), | intent(out), | optional | :: | message |
Human-readable description of the first violation, or |