subroutine setup_splines_eqfile(self)
use splines, only: new_spline
class(abstract_eqfile_geo_type), intent(in out) :: self
self%diam_spl = new_spline(self%eqpsi, self%diam)
self%rcenter_spl = new_spline(self%eqpsi, self%rc)
self%btori_spl = new_spline(self%psi_bar, self%fp)
self%qsf_spl = new_spline(self%psi_bar, self%qsf)
self%pressure_spl = new_spline(self%psi_bar, self%pressure)
self%beta_spl = new_spline(self%psi_bar, self%beta)
call self%setup_special_splines
end subroutine setup_splines_eqfile