File sdc_newton_solve.H

Functions

AMREX_GPU_HOST_DEVICE AMREX_INLINE void f_sdc_jac (const Real dt_m, burn_t &burn_state, Array1D< Real, 1, NumSpec+1 > &f, JacNetArray2D &Jac)
AMREX_GPU_HOST_DEVICE AMREX_INLINE void sdc_newton_solve (const Real dt_m, GpuArray< Real, NUM_STATE > const &U_old, GpuArray< Real, NUM_STATE > &U_new, GpuArray< Real, NUM_STATE > const &C, const int sdc_iteration, Real &err_out, int &ierr)
AMREX_GPU_HOST_DEVICE AMREX_INLINE void sdc_newton_subdivide (const Real dt_m, GpuArray< Real, NUM_STATE > const &U_old, GpuArray< Real, NUM_STATE > &U_new, GpuArray< Real, NUM_STATE > const &C, const int sdc_iteration, Real &err_out, int &ierr)
namespace newton

Variables

constexpr int NEWTON_SUCCESS = 0
constexpr int SINGULAR_MATRIX = -1
constexpr int CONVERGENCE_FAILURE = -2
constexpr int BAD_MASS_FRACTIONS = -3
constexpr Real species_failure_tolerance = 1.e-2_rt