Returns the namelist name. Not very useful at the moment but may want to do more interesting things in the future
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_config_type), | intent(in) | :: | self |
function get_name_generic(self)
implicit none
class(abstract_config_type), intent(in) :: self
character(len = CONFIG_MAX_NAME_LEN) :: get_name_generic
if (self%is_initialised()) then
get_name_generic = self%name
else
get_name_generic = self%get_default_name()
endif
end function get_name_generic