Amesos2 - Direct Sparse Solver Interfaces Version of the Day
Public Member Functions | Private Attributes | Friends
Amesos2::Status Class Reference

Holds internal status data about the owning Amesos2 solver. More...

#include <Amesos2_Status.hpp>

List of all members.

Public Member Functions

 ~Status ()
 Default destructor.
int getNumPreOrder () const
 Returns the number of pre-orderings performed by the owning solver.
int getNumSymbolicFact () const
 Returns the number of symbolic factorizations performed by the owning solver.
int getNumNumericFact () const
 Returns the number of numeric factorizations performed by the owning solver.
int getNumSolve () const
 Returns the number of solves performed by the owning solver.
bool preOrderingDone () const
 If true , then pre-ordering has been performed.
bool symbolicFactorizationDone () const
 If true , then symbolic factorization has been performed.
bool numericFactorizationDone () const
 If true , then numeric factorization has been performed.
size_t getNnzLU () const
 Get the number of non-zero entries in the $L$ and $U$ factors.

Private Attributes

int numPreOrder_
 Number of pre-ordering phases.
int numSymbolicFact_
 Number of symbolic factorization phases.
int numNumericFact_
 Number of numeric factorization phases.
int numSolve_
 Number of solves.
EPhase last_phase_
 The last phase of computation that was performed by the owning solver object.
size_t lu_nnz_
 The number of non-zeros in the factors.

Friends

class SolverCore

Detailed Description

Holds internal status data about the owning Amesos2 solver.

Provides convenient access to status data for both solvers and outside users.

See also:
Solver::getStatus()

Member Function Documentation

size_t Amesos2::Status::getNnzLU ( ) const [inline]

Get the number of non-zero entries in the $L$ and $U$ factors.

Returns 0 if numeric factorization has not yet been performed, or if the solver does not support getting statistics about the factors.

References lu_nnz_.


The documentation for this class was generated from the following file: