eclipse_opt_data Derived Type

type :: eclipse_opt_data

the data the sqpopt functions need


Inherits

type~~eclipse_opt_data~~InheritsGraph type~eclipse_opt_data eclipse_opt_data type~eclipse_row eclipse_row type~eclipse_opt_data->type~eclipse_row rows type~mission_type mission_type type~eclipse_opt_data->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~moon_pa_frame moon_pa_frame type~mission_type->type~moon_pa_frame moon_pa 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 type~segment->type~moon_pa_frame moon_pa 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

Inherited by

type~~eclipse_opt_data~~InheritedByGraph type~eclipse_opt_data eclipse_opt_data type~eclipse_newton_type eclipse_newton_type type~eclipse_newton_type->type~eclipse_opt_data d

Components

Type Visibility Attributes Name Initial
type(mission_type), public, pointer :: mission => null()
real(kind=wp), public, dimension(:), allocatable :: x0

the solution before the optimization (scaled)

real(kind=wp), public, dimension(:), allocatable :: r

the optimization's variables are x/r (see eclipse_opt_epoch_scale)

type(eclipse_row), public, dimension(:), allocatable :: rows
integer, public :: m_halo = 0

number of halo's constraints

integer, public, dimension(:), allocatable :: icol

the columns of halo's Jacobian nonzeros

integer, public, dimension(:), allocatable :: irow

the rows of halo's Jacobian nonzeros

real(kind=wp), public, dimension(:), allocatable :: w

weights of halo's constraint rows in the optimization (see eclipse_opt_equilibrate; 1 otherwise)

integer, public :: nnz_halo = 0

number of nonzeros of halo's Jacobian

logical, public :: single = .false.

one eclipse row for all the segments: the KS aggregate of the segments' rows (see eclipse_opt_single_row)

integer, public, dimension(:), allocatable :: ucol

with single: the row's columns (the union of the segments')

integer, public, dimension(:), allocatable :: upos

with single: the index in ucol of each segment row's column


Source Code

    type :: eclipse_opt_data
        !! the data the sqpopt functions need
        type(mission_type),pointer :: mission => null()
        real(wp),dimension(:),allocatable :: x0  !! the solution before the optimization (scaled)
        real(wp),dimension(:),allocatable :: r   !! the optimization's variables are `x/r` (see `eclipse_opt_epoch_scale`)
        type(eclipse_row),dimension(:),allocatable :: rows
        integer :: m_halo = 0    !! number of halo's constraints
        integer,dimension(:),allocatable :: icol  !! the columns of halo's Jacobian nonzeros
        integer,dimension(:),allocatable :: irow  !! the rows of halo's Jacobian nonzeros
        real(wp),dimension(:),allocatable :: w    !! weights of halo's constraint rows in the optimization
                                                  !! (see `eclipse_opt_equilibrate`; 1 otherwise)
        integer :: nnz_halo = 0  !! number of nonzeros of halo's Jacobian
        logical :: single = .false. !! one eclipse row for all the segments: the KS aggregate of the
                                    !! segments' rows (see `eclipse_opt_single_row`)
        integer,dimension(:),allocatable :: ucol  !! with `single`: the row's columns (the union of the segments')
        integer,dimension(:),allocatable :: upos  !! with `single`: the index in `ucol` of each segment row's column
    end type eclipse_opt_data