|
| subroutine | subr_flux_upwind (nf, n_var, flux_dim, u, flux, cfl_sum, n_other_dt, other_dt, box, line_ix, s_deriv) |
| |
Definition at line 39 of file m_af_flux_schemes.f90.
◆ subr_flux_upwind()
| subroutine m_af_flux_schemes::subr_flux_upwind::subr_flux_upwind |
( |
integer, intent(in) |
nf, |
|
|
integer, intent(in) |
n_var, |
|
|
integer, intent(in) |
flux_dim, |
|
|
real(dp), dimension(nf, n_var), intent(in) |
u, |
|
|
real(dp), dimension(nf, n_var), intent(out) |
flux, |
|
|
real(dp), dimension(nf-1), intent(out) |
cfl_sum, |
|
|
integer, intent(in) |
n_other_dt, |
|
|
real(dp), dimension(n_other_dt), intent(inout) |
other_dt, |
|
|
type(box_t), intent(in) |
box, |
|
|
integer, dimension(ndim-1), intent(in) |
line_ix, |
|
|
integer, intent(in) |
s_deriv |
|
) |
| |
- Parameters
-
| [in] | nf | Number of cell faces |
| [in] | n_var | Number of variables |
| [in] | flux_dim | In which dimension fluxes are computed |
| [in] | u | Face values |
| [out] | flux | Computed fluxes |
| [out] | cfl_sum | Terms per cell-center to be added to CFL sum, see flux_upwind_box |
| [in] | n_other_dt | Number of non-cfl time step restrictions |
| [in,out] | other_dt | Non-cfl time step restrictions |
| [in] | box | Current box |
| [in] | line_ix | Index of line for dim /= flux_dim |
| [in] | s_deriv | State to compute derivatives from |
Definition at line 39 of file m_af_flux_schemes.f90.