time_intg_t Derived Type

type, public :: time_intg_t


Inherits

type~~time_intg_t~~InheritsGraph type~time_intg_t time_intg_t type~allocator_t allocator_t type~time_intg_t->type~allocator_t allocator type~base_backend_t base_backend_t type~time_intg_t->type~base_backend_t backend type~flist_t flist_t type~time_intg_t->type~flist_t olds, curr, deriv type~field_t field_t type~allocator_t->type~field_t first type~mesh_t mesh_t type~allocator_t->type~mesh_t mesh type~base_backend_t->type~allocator_t allocator type~base_backend_t->type~mesh_t mesh type~poisson_fft_t poisson_fft_t type~base_backend_t->type~poisson_fft_t poisson_fft type~flist_t->type~field_t ptr type~field_t->type~field_t next type~geo_t geo_t type~mesh_t->type~geo_t geo type~grid_t grid_t type~mesh_t->type~grid_t grid type~par_t par_t type~mesh_t->type~par_t par

Inherited by

type~~time_intg_t~~InheritedByGraph type~time_intg_t time_intg_t type~solver_t solver_t type~solver_t->type~time_intg_t time_integrator type~base_case_t base_case_t type~base_case_t->type~solver_t solver type~case_channel_t case_channel_t type~case_channel_t->type~base_case_t type~case_generic_t case_generic_t type~case_generic_t->type~base_case_t type~case_tgv_t case_tgv_t type~case_tgv_t->type~base_case_t

Components

Type Visibility Attributes Name Initial
integer, public :: method
integer, public :: istep
integer, public :: istage
integer, public :: order
integer, public :: nstep
integer, public :: nstage
integer, public :: nvars
integer, public :: nolds
real(kind=dp), public :: coeffs(4,4)
real(kind=dp), public :: rk_b(4,4)
real(kind=dp), public :: rk_a(3,3,4)
character(len=3), public :: sname
type(flist_t), public, allocatable :: olds(:,:)
type(flist_t), public, allocatable :: curr(:)
type(flist_t), public, allocatable :: deriv(:)
class(base_backend_t), public, pointer :: backend
class(allocator_t), public, pointer :: allocator
procedure(stepper_func), public, pointer :: stepper => null()

Constructor

public interface time_intg_t

  • public function init(backend, allocator, method, nvars)

    Arguments

    Type IntentOptional Attributes Name
    class(base_backend_t), pointer :: backend
    class(allocator_t), pointer :: allocator
    character(len=3), intent(in) :: method
    integer, intent(in), optional :: nvars

    Return Value type(time_intg_t)


Type-Bound Procedures

procedure, public :: finalize

  • public subroutine finalize(self)

    Arguments

    Type IntentOptional Attributes Name
    class(time_intg_t), intent(inout) :: self

procedure, public :: step

  • public subroutine step(self, u, v, w, du, dv, dw, dt)

    Arguments

    Type IntentOptional Attributes Name
    class(time_intg_t), intent(inout) :: self
    class(field_t), intent(inout), target :: u
    class(field_t), intent(inout), target :: v
    class(field_t), intent(inout), target :: w
    class(field_t), intent(in), target :: du
    class(field_t), intent(in), target :: dv
    class(field_t), intent(in), target :: dw
    real(kind=dp), intent(in) :: dt

procedure, public :: runge_kutta

  • private subroutine runge_kutta(self, dt)

    Arguments

    Type IntentOptional Attributes Name
    class(time_intg_t), intent(inout) :: self
    real(kind=dp), intent(in) :: dt

procedure, public :: adams_bashforth

  • private subroutine adams_bashforth(self, dt)

    Arguments

    Type IntentOptional Attributes Name
    class(time_intg_t), intent(inout) :: self
    real(kind=dp), intent(in) :: dt