Residuals in the scalar equation (CPU version).
|
| subroutine | scalar_residual_cpu_compute (ax, s, s_res, f_xh, c_xh, msh, xh, lambda, rho_cp, bd, dt, n) |
| | Compute the residual.
|
◆ scalar_residual_cpu_compute()
| subroutine scalar_residual_cpu::scalar_residual_cpu_compute |
( |
class(ax_t), intent(in) | ax, |
|
|
type(field_t), intent(inout) | s, |
|
|
type(field_t), intent(inout) | s_res, |
|
|
type(field_t), intent(in) | f_xh, |
|
|
type(coef_t), intent(inout) | c_xh, |
|
|
type(mesh_t), intent(inout) | msh, |
|
|
type(space_t), intent(inout) | xh, |
|
|
type(field_t), intent(in) | lambda, |
|
|
type(field_t), intent(in) | rho_cp, |
|
|
real(kind=rp), intent(in) | bd, |
|
|
real(kind=rp), intent(in) | dt, |
|
|
integer, intent(in) | n ) |
- Parameters
-
| Ax | The Helmholtz operator. |
| s | The values of the scalar. |
| s_res | The values of the scalar residual. |
| f_xH | The right hand side. |
| c_xH | The SEM coefficients. |
| msh | The mesh. |
| Xh | The SEM function space. |
| lambda | The thermal conductivity. |
| rho_cp | The density multiplied by the specific heat capacity. |
| bd | The coefficeints from the BDF differencing scheme. |
| dt | The timestep. |
| n | The total number of degrees of freedom. |
Definition at line 40 of file scalar_residual_cpu.f90.