Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
NodeJacobiPreconditioner.hpp File Reference

Diagonal preconditioner of the PCG Poisson solver. More...

Include dependency graph for NodeJacobiPreconditioner.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shammodels::basegodunov::modules::NodeJacobiPreconditioner< Tvec, TgridVec >
 Compute y <- M^-1 x, \( M \) being the diagonal of the matrix of NodeSpMVPoisson3D as given by jacobi_weight_7pt. More...

Namespaces

namespace  shammodels
 namespace for models
namespace  shammodels::basegodunov
 namespace for the basegodunov model
namespace  shammodels::basegodunov::modules
 namespace for the basegodunov model modules

Macros

#define NODE_EDGES(X_RO, X_RW)

Detailed Description

Diagonal preconditioner of the PCG Poisson solver.

Author
Léodasce Sewanou (leoda.nosp@m.sce..nosp@m.sewan.nosp@m.ou@e.nosp@m.ns-ly.nosp@m.on.f.nosp@m.r)
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Adapted from the PhD work of Léodasce Sewanou.

Definition in file NodeJacobiPreconditioner.hpp.

Macro Definition Documentation

◆ NODE_EDGES

#define NODE_EDGES ( X_RO,
X_RW )
Value:
/* ------------------- inputs ------------------- */ \
X_RO(CellGraphEdge, cell_neigh_graph) \
X_RO(shamrock::solvergraph::IFieldSpan<Tscal>, spans_block_cell_sizes) \
\
/* ------------------- outputs ------------------- */ \
Interface for a solver graph edge representing a field as spans.

Definition at line 28 of file NodeJacobiPreconditioner.hpp.