apply_style_defaults Subroutine

public subroutine apply_style_defaults(style_name, spec, dpi, force)

Fill spec%config from built-in style. When force=.true., overrides any JSON-provided config. When force=.false. (default), only fills when absent.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: style_name
type(spec_t), intent(inout) :: spec
real(kind=wp), intent(in) :: dpi
logical, intent(in), optional :: force