OpenImpala
Image-based parallel transport property solver
Loading...
Searching...
No Matches
HypreStructSolver.H File Reference

Base class providing shared HYPRE structured-grid solver infrastructure. More...

#include "Tortuosity.H"
#include <AMReX_Array.H>
#include <AMReX_BoxArray.H>
#include <AMReX_DistributionMapping.H>
#include <AMReX_Geometry.H>
#include <AMReX_REAL.H>
#include <HYPRE.h>
#include <HYPRE_struct_ls.h>
#include <limits>
Include dependency graph for HypreStructSolver.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenImpala::HypreStructSolver
 Base class for HYPRE structured-grid solvers. More...

Namespaces

namespace  OpenImpala

Enumerations

enum class  OpenImpala::PrecondType { OpenImpala::SMG , OpenImpala::PFMG }
 Preconditioner type for HYPRE Krylov solvers. More...

Detailed Description

Base class providing shared HYPRE structured-grid solver infrastructure.

Encapsulates the HYPRE lifecycle (grid, stencil, matrix, vectors), solver dispatch (FlexGMRES, PCG with SMG/PFMG preconditioners), and cleanup logic that is common to all structured-grid physics solvers in OpenImpala.

Derived classes (e.g. TortuosityHypre, EffectiveDiffusivityHypre) inherit this base and provide their own matrix fill kernels, boundary conditions, and post-processing.