|
| CS_F_HOST | runge_kutta_integrator () |
| | Default constructor method. More...
|
| |
| CS_F_HOST | runge_kutta_integrator (cs_runge_kutta_scheme_t scheme, const char *name, const cs_real_t *dt, int dim, cs_lnum_t n_elts) |
| | Constructor method with input arguments. More...
|
| |
| CS_F_HOST | ~runge_kutta_integrator () |
| | Destructor method. More...
|
| |
| CS_F_HOST void | init_state (cs_dispatch_context &ctx, const cs_real_t *rho, const cs_real_t *vol, cs_real_t *pvara) |
| | IDefault constructor method. More...
|
| |
| CS_F_HOST void | solve_stage (cs_dispatch_context &ctx, cs_real_t *pvar_stage) |
| | Perform one Runge-Kutta staging. More...
|
| |
| CS_F_HOST void | stage_projection_rhs (cs_dispatch_context &ctx, cs_real_t *grad_dp) |
| | Perform one Runge-Kutta staging for the potential in the NS system. More...
|
| |
| CS_F_HOST void | stage_set_initial_rhs (cs_dispatch_context &ctx, cs_real_t *rhs_pvar) |
| | Set initial rhs per stage for Runge-Kutta integrator. Align with legacy equations' building sequence. 1) Collect initial rhs done in cs_solve_navier_stokes/cs_solve_equation_scalar 2) Complete rhs with adding explicit part of the convection/diffusion balance. More...
|
| |
| CS_F_HOST_DEVICE bool | is_active () const |
| | Check if integrator is active. More...
|
| |
| CS_F_HOST_DEVICE bool | is_staging () const |
| | Check if integrator is still in the staging process. More...
|
| |
| CS_F_HOST_DEVICE cs_runge_kutta_scheme_t | scheme () const |
| | Get scheme used by integrator. More...
|
| |
| CS_F_HOST_DEVICE cs_lnum_t | n_elts () const |
| | Get number of elements used for resolution. More...
|
| |
| CS_F_HOST_DEVICE int | i_stage () const |
| | Get current stage of RK resolution. More...
|
| |
| CS_F_HOST_DEVICE int | stride () const |
| | Get solved variable stride. More...
|
| |
| CS_F_HOST cs_real_t * | get_rhs_stage_sub_array (int stage_id) |
| | Get raw pointer to rhs of a given stage. More...
|
| |
| CS_F_HOST cs_span< cs_real_t > | get_stage_coeff_a (int i) |
| | Get "a" coefficients for a given stage. More...
|
| |
Generic Runge-Kutta integrator class.