|
| bool | amrex::composite::ij_entry_slots (HYPRE_IJMatrix A, Gpu::DeviceVector< HYPRE_BigInt > const &rows, Gpu::DeviceVector< HYPRE_BigInt > const &cols, MPI_Comm comm, EntryGather &g) |
| | The entries of the assembled hypre IJ matrix A (its diag values first, then its offd values) that the triplets (rows, cols, all in this rank's rows) were summed into, as an EntryGather for in-place updates with ij_update_values. Collective over comm: returns false on all ranks (and g empty) if hypre dropped an entry on any rank.
|
| void | amrex::composite::ij_update_values (HYPRE_IJMatrix A, EntryGather const &g, Gpu::DeviceVector< Real > const &vals) |
| ReusedSolve | amrex::composite::ij_solve_reused (HypreIJIface &ij, bool reused, bool throw_exception, Real reltol, Real abstol, int maxiter, MPI_Comm comm, int verbose, std::string const &prefix, std::function< bool(Real)> const &converged, std::function< void()> const &restore_x) |
| | Solve with ij. With a reused setup (reused: kept from an earlier matrix), a solve that blows up (a hypre error on any rank, or a non-finite residual) or does not converge (converged, of the final relative residual norm) is retried once with the setup redone, from the current solution or, after a blow-up, from the initial guess (restore_x reloads it); the caller's failure policy (throw_exception) applies to the retry. Collective over comm.
|
| ReusedSolve | amrex::composite::algmg_solve_kept (AlgMG< Real > &mg, SpMatrix< Real > &mat, bool kept, bool throw_exception, AlgVector< Real > &x, AlgVector< Real > const &b, Real bnorm, MPI_Comm comm, int verbose, std::string const &prefix, std::function< bool(Real)> const &converged, std::function< void()> const &restore_x) |
| | Solve with mg, whose tolerances and iteration limit are set. With a kept hierarchy (kept: from an earlier matrix), a solve that blows up or does not converge (converged, of the residual norm relative to bnorm) is retried once with the hierarchy rebuilt for mat, from the current solution or, after a blow-up, from the initial guess (restore_x reloads it); the caller's failure policy (throw_exception) applies to the retry. Collective over comm.
|