Wrapper class for constructing a hypre IJ matrix for use with solvers. More...
#include <HypreMatrixAdaptor.h>
Public Member Functions | |
| HYPRE_IJMatrix | getHypreMatrix (void) |
| Returns the handle to the HYPRE IJMatrix. | |
| HypreMatrixAdaptor ()=delete | |
| HypreMatrixAdaptor (std::shared_ptr< MatrixData >) | |
| ! Main constructor using a MatrixData object | |
| ~HypreMatrixAdaptor () | |
Private Member Functions | |
| template<class csr_data_type > | |
| void | initializeHypreMatrix (std::shared_ptr< csr_data_type >, HYPRE_MemoryLocation memory_location) |
| Main internal routine for initializing the matrix. | |
Private Attributes | |
| std::shared_ptr< MatrixData > | d_csrdata_dev |
| Storage for migrated matrix data. | |
| HYPRE_IJMatrix | d_matrix |
| hypre IJ matrix that this class wraps | |
Wrapper class for constructing a hypre IJ matrix for use with solvers.
It is initialized based on CSR data.
Definition at line 17 of file HypreMatrixAdaptor.h.
|
delete |
| AMP::LinearAlgebra::HypreMatrixAdaptor::~HypreMatrixAdaptor | ( | ) |
| AMP::LinearAlgebra::HypreMatrixAdaptor::HypreMatrixAdaptor | ( | std::shared_ptr< MatrixData > | ) |
! Main constructor using a MatrixData object
|
inline |
Returns the handle to the HYPRE IJMatrix.
Definition at line 28 of file HypreMatrixAdaptor.h.
References d_matrix.
|
private |
Main internal routine for initializing the matrix.
|
private |
Storage for migrated matrix data.
Definition at line 40 of file HypreMatrixAdaptor.h.
|
private |
hypre IJ matrix that this class wraps
Definition at line 37 of file HypreMatrixAdaptor.h.
Referenced by getHypreMatrix().
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:42. Comments on this page |