Go to the source code of this file.
|
| module | euler_res_cpu |
| | This implements CPU-based residual calculations for the Euler equations. It handles the time advancement of primitive variables using Runge-Kutta methods and evaluates the right-hand side terms of the Euler equations including artificial viscosity.
|
| |
|
| subroutine | euler_res_cpu::advance_primitive_variables_cpu (rho_field, m_x, m_y, m_z, e, p, u, v, w, ax, coef, gs, h, effective_visc, rk_scheme, dt) |
| | Advances the primitive variables (density, momentum, energy) in time using a Runge-Kutta scheme.
|
| |
| subroutine | euler_res_cpu::evaluate_rhs_cpu (rhs_rho_field, rhs_m_x, rhs_m_y, rhs_m_z, rhs_e, rho_field, m_x, m_y, m_z, e, p, u, v, w, ax, coef, gs, h, effective_visc) |
| | Evaluates the right-hand side of the Euler equations Computes fluxes, divergence terms, and artificial viscosity.
|
| |