afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
Loading...
Searching...
No Matches
Functions/Subroutines
m_fluid Module Reference

Fluid model module. More...

Functions/Subroutines

subroutine, public forward_euler (tree, dt, dt_stiff, dt_lim, time, s_deriv, n_prev, s_prev, w_prev, s_out, i_step, n_steps)
 Advance fluid model using forward Euler step. If the equation is written as y' = f(y), the result is: y(s_out) = y(s_prev) + f(y(s_dt)), where the s_... refer to temporal states.
 

Detailed Description

Fluid model module.

Function/Subroutine Documentation

◆ forward_euler()

subroutine, public m_fluid::forward_euler ( type(af_t), intent(inout) tree,
real(dp), intent(in) dt,
real(dp), intent(in) dt_stiff,
real(dp), intent(inout) dt_lim,
real(dp), intent(in) time,
integer, intent(in) s_deriv,
integer, intent(in) n_prev,
integer, dimension(n_prev), intent(in) s_prev,
real(dp), dimension(n_prev), intent(in) w_prev,
integer, intent(in) s_out,
integer, intent(in) i_step,
integer, intent(in) n_steps )

Advance fluid model using forward Euler step. If the equation is written as y' = f(y), the result is: y(s_out) = y(s_prev) + f(y(s_dt)), where the s_... refer to temporal states.

Parameters
[in]dtTime step
[in]dt_stiffTime step for stiff terms (IMEX)
[in,out]dt_limComputed time step limit
[in]timeCurrent time
[in]s_derivState to compute derivatives from
[in]n_prevNumber of previous states
[in]s_prevPrevious states
[in]w_prevWeights of previous states
[in]s_outOutput state
[in]i_stepStep of the integrator
[in]n_stepsTotal number of steps

Definition at line 21 of file m_fluid.f90.

Here is the call graph for this function: