A class used to hold basic parameters for a matrix. More...
#include <RawCSRMatrixParameters.h>

Classes | |
| struct | RawCSRLocalMatrixParameters |
Public Types | |
| using | gidx_t = typename Config::gidx_t |
| using | lidx_t = typename Config::lidx_t |
| using | scalar_t = typename Config::scalar_t |
Public Member Functions | |
| AMP::AMP_MPI & | getComm () |
| Get the communicator for the matrix. | |
| uint64_t | getID () const |
| Get a unique id hash. | |
| std::shared_ptr< Variable > | getLeftVariable () const |
| std::shared_ptr< Variable > | getRightVariable () const |
| RawCSRMatrixParameters ()=delete | |
| RawCSRMatrixParameters (gidx_t first_row, gidx_t last_row, gidx_t first_col, gidx_t last_col, const RawCSRLocalMatrixParameters &diag, const RawCSRLocalMatrixParameters &off_diag, const AMP_MPI &comm) | |
| Constructor. | |
| RawCSRMatrixParameters (gidx_t first_row, gidx_t last_row, gidx_t first_col, gidx_t last_col, const RawCSRLocalMatrixParameters &diag, const RawCSRLocalMatrixParameters &off_diag, const AMP_MPI &comm, AMP::Utilities::Backend backend) | |
| Constructor. | |
| RawCSRMatrixParameters (gidx_t first_row, gidx_t last_row, gidx_t first_col, gidx_t last_col, const RawCSRLocalMatrixParameters &diag, const RawCSRLocalMatrixParameters &off_diag, const AMP_MPI &comm, std::shared_ptr< Variable > var_left, std::shared_ptr< Variable > var_right) | |
| Constructor. | |
| RawCSRMatrixParameters (gidx_t first_row, gidx_t last_row, gidx_t first_col, gidx_t last_col, const RawCSRLocalMatrixParameters &diag, const RawCSRLocalMatrixParameters &off_diag, const AMP_MPI &comm, std::shared_ptr< Variable > var_left, std::shared_ptr< Variable > var_right, AMP::Utilities::Backend backend) | |
| Constructor. | |
| RawCSRMatrixParameters (int64_t fid, AMP::IO::RestartManager *manager) | |
| Read restart data from file. | |
| void | registerChildObjects (AMP::IO::RestartManager *manager) const override |
| Register any child objects. | |
| void | setLeftVariable (std::shared_ptr< Variable > var) |
| void | setRightVariable (std::shared_ptr< Variable > var) |
| std::string | type () const override |
| type of this object | |
| void | writeRestart (int64_t fid) const override |
| Write restart data to file. | |
| virtual | ~RawCSRMatrixParameters ()=default |
| Destructor. | |
Protected Attributes | |
| AMP_MPI | d_comm |
| std::shared_ptr< Variable > | d_VariableLeft |
| std::shared_ptr< Variable > | d_VariableRight |
A class used to hold basic parameters for a matrix.
Definition at line 13 of file RawCSRMatrixParameters.h.
| using AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::gidx_t = typename Config::gidx_t |
Definition at line 16 of file RawCSRMatrixParameters.h.
| using AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::lidx_t = typename Config::lidx_t |
Definition at line 17 of file RawCSRMatrixParameters.h.
| using AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::scalar_t = typename Config::scalar_t |
Definition at line 18 of file RawCSRMatrixParameters.h.
|
delete |
|
inlineexplicit |
Constructor.
| [in] | first_row | Index for first row |
| [in] | last_row | Index for last row |
| [in] | first_col | Index for first col |
| [in] | last_col | Index for last col |
| [in] | diag | Parameters for diag block |
| [in] | off_diag | Parameters for offd block |
| [in] | comm | Communicator for the matrix |
Definition at line 41 of file RawCSRMatrixParameters.h.
|
inlineexplicit |
Constructor.
| [in] | first_row | Index for first row |
| [in] | last_row | Index for last row |
| [in] | first_col | Index for first col |
| [in] | last_col | Index for last col |
| [in] | diag | Parameters for diag block |
| [in] | off_diag | Parameters for offd block |
| [in] | comm | Communicator for the matrix |
| [in] | backend | Acceleration backend for matrix operations |
Definition at line 68 of file RawCSRMatrixParameters.h.
|
inlineexplicit |
Constructor.
| [in] | first_row | Index for first row |
| [in] | last_row | Index for last row |
| [in] | first_col | Index for first col |
| [in] | last_col | Index for last col |
| [in] | diag | Parameters for diag block |
| [in] | off_diag | Parameters for offd block |
| [in] | comm | Communicator for the matrix |
| [in] | var_left | Variable for left vector |
| [in] | var_right | Variable for right vector |
Definition at line 97 of file RawCSRMatrixParameters.h.
|
inlineexplicit |
Constructor.
| [in] | first_row | Index for first row |
| [in] | last_row | Index for last row |
| [in] | first_col | Index for first col |
| [in] | last_col | Index for last col |
| [in] | diag | Parameters for diag block |
| [in] | off_diag | Parameters for offd block |
| [in] | comm | Communicator for the matrix |
| [in] | var_left | Variable for left vector |
| [in] | var_right | Variable for right vector |
| [in] | backend | Acceleration backend for matrix operations |
Definition at line 128 of file RawCSRMatrixParameters.h.
|
virtualdefault |
Destructor.
| AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::RawCSRMatrixParameters | ( | int64_t | fid, |
| AMP::IO::RestartManager * | manager | ||
| ) |
Read restart data from file.
| fid | File identifier to write |
| manager | Restart manager |
|
inlineinherited |
Get the communicator for the matrix.
Definition at line 90 of file MatrixParametersBase.h.
References AMP::LinearAlgebra::MatrixParametersBase::d_comm.
|
inlineinherited |
Get a unique id hash.
Definition at line 84 of file MatrixParametersBase.h.
References AMP::LinearAlgebra::MatrixParametersBase::d_hash.
|
inlineinherited |
Definition at line 96 of file MatrixParametersBase.h.
References AMP::LinearAlgebra::MatrixParametersBase::d_VariableLeft.
|
inlineinherited |
Definition at line 98 of file MatrixParametersBase.h.
References AMP::LinearAlgebra::MatrixParametersBase::d_VariableRight.
|
overridevirtual |
Register any child objects.
This function will register child objects with the manager
| manager | Restart manager |
Reimplemented from AMP::LinearAlgebra::MatrixParametersBase.
|
inlineinherited |
Definition at line 92 of file MatrixParametersBase.h.
References AMP::LinearAlgebra::MatrixParametersBase::d_VariableLeft.
|
inlineinherited |
Definition at line 94 of file MatrixParametersBase.h.
References AMP::LinearAlgebra::MatrixParametersBase::d_VariableRight.
|
inlineoverridevirtual |
type of this object
Reimplemented from AMP::LinearAlgebra::MatrixParametersBase.
Definition at line 151 of file RawCSRMatrixParameters.h.
|
overridevirtual |
Write restart data to file.
This function will write the mesh to an HDF5 file
| fid | File identifier to write |
Reimplemented from AMP::LinearAlgebra::MatrixParametersBase.
|
inherited |
Definition at line 136 of file MatrixParametersBase.h.
|
protectedinherited |
Definition at line 124 of file MatrixParametersBase.h.
Referenced by AMP::LinearAlgebra::MatrixParametersBase::getComm().
| RawCSRLocalMatrixParameters AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::d_diag |
Definition at line 182 of file RawCSRMatrixParameters.h.
| gidx_t AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::d_first_col |
Definition at line 179 of file RawCSRMatrixParameters.h.
| gidx_t AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::d_first_row |
Definition at line 177 of file RawCSRMatrixParameters.h.
|
inherited |
Definition at line 139 of file MatrixParametersBase.h.
Referenced by AMP::LinearAlgebra::MatrixParametersBase::getID().
| gidx_t AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::d_last_col |
Definition at line 180 of file RawCSRMatrixParameters.h.
| gidx_t AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::d_last_row |
Definition at line 178 of file RawCSRMatrixParameters.h.
| RawCSRLocalMatrixParameters AMP::LinearAlgebra::RawCSRMatrixParameters< Config >::d_off_diag |
Definition at line 182 of file RawCSRMatrixParameters.h.
|
protectedinherited |
The variable for the left vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(y\) is a left vector )
Definition at line 128 of file MatrixParametersBase.h.
Referenced by AMP::LinearAlgebra::MatrixParametersBase::getLeftVariable(), and AMP::LinearAlgebra::MatrixParametersBase::setLeftVariable().
|
protectedinherited |
The variable for the right vector ( For \(\mathbf{y}^T\mathbf{Ax}\), \(x\) is a right vector )
Definition at line 132 of file MatrixParametersBase.h.
Referenced by AMP::LinearAlgebra::MatrixParametersBase::getRightVariable(), and AMP::LinearAlgebra::MatrixParametersBase::setRightVariable().
|
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:43. Comments on this page |