destroy_results Subroutine

public subroutine destroy_results(this)

Arguments

Type IntentOptional AttributesName
type(pf_results_t), intent(inout) :: this

Contents

Source Code


Source Code

  subroutine destroy_results(this)
    type(pf_results_t), intent(inout) :: this

    if(allocated(this%errors))  deallocate(this%errors)
    if(allocated(this%residuals))  deallocate(this%residuals)
  end subroutine destroy_results