setup_special_splines Subroutine

private subroutine setup_special_splines(self)

Type Bound

deq_type

Arguments

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

Contents

Source Code


Source Code

  subroutine setup_special_splines(self)
    use splines, only: new_spline, new_periodic_spline
    use constants, only: twopi
    implicit none
    class(deq_type), intent(in out) :: self
    self%rbound_spl = new_periodic_spline(self%thetab, self%r_bound, twopi, &
         drop_last_point = .true.)
    self%rho_spl = new_spline(self%psi_mid, self%rho_mid)
  end subroutine setup_special_splines