#include <AMReX_Config.H>
#include <AMReX_Algorithm.H>
#include <AMReX_Array.H>
#include <cmath>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
amrex | |
Functions | |
template<int N, typename T , typename M , typename P > | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | amrex::pcg_solve (T *AMREX_RESTRICT x, T *AMREX_RESTRICT r, M const &mat, P const &precond, int maxiter, T rel_tol) |
Preconditioned conjugate gradient solver. More... | |