GEOSX
Public Types | Public Attributes | List of all members
geos::HyprePrecWrapper Struct Reference

Container for hypre preconditioner function pointers. More...

#include <HypreUtils.hpp>

Public Types

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 apply function type.
 
using DestroyFunc = HYPRE_Int(*)(HYPRE_Solver)
 Alias for destroy function type.
 

Public Attributes

HYPRE_Solver ptr {}
 pointer to preconditioner
 
SetupFunc setup {}
 pointer to setup function
 
SolveFunc solve {}
 pointer to apply function
 
DestroyFunc destroy {}
 pointer to destroy function
 

Detailed Description

Container for hypre preconditioner function pointers.

Note
: This needs to be here rather than in HyprePreconditioner.cpp, because HypreSolver needs to access apply member.

Definition at line 52 of file HypreUtils.hpp.


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