read Interface

interface
public subroutine read(self, nml_file, nml_string)

Arguments

Type IntentOptional Attributes Name
class(base_config_t) :: self
character(len=*), intent(in), optional :: nml_file
character(len=*), intent(in), optional :: nml_string

Description

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'/"