![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Jacobi preconditioned conjugate gradient solver of the Poisson equation for the self-gravity. More...
#include "shambase/aliases_int.hpp"#include "shambackends/vec.hpp"#include "shammodels/ramses/modules/CGInit.hpp"#include "shammodels/ramses/modules/NodeJacobiPreconditioner.hpp"#include "shammodels/ramses/modules/NodeSpMVPoisson3D.hpp"#include "shammodels/ramses/modules/ResidualDot.hpp"#include "shammodels/ramses/solvegraph/OrientedAMRGraphEdge.hpp"#include "shamrock/solvergraph/DDSharedBuffers.hpp"#include "shamrock/solvergraph/ExchangeGhostField.hpp"#include "shamrock/solvergraph/ExtractGhostField.hpp"#include "shamrock/solvergraph/Field.hpp"#include "shamrock/solvergraph/IFieldRefs.hpp"#include "shamrock/solvergraph/IFieldSpan.hpp"#include "shamrock/solvergraph/Indexes.hpp"#include "shamrock/solvergraph/NodeAXPY.hpp"#include "shamrock/solvergraph/NodeAYPX.hpp"#include "shamrock/solvergraph/NodeHadamardProd.hpp"#include "shamrock/solvergraph/NodeSumReduction.hpp"#include "shamrock/solvergraph/PatchDataFieldDDShared.hpp"#include "shamrock/solvergraph/RankGetter.hpp"#include "shamrock/solvergraph/ReplaceGhostField.hpp"#include "shamrock/solvergraph/ScalarEdge.hpp"#include "shamsolvergraph/edge/IDataEdge.hpp"#include "shamsolvergraph/node/INode.hpp"#include <memory>Go to the source code of this file.
Classes | |
| class | shammodels::basegodunov::modules::NodeCGLoop< Tvec, TgridVec > |
| Solve \( \Delta \phi = 4 \pi G (\rho - \bar{\rho}) \) with the Jacobi preconditioned conjugate gradient method, starting from the current content of spans_phi. More... | |
| struct | shammodels::basegodunov::modules::NodeCGLoop< Tvec, TgridVec >::Edges |
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) |
Jacobi preconditioned conjugate gradient solver of the Poisson equation for the self-gravity.
Adapted from the PhD work of Léodasce Sewanou.
Definition in file NodeCGLoop.hpp.
| #define NODE_EDGES | ( | X_RO, | |
| X_RW ) |
Definition at line 48 of file NodeCGLoop.hpp.