core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::solver Namespace Reference

Classes

struct  AmgParams
 
struct  CgResult
 PCG on A x = b preconditioned by an already-built GraphAMG (one V-cycle per iteration). More...
 
class  GraphAMG
 Smoothed-aggregation AMG hierarchy usable as z = M⁻¹ r (one symmetric V-cycle from a zero initial guess) — the CG preconditioner that makes the iteration count mesh-independent. More...
 
struct  HostCsrOp
 A general assembled sparse operator in CSR form: the diagonal is stored separately and the CSR (start/nbr/coef) holds only the OFF-diagonal entries. More...
 

Functions

CgResult amgPcg (const HostCsrOp &A, std::vector< double > &x, const std::vector< double > &b, const GraphAMG &M, int maxIters=500, double tol=1e-8)
 

Function Documentation

◆ amgPcg()

CgResult peclet::core::solver::amgPcg ( const HostCsrOp A,
std::vector< double > &  x,
const std::vector< double > &  b,
const GraphAMG M,
int  maxIters = 500,
double  tol = 1e-8 
)
inline