All config types have a method read to initialise their data
Assigns the member variables either from a file or text source.
nml_file can be an absolute or relative path nml_string is a character string that contains the namelist. For example, nml_string="&foobar_nml foo=0, bar='this'/"
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(base_config_t) | :: | self | ||||
character(len=*), | intent(in), | optional | :: | nml_file | ||
character(len=*), | intent(in), | optional | :: | nml_string |