#include <SuperLU_Dist.hpp>
SuperLU_Dist data
Definition at line 53 of file SuperLU_Dist.hpp.
◆ SuperLU_Dist()
Constructor with parameters.
- Parameters
-
[in] | params | the linear solver parameters |
◆ colIndices()
int_t* geosx::SuperLU_Dist::colIndices |
( |
| ) |
|
Returns the array with the column indices.
- Returns
- the array with the column indices
◆ condEst()
real64 geosx::SuperLU_Dist::condEst |
( |
| ) |
|
Estimates the condition number of the matrix.
- Returns
- the estimated condition number
◆ create()
Creates the SuperLU_Dist data structure.
- Parameters
-
[in] | params | the linear solver parameters |
◆ createSuperMatrix()
void geosx::SuperLU_Dist::createSuperMatrix |
( |
globalIndex const |
ilower | ) |
|
Create the matrix in SuperLU_Dist format (SuperMatrix)
- Parameters
-
ilower | the first row on each process |
◆ getComm()
MPI_Comm geosx::SuperLU_Dist::getComm |
( |
| ) |
const |
Returns the communicator.
- Returns
- the communicator
◆ getParameters()
Returns the parameters used to initialize this object.
- Returns
- the parameters used to initialize this object
◆ numGlobalCols()
int_t geosx::SuperLU_Dist::numGlobalCols |
( |
| ) |
const |
Returns the global number of columns.
- Returns
- the global number of columns
◆ numGlobalRows()
int_t geosx::SuperLU_Dist::numGlobalRows |
( |
| ) |
const |
Returns the global number of rows.
- Returns
- the global number of rows
◆ numLocalRows()
int_t geosx::SuperLU_Dist::numLocalRows |
( |
| ) |
const |
Returns the local number of rows.
- Returns
- the local number of rows
◆ precisionTolerance()
real64 geosx::SuperLU_Dist::precisionTolerance |
( |
| ) |
const |
◆ relativeTolerance()
real64 geosx::SuperLU_Dist::relativeTolerance |
( |
| ) |
|
Estimates the relative tolerance for the matrix.
- Returns
- the relative tolerance (condEst * eps)
◆ resize()
void geosx::SuperLU_Dist::resize |
( |
localIndex const |
numLocalRows, |
|
|
localIndex const |
numLocalNonzeros |
|
) |
| |
Allocate the internal memory.
- Parameters
-
numLocalRows | the number of local rows |
numLocalNonzeros | the number of local entries |
◆ rowPtr()
int_t* geosx::SuperLU_Dist::rowPtr |
( |
| ) |
|
Returns the array with the row pointers.
- Returns
- the array with the row pointers
◆ setComm()
void geosx::SuperLU_Dist::setComm |
( |
MPI_Comm const |
comm | ) |
|
Sets the communicator.
- Parameters
-
[in] | comm | the MPI communicator |
◆ setNumGlobalCols()
void geosx::SuperLU_Dist::setNumGlobalCols |
( |
int_t const |
numGlobalCols | ) |
|
Sets the global number of columns.
- Parameters
-
numGlobalCols | the global number of columns |
◆ setNumGlobalRows()
void geosx::SuperLU_Dist::setNumGlobalRows |
( |
int_t const |
numGlobalRows | ) |
|
Sets the global number of rows.
- Parameters
-
numGlobalRows | the global number of rows |
◆ setNumLocalRows()
void geosx::SuperLU_Dist::setNumLocalRows |
( |
int_t const |
numLocalRows | ) |
|
Sets the local number of rows.
- Parameters
-
numLocalRows | the local number of rows |
◆ setup()
int geosx::SuperLU_Dist::setup |
( |
| ) |
|
Factorizes a linear system with SuperLU_Dist.
- Returns
- info error code
◆ setupTime()
real64 geosx::SuperLU_Dist::setupTime |
( |
| ) |
const |
Provides the setup time.
- Returns
- the setup time
◆ solve()
int geosx::SuperLU_Dist::solve |
( |
real64 const * |
b, |
|
|
real64 * |
x |
|
) |
| |
Solves a linear system with SuperLU_Dist (matrix has already been factorized)
- Parameters
-
[in] | b | the right-hand side |
[out] | x | the solution vector |
- Returns
- info error code
◆ solveTime()
real64 geosx::SuperLU_Dist::solveTime |
( |
| ) |
const |
Provides the solve time.
- Returns
- the solve time
◆ values()
real64* geosx::SuperLU_Dist::values |
( |
| ) |
|
Returns the array with the values.
- Returns
- the array with the values
The documentation for this class was generated from the following file: