Some generic routines for startup phase
Prints banner for grillix code
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in) | :: | is_writer |
If true, banner is printed to stdout |
Parses a filepath from command line
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=:), | intent(out), | allocatable | :: | fpath |
Filepath parsed from command line |
|
| logical, | intent(out), | optional | :: | use_default_fpath |
True if no filepath was parsed and default value will be used |
|
| character(len=*), | intent(in), | optional | :: | fpath_default |
Default filepath, if not provided, fpath will be empty |