19 #ifndef GEOSX_LINEARALGEBRA_INTERFACES_HYPREUTILS_HPP_ 20 #define GEOSX_LINEARALGEBRA_INTERFACES_HYPREUTILS_HPP_ 24 #include <HYPRE_krylov.h> 25 #include <HYPRE_parcsr_ls.h> 37 return LvArray::integerConversion< HYPRE_Int >( index );
47 return LvArray::integerConversion< HYPRE_BigInt >( index );
57 return reinterpret_cast< HYPRE_BigInt *
>(index);
67 return reinterpret_cast< HYPRE_BigInt
const *
>(index);
97 HYPRE_PtrToParSolverFcn,
98 HYPRE_PtrToParSolverFcn,
115 HYPRE_Int * num_iterations );
HYPRE_Int(*)(HYPRE_Solver solver, HYPRE_Real *norm) GetFinalNorm
Alias for get final residual norm function type.
HYPRE_Int(*)(HYPRE_Solver, HYPRE_ParCSRMatrix, HYPRE_ParVector, HYPRE_ParVector) ApplyFunc
Alias for apply function type.
ApplyFunc apply
pointer to apply function
long long int globalIndex
Global index type (for indexing objects across MPI partitions).
DestroyFunc destroy
pointer to destroy function
Container for hypre preconditioner auxiliary data.
HYPRE_Int(*)(HYPRE_Solver, HYPRE_ParCSRMatrix, HYPRE_ParVector, HYPRE_ParVector) SetupFunc
Alias for setup function type.
HYPRE_BigInt toHYPRE_BigInt(globalIndex const index)
Convert GEOSX global index value to hypre bigint.
array1d< HYPRE_Int > point_marker_array
array1d of unique tags for local degrees of freedom
SetupFunc setup
pointer to setup function
Container for hypre preconditioner function pointers.
hypre_ParVector_struct * HYPRE_ParVector
ParVector pointer alias.
HYPRE_Int(*)(HYPRE_Solver solver, HYPRE_Int *num_iterations) GetNumIter
Alias for get number of iterations function type.
HYPRE_Int(*)(HYPRE_Solver, HYPRE_ParCSRMatrix, HYPRE_ParVector, HYPRE_ParVector) SolveFunc
Alias for solve function type.
Container for hypre Krylov solver function pointers.
array1d< HYPRE_ParVector > nullSpacePointer
Hypre pointer to the near null kernel.
std::int32_t integer
Signed integer type.
hypre_ParCSRMatrix_struct * HYPRE_ParCSRMatrix
ParCSRMatrix pointer alias.
hypre_Solver_struct * HYPRE_Solver
Solver pointer alias.
HYPRE_Int(*)(HYPRE_Solver, HYPRE_ParCSRMatrix, HYPRE_ParVector, HYPRE_ParVector) SetupFunc
Alias for setup function type.
DestroyFunc aux_destroy
pointer to auxillary destroy function
HYPRE_Int(*)(HYPRE_Solver, HYPRE_PtrToParSolverFcn, HYPRE_PtrToParSolverFcn, HYPRE_Solver) SetPrecondFunc
Alias for set preconditioner function type.
HYPRE_Int(*)(HYPRE_Solver) DestroyFunc
Alias for destroy function type.
HYPRE_Int(*)(HYPRE_Solver) DestroyFunc
Alias for destroy function type.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
HYPRE_Int toHYPRE_Int(integer const index)
Convert GEOSX integer value to hypre int.