t_newton_Root2D_boozer Derived Type

type, private, extends(c_newton_Root2D) :: t_newton_Root2D_boozer


Inherits

type~~t_newton_root2d_boozer~~InheritsGraph type~t_newton_root2d_boozer t_newton_Root2D_boozer type~c_newton_root2d c_newton_Root2D type~t_newton_root2d_boozer->type~c_newton_root2d type~t_fbase t_fBase type~t_newton_root2d_boozer->type~t_fbase AB_fbase_in

Components

Type Visibility Attributes Name Initial
type(t_fBase), public, POINTER :: AB_fbase_in
real(kind=wp), public, POINTER :: A_in(:)
real(kind=wp), public, POINTER :: B_in(:)
real(kind=wp), public :: x0(2)

Type-Bound Procedures

procedure, public :: FR => get_booz_newton_FR

  • private function get_booz_newton_FR(sf, x) result(FF)

    Target function for finding the logical angle for given boozer angles

    Arguments

    Type IntentOptional Attributes Name
    class(t_newton_Root2D_boozer), intent(in) :: sf
    real(kind=wp), intent(in) :: x(2)

    Return Value real(kind=wp), (2)

procedure, public :: dFR => get_booz_newton_dFR

  • private function get_booz_newton_dFR(sf, x) result(dFF)

    Derivative of the target function for finding the logical angle for given boozer angles

    Arguments

    Type IntentOptional Attributes Name
    class(t_newton_Root2D_boozer), intent(in) :: sf
    real(kind=wp), intent(in) :: x(2)

    Return Value real(kind=wp), (2,2)

Source Code

TYPE, EXTENDS(c_newton_Root2D) :: t_newton_Root2D_boozer
  TYPE(t_fbase), POINTER :: AB_fbase_in
  REAL(wp), POINTER :: A_in(:), B_in(:)  ! len: modes
  REAL(wp) :: x0(2)
  CONTAINS
  PROCEDURE :: FR  => get_booz_newton_FR
  PROCEDURE :: dFR => get_booz_newton_dFR
END TYPE t_newton_Root2D_boozer