base_config_t Derived Type

type, public, abstract :: base_config_t

All config types have a method read to initialise their data


Inherited by

type~~base_config_t~~InheritedByGraph type~base_config_t base_config_t type~channel_config_t channel_config_t type~channel_config_t->type~base_config_t type~domain_config_t domain_config_t type~domain_config_t->type~base_config_t type~solver_config_t solver_config_t type~solver_config_t->type~base_config_t type~case_channel_t case_channel_t type~case_channel_t->type~channel_config_t channel_cfg

Type-Bound Procedures

procedure(read), public, deferred :: read

  • subroutine read(self, nml_file, nml_string) Prototype

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

    Arguments

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