|
|
typedef Superlu< Matrix, Vector > | type |
| |
|
typedef SolverCore< Amesos2::Superlu, Matrix, Vector > | super_type |
| |
|
typedef super_type::scalar_type | scalar_type |
| |
|
typedef super_type::local_ordinal_type | local_ordinal_type |
| |
|
typedef super_type::global_ordinal_type | global_ordinal_type |
| |
|
typedef super_type::global_size_type | global_size_type |
| |
|
typedef TypeMap< Amesos2::Superlu, scalar_type > | type_map |
| |
|
typedef type_map::type | slu_type |
| |
|
typedef type_map::convert_type | slu_convert_type |
| |
|
typedef type_map::magnitude_type | magnitude_type |
| |
|
typedef FunctionMap< Amesos2::Superlu, slu_type > | function_map |
| |
|
typedef Amesos2::Superlu< Matrix, Vector > | solver_type |
| |
|
typedef Matrix | matrix_type |
| |
|
typedef Vector | vector_type |
| |
|
typedef MatrixAdapter< matrix_type >::node_t | node_type |
| |
|
|
| super_type & | preOrdering () |
| | Pre-orders the matrix A for minimal fill-in. More...
|
| |
| super_type & | symbolicFactorization () |
| | Performs symbolic factorization on the matrix A. More...
|
| |
| super_type & | numericFactorization () |
| | Performs numeric factorization on the matrix A. More...
|
| |
| void | solve () |
| | Solves (or ) More...
|
| |
| void | solve (const Teuchos::Ptr< Vector > X, const Teuchos::Ptr< const Vector > B) const |
| | Solve using the given X and B vectors. More...
|
| |
| void | solve (Vector *X, const Vector *B) const |
| | Solve using the given X and B vectors. More...
|
| |
| bool | matrixShapeOK () |
| | Returns true if the solver can handle this matrix shape. More...
|
| |
| void | setA (const Teuchos::RCP< const Matrix > a, EPhase keep_phase=CLEAN) |
| | Sets the matrix A of this solver. More...
|
| |
| void | setA (const Matrix *a, EPhase keep_phase=CLEAN) |
| | Sets the matrix A of this solver. More...
|
| |
| void | setX (const Teuchos::RCP< Vector > x) |
| | Sets the LHS vector X. More...
|
| |
| void | setX (Vector *x) |
| | Sets the LHS vector X using a raw pointer. More...
|
| |
| const Teuchos::RCP< Vector > | getX () |
| | Returns the vector that is the LHS of the linear system. More...
|
| |
| Vector * | getXRaw () |
| | Returns a raw pointer to the LHS of the linear system. More...
|
| |
| void | setB (const Teuchos::RCP< const Vector > b) |
| | Sets the RHS vector B. More...
|
| |
| void | setB (const Vector *b) |
| | Sets the RHS vector B using a raw pointer. More...
|
| |
| const Teuchos::RCP< const Vector > | getB () |
| | Returns the vector that is the RHS of the linear system. More...
|
| |
| const Vector * | getBRaw () |
| | Returns a raw pointer to the RHS of the linear system. More...
|
| |
|
| super_type & | setParameters (const Teuchos::RCP< Teuchos::ParameterList > ¶meterList) |
| | Set/update internal variables and solver options. More...
|
| |
| Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
| | Return a const parameter list of all of the valid parameters that this->setParameterList(...) will accept. More...
|
| |
| void | setParameterList (const Teuchos::RCP< Teuchos::ParameterList > ¶meterList) |
| | Set or update internal variables and solver options. More...
|
| |
| Teuchos::RCP< Teuchos::ParameterList > | getNonconstParameterList () |
| | This is a empty stub. More...
|
| |
| Teuchos::RCP< Teuchos::ParameterList > | unsetParameterList () |
| | This is an empty stub. More...
|
| |
|
|
typedef Kokkos::DefaultHostExecutionSpace | HostExecSpaceType |
| |
|
typedef int | size_type |
| |
|
typedef int | ordinal_type |
| |
|
typedef Kokkos::View< size_type *, HostExecSpaceType > | host_size_type_array |
| |
|
typedef Kokkos::View< ordinal_type *, HostExecSpaceType > | host_ordinal_type_array |
| |
|
typedef Kokkos::View< slu_type *, HostExecSpaceType > | host_value_type_array |
| |
|
typedef Kokkos::View< slu_type **, Kokkos::LayoutLeft, HostExecSpaceType > | host_solve_array_t |
| |
|
struct Amesos2::Superlu::SLUData | data_ |
| |
|
host_value_type_array | host_nzvals_view_ |
| | Stores the values of the nonzero entries for SuperLU.
|
| |
|
Teuchos::Array< slu_convert_type > | convert_nzvals_ |
| |
|
host_size_type_array | host_rows_view_ |
| | Stores the location in Ai_ and Aval_ that starts row j.
|
| |
|
host_ordinal_type_array | host_col_ptr_view_ |
| | Stores the row indices of the nonzero entries.
|
| |
|
host_solve_array_t | host_xValues_ |
| | Persisting 1D store for X.
|
| |
|
Teuchos::Array< slu_convert_type > | convert_xValues_ |
| |
|
host_solve_array_t | host_bValues_ |
| | Persisting 1D store for B.
|
| |
|
Teuchos::Array< slu_convert_type > | convert_bValues_ |
| |
|
bool | same_symbolic_ |
| |
|
bool | ILU_Flag_ |
| |
|
bool | is_contiguous_ |
| |
|
bool | use_triangular_solves_ |
| |
|
bool | use_metis_ |
| |
|
bool | symmetrize_metis_ |
| |
| | Superlu (Teuchos::RCP< const Matrix > A, Teuchos::RCP< Vector > X, Teuchos::RCP< const Vector > B) |
| | Initialize from Teuchos::RCP. More...
|
| |
|
| ~Superlu () |
| | Destructor.
|
| |
| std::string | description () const |
| | Returns a short description of this Solver. More...
|
| |
|
void | triangular_solve () const |
| |
| int | preOrdering_impl () |
| | Performs pre-ordering on the matrix to increase efficiency. More...
|
| |
| int | symbolicFactorization_impl () |
| | Perform symbolic factorization of the matrix using Superlu. More...
|
| |
| int | numericFactorization_impl () |
| | Superlu specific numeric factorization. More...
|
| |
| int | solve_impl (const Teuchos::Ptr< MultiVecAdapter< Vector > > X, const Teuchos::Ptr< const MultiVecAdapter< Vector > > B) const |
| | Superlu specific solve. More...
|
| |
|
bool | matrixShapeOK_impl () const |
| | Determines whether the shape of the matrix is OK for this solver.
|
| |
| void | setParameters_impl (const Teuchos::RCP< Teuchos::ParameterList > ¶meterList) |
| |
| Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters_impl () const |
| |
| bool | loadA_impl (EPhase current_phase) |
| | Reads matrix data into internal structures. More...
|
| |
|
void | triangular_solve_factor () |
| |
|
| Teuchos::RCP< const Teuchos::Comm< int > > | getComm () const |
| | Returns a pointer to the Teuchos::Comm communicator with this operator. More...
|
| |
| Status & | getStatus () const |
| | Returns a reference to this solver's internal status object. More...
|
| |
| void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const |
| |
| void | printTiming (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const |
| | Prints timing information about the current solver. More...
|
| |
| void | getTiming (Teuchos::ParameterList &timingParameterList) const |
| | Extracts timing information from the current solver. More...
|
| |
| void | loadA (EPhase current_phase) |
| | Refresh this solver's internal data about A. More...
|
| |
|
Teuchos::RCP< const MatrixAdapter< Matrix > > | matrixA_ |
| | The LHS operator.
|
| |
| bool | matrix_loaded_ |
| |
|
Teuchos::RCP< Vector > | multiVecX_ |
| | The LHS vector/multi-vector.
|
| |
| Teuchos::RCP< const Vector > | multiVecB_ |
| | The RHS vector/multi-vector. More...
|
| |
|
global_size_type | globalNumRows_ |
| | Number of global rows in matrixA_.
|
| |
|
global_size_type | globalNumCols_ |
| | Number of global columns in matrixA_.
|
| |
|
global_size_type | globalNumNonZeros_ |
| | Number of global non-zero values in matrixA_.
|
| |
|
global_size_type | rowIndexBase_ |
| | Index base of rowmap of matrixA_.
|
| |
|
global_size_type | columnIndexBase_ |
| | Index base of column map of matrixA_.
|
| |
|
Status | status_ |
| | Holds status information about a solver.
|
| |
|
Control | control_ |
| | Parameters for solving.
|
| |
|
Timers | timers_ |
| | Various timing statistics.
|
| |
|
int | rank_ |
| | The MPI rank of this image.
|
| |
|
bool | root_ |
| | If true, then this is the root processor.
|
| |
|
int | nprocs_ |
| | Number of process images in the matrix communicator.
|
| |
| void | setNnzLU (size_t nnz) |
| | Set the number of non-zero values in the and factors. More...
|
| |
template<class Matrix, class Vector>
class Amesos2::Superlu< Matrix, Vector >
Amesos2 interface to the SuperLU package.
See the summary of SuperLU parameters supported by this Amesos2 interface.
Solve
using the given X and B vectors.
This overload of solve uses the given X and B vectors when solving. This X and B are used in place of any X and B that were given upon construction of the Amesos2 solver instance and are used only for this solve.
If a permanent change of X and B are required, see the setX() and setB() methods.
- Postcondition
- The (multi)vector
X contains the solution to the system
- The
X and B given at construction time (if any) are unchanged.
Implements Amesos2::Solver< Matrix, Vector >.
Solve
using the given X and B vectors.
This overload of solve uses the given X and B vectors when solving. This X and B are used in place of any X and B that were given upon construction of the Amesos2 solver instance and are used only for this solve.
If a permanent change of X and B are required, see the setX() and setB() methods.
- Postcondition
- The (multi)vector
X contains the solution to the system
- The
X and B given at construction time (if any) are unchanged.
Implements Amesos2::Solver< Matrix, Vector >.
Set/update internal variables and solver options.
The setParameters method is consistent over all concrete solvers. It accepts general status and control parameters, as well as parameters specific to a given solver. If the solver does not recognize the parameter, then it will simply be ignored
- Note
- The ParameterList must be named "Amesos2". A list with any other name will be ignored.
- Postcondition
- Internal variables controlling the factorization and solve will be updated and take effect on all subsequent calls to numericFactorization() and solve().
- All parameters whose value is to differ from the default values must be included in
parameterList. Parameters not specified in parameterList revert to their default values.
- Returns
- a reference to
this
Implements Amesos2::Solver< Matrix, Vector >.
Refresh this solver's internal data about A.
Called whenever it would be necessary to refresh a solver's internal storage of the matrix A, which is whenever a phase is called that is equal to or below the current call.
For example, say a user has just previously called solve(), then calls numericFactorization(). Since the solve phase is greater than the numericFactorization phase, this is an indication that the internal store of A needs refreshing, since the user (assuming the user know what she's doing) wouldn't otherwise need to call numericFactorization following a solve.