Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
AMReX_PCGSolver.H File Reference
#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

namespace  amrex
 

Functions

template<int N, typename T , typename M , typename P >
__host__ __device__ int amrex::pcg_solve (T *restrict x, T *restrict r, M const &mat, P const &precond, int maxiter, T rel_tol)
 Preconditioned conjugate gradient solver.