iv_state_vector_t Derived Type

type, public :: iv_state_vector_t


Components

Type Visibility Attributes Name Initial
type(state_vector_t), public, pointer :: base => null()
class(iv_comp_ptr_t), public, allocatable :: components(:)
logical, public :: is_initialised = .false.
integer, public :: num_components
integer, public :: stride
complex(kind=dp), public, allocatable :: x0(:)

Type-Bound Procedures

procedure, public :: initialise_components

procedure, public :: assemble_iv_array

  • private subroutine assemble_iv_array(self, N, nodes)

    Arguments

    Type IntentOptional Attributes Name
    class(iv_state_vector_t), intent(inout) :: self
    integer, intent(in) :: N

    Number of grid points

    real(kind=dp), intent(in) :: nodes(N)

    Array of grid points

procedure, public :: disassemble_iv_array

  • private subroutine disassemble_iv_array(self, N)

    Gather each component's c1 and c2 coefficients from the block-format array x0. This is the inverse of assemble_iv_array.

    Arguments

    Type IntentOptional Attributes Name
    class(iv_state_vector_t), intent(inout) :: self
    integer, intent(in) :: N Read more…

procedure, public :: reassemble_from_block