open_scratch_file Subroutine

private subroutine open_scratch_file(self)

Arguments

TypeIntentOptionalAttributesName
class(xml_writer_appended), intent(inout) :: self

Contents

Source Code


Source Code

  subroutine open_scratch_file(self)
  !< Open scratch file.
  class(xml_writer_appended), intent(inout) :: self  !< Writer.

  open(newunit=self%scratch, &
       form='UNFORMATTED',   &
       access='STREAM',      &
       action='READWRITE',   &
       status='SCRATCH',     &
       iostat=self%error)
  endsubroutine open_scratch_file