new_converter Function

public function new_converter(src_units, dst_units) result(action)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: src_units
character(len=*), intent(in) :: dst_units

Return Value type(ConvertUnitsAction)


Called by

proc~~new_converter~~CalledByGraph proc~new_converter new_converter interface~convertunitsaction ConvertUnitsAction interface~convertunitsaction->proc~new_converter

Source Code

   function new_converter(src_units, dst_units) result(action)
      type(ConvertUnitsAction) :: action
      character(*), intent(in) :: src_units, dst_units

      action%src_units = src_units
      action%dst_units = dst_units

   end function new_converter