|
Afivo 0.3
|
Interface for a implicit solver for integrating stiff terms over time. More...
Public Member Functions | |
| subroutine | subr_implicit (tree, dt_stiff, time, n_prev, s_prev, w_prev, s_out) |
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 97 of file m_af_advance.f90.
| 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 | ||
| ) |
| [in] | dt_stiff | Time step for stiff terms |
| [in] | time | Current time |
| [in] | n_prev | Number of previous states |
| [in] | s_prev | Previous states |
| [in] | w_prev | Weights of previous states |
| [in] | s_out | Output state |
Definition at line 97 of file m_af_advance.f90.