advance Interface

interface
public module subroutine advance(self, dy, y, yn, dbgout)

Arguments

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

Instance of the type

real(kind=GP), intent(in), dimension(self%ndim) :: dy

Right hand side of differential equation at time-step t

real(kind=GP), intent(in), dimension(self%ndim) :: y

Variable at time point t, on output advanced to t+1

real(kind=GP), intent(out), dimension(self%ndim) :: yn

Variable advanced to time point t+1

integer, intent(in), optional :: dbgout

debug output level, default: 0

Description

Advances variable from t -> t+1