GEOSX
Public Types | Public Attributes | List of all members
geosx::HypreSolverFuncs Struct Reference

Container for hypre Krylov solver function pointers. More...

#include <HypreUtils.hpp>

Public Types

using SetPrecondFunc = HYPRE_Int(*)(HYPRE_Solver, HYPRE_PtrToParSolverFcn, HYPRE_PtrToParSolverFcn, HYPRE_Solver)
 Alias for set preconditioner function type.
 
using SetupFunc = HYPRE_Int(*)(HYPRE_Solver, HYPRE_ParCSRMatrix, HYPRE_ParVector, HYPRE_ParVector)
 Alias for setup function type.
 
using SolveFunc = HYPRE_Int(*)(HYPRE_Solver, HYPRE_ParCSRMatrix, HYPRE_ParVector, HYPRE_ParVector)
 Alias for solve function type.
 
using GetNumIter = HYPRE_Int(*)(HYPRE_Solver solver, HYPRE_Int *num_iterations)
 Alias for get number of iterations function type.
 
using GetFinalNorm = HYPRE_Int(*)(HYPRE_Solver solver, HYPRE_Real *norm)
 Alias for get final residual norm function type.
 
using DestroyFunc = HYPRE_Int(*)(HYPRE_Solver)
 Alias for destroy function type.
 

Public Attributes

SetPrecondFunc setPrecond {}
 pointer to set preconditioner function
 
SetupFunc setup {}
 pointer to setup function
 
SolveFunc solve {}
 pointer to solve function
 
GetNumIter getNumIter {}
 pointer to get number of iterations function
 
GetFinalNorm getFinalNorm {}
 pointer to get final residual norm function
 
DestroyFunc destroy {}
 pointer to destroy function
 

Detailed Description

Container for hypre Krylov solver function pointers.

Definition at line 93 of file HypreUtils.hpp.


The documentation for this struct was generated from the following file: