my_solver_type Derived Type

type, public, extends(nlesolver_type) :: my_solver_type

the solver class, which contains an instance of the mission


Inherits

type~~my_solver_type~~InheritsGraph type~my_solver_type my_solver_type nlesolver_type nlesolver_type type~my_solver_type->nlesolver_type type~mission_type mission_type type~my_solver_type->type~mission_type mission geopotential_model_pines geopotential_model_pines type~mission_type->geopotential_model_pines grav jpl_ephemeris jpl_ephemeris type~mission_type->jpl_ephemeris eph numdiff_type numdiff_type type~mission_type->numdiff_type type~patch_point patch_point type~mission_type->type~patch_point periapsis, quarter, apoapsis type~segment segment type~mission_type->type~segment segs type~segment->geopotential_model_pines grav type~segment->jpl_ephemeris eph ddeabm_class ddeabm_class type~segment->ddeabm_class type~segment_data segment_data type~segment->type~segment_data data, cached_data type~trajectory trajectory type~segment->type~trajectory traj_inertial, traj_rotating, traj_se_rotating

Components

Type Visibility Attributes Name Initial
type(mission_type), public :: mission

the Halo mission


Type-Bound Procedures

procedure, public :: init => initialize_the_solver

  • public subroutine initialize_the_solver(me, config_file_name, x)

    Initialize the mission.

    Read more…

    Arguments

    Type IntentOptional Attributes Name
    class(my_solver_type), intent(inout) :: me
    character(len=*), intent(in) :: config_file_name

    the config file to read

    real(kind=wp), intent(out), optional, dimension(:), allocatable :: x

    initial guess

procedure, public :: read_config_file

  • public subroutine read_config_file(me, filename)

    Read the config file that defines the problem to be solved and set all the global variables.

    Read more…

    Arguments

    Type IntentOptional Attributes Name
    class(my_solver_type), intent(inout) :: me
    character(len=*), intent(in) :: filename

    the JSON config file to read

Source Code

    type,extends(nlesolver_type) :: my_solver_type

        !! the solver class, which contains
        !! an instance of the mission

        type(mission_type) :: mission !! the Halo mission

    contains

        procedure,public :: init => initialize_the_solver

        procedure :: read_config_file

    end type my_solver_type