Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
ab_time_scheme::ab_time_scheme_t Type Reference

Explicit Adam-Bashforth scheme for time integration. More...

Inheritance diagram for ab_time_scheme::ab_time_scheme_t:
Collaboration diagram for ab_time_scheme::ab_time_scheme_t:

Static Public Member Functions

procedure, nopass compute_coeffs (coeffs, dt, order)
 Compute the scheme coefficients.
 

Detailed Description

For a contant time-step this corresponds to the following schemes for order 1 to 3:

  • Order 1: \( u^{n+1} = u^n \)
  • Order 2: \( u^{n+1} = 2u^n - u^{n-1} \), linear extrapolation

Definition at line 76 of file ab_time_scheme.f90.

Member Function/Subroutine Documentation

◆ compute_coeffs()

procedure, nopass ab_time_scheme::ab_time_scheme_t::compute_coeffs ( real(kind=rp), dimension(4), intent(out coeffs,
real(kind=rp), dimension(10), intent(in dt,
integer, intent(in order 
)
staticvirtual
Parameters
tTimestep values, first element is the current timestep.
orderOrder the scheme.

Implements time_scheme::time_scheme_t.

Definition at line 79 of file ab_time_scheme.f90.


The documentation for this type was generated from the following file: