core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
graph_amg.hpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <map>
#include <vector>
#include "peclet/core/common/types.hpp"

Go to the source code of this file.

Classes

struct  peclet::core::solver::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...
 
struct  peclet::core::solver::AmgParams
 
class  peclet::core::solver::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  peclet::core::solver::CgResult
 PCG on A x = b preconditioned by an already-built GraphAMG (one V-cycle per iteration). More...
 

Namespaces

namespace  peclet
 
namespace  peclet::core
 
namespace  peclet::core::solver
 

Functions

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)