euler_step Subroutine

private subroutine euler_step(state)

Advance the solution by one time step using the explicit Euler scheme.

First-order, one-stage method. Stage arithmetic lives in stepper_kernels::kernel_euler; this adapter only remaps the 1D state's flat pointers and supplies the rhs callback. No scratch arrays required. Also computes the global L2 residual norm for convergence monitoring.

Arguments

Type IntentOptional Attributes Name
type(solver_state_t), intent(inout), target :: state