.true. only for a top-drag variant with a real kernel. The
single gate validate_config consumes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | code |
pure function tdrag_variant_is_implemented(code) result(ok) !! `.true.` only for a top-drag variant with a real kernel. The !! single gate `validate_config` consumes. integer, intent(in) :: code logical :: ok ok = (code == TDRAG_LINEAR) .or. (code == TDRAG_QUADRATIC) end function tdrag_variant_is_implemented