Free_DGModel1D_t Subroutine

public subroutine Free_DGModel1D_t(this)

Arguments

TypeIntentOptionalAttributesName
class(DGModel1D_t), intent(inout) :: this

Contents

Source Code


Source Code

  subroutine Free_DGModel1D_t(this)
    implicit none
    class(DGModel1D_t),intent(inout) :: this

    call this%solution%DissociateGeometry()
    call this%solutionGradient%DissociateGeometry()
    call this%flux%DissociateGeometry()
    call this%fluxDivergence%DissociateGeometry()

    call this%solution%Free()
    call this%workSol%Free()
    call this%dSdt%Free()
    call this%solutionGradient%Free()
    call this%flux%Free()
    call this%source%Free()
    call this%fluxDivergence%Free()

  endsubroutine Free_DGModel1D_t