Afivo  0.3
Private Member Functions | List of all members
m_af_advance::subr_implicit Interface Reference

Interface for a implicit solver for integrating stiff terms over time. More...

Private Member Functions

subroutine subr_implicit (tree, dt_stiff, time, n_prev, s_prev, w_prev, s_out)
 

Detailed Description

Interface for a implicit solver for integrating stiff terms over time.

This method should solve an equation of the form

F(y_out, dt_stiff) = sum(w_prev * y_prev),

where dt_stiff is the time step.

Definition at line 94 of file m_af_advance.f90.

Constructor & Destructor Documentation

◆ subr_implicit()

subroutine m_af_advance::subr_implicit::subr_implicit ( type(af_t), intent(inout)  tree,
real(dp), intent(in)  dt_stiff,
real(dp), intent(in)  time,
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 
)
private
Parameters
[in]dt_stiffTime step for stiff terms
[in]timeCurrent time
[in]n_prevNumber of previous states
[in]s_prevPrevious states
[in]w_prevWeights of previous states
[in]s_outOutput state

Definition at line 94 of file m_af_advance.f90.