s_spline_interpolator_1d__free Subroutine

private subroutine s_spline_interpolator_1d__free(self)

Type Bound

sll_t_spline_interpolator_1d

Arguments

Type IntentOptional Attributes Name
class(sll_t_spline_interpolator_1d), intent(inout) :: self

1D spline interpolator


Source Code

  subroutine s_spline_interpolator_1d__free( self )

    class(sll_t_spline_interpolator_1d), intent(inout) :: self

    nullify   ( self % bspl )
    deallocate( self % tau  )

    if (allocated( self % matrix )) then
      call self % matrix % free()
      deallocate( self % matrix )
    end if

  end subroutine s_spline_interpolator_1d__free