new_section Function

private elemental function new_section(section_name)

Return a new (initiliazed) section instance.

Arguments

TypeIntentOptionalAttributesName
character, intent(in), optional :: section_name

Option name.

Return Value type(section)

New (initiliazed) section instance.


Called by

proc~~new_section~~CalledByGraph proc~new_section new_section interface~section section interface~section->proc~new_section

Contents

Source Code


Source Code

  elemental function new_section(section_name)
  !< Return a new (initiliazed) section instance.
  character(*), intent(in), optional  :: section_name !< Option name.
  type(section)                       :: new_section  !< New (initiliazed) section instance.

  if (present(section_name)) new_section%sname = section_name
  endfunction new_section