1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Multigrid + Deep Learning Error Smoothers
//!
//! This module implements learned smoothers for multigrid methods, replacing
//! or augmenting classical smoothers (Jacobi, Gauss-Seidel) with trainable
//! parametric or neural-network-based error smoothers.
//!
//! # Smoother Types
//!
//! | Type | Description |
//! |------|-------------|
//! | [`LinearSmoother`] | Parametric W·r update trained via gradient descent |
//! | [`MLPSmoother`] | Per-node 2-layer MLP with shared weights (GNN-like) |
//!
//! # Integration
//!
//! [`HybridMultigridSolver`] wraps a 2-level multigrid V-cycle and replaces
//! the fine-level smoother with a learned smoother, falling back to classical
//! Jacobi when divergence is detected.
//!
//! # References
//!
//! - Katrutsa, Daulbaev, Oseledets (2020). "Deep multigrid."
//! - Greenfeld, Galun, Kimmel, Yavneh, Basri (2019). "Learning to optimize multigrid."
/// Types and configuration for learned smoothers.
/// Parametric linear smoother trained via gradient descent.
/// Per-node MLP smoother with shared weights.
/// Hybrid multigrid solver with learned smoother integration.
pub use HybridMultigridSolver;
pub use LinearSmoother;
pub use MLPSmoother;
pub use ;