Frees all memory (host and device) associated with an instance of the Lagrange_t class
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Lagrange_t), | intent(inout) | :: | this | Lagrange_t class instance |
subroutine Free_Lagrange_t(this)
!! Frees all memory (host and device) associated with an instance of the Lagrange_t class
implicit none
class(Lagrange_t),intent(inout) :: this
!! Lagrange_t class instance
deallocate(this%controlPoints)
deallocate(this%targetPoints)
deallocate(this%bWeights)
deallocate(this%qWeights)
deallocate(this%iMatrix)
deallocate(this%dMatrix)
deallocate(this%dgMatrix)
deallocate(this%bMatrix)
endsubroutine Free_Lagrange_t