|
bool | use_transpose () |
| Returns the current UseTranspose setting.
|
|
void | set_use_transpose (bool use_transpose) |
| If set true, X will be set to the solution of A^T X = B (not A X = B).
|
|
| AmesosSolver (const char *solver_type, EpetraMatrix< Scalar > *m, EpetraVector< Scalar > *rhs) |
|
void | free () |
|
virtual void | solve () |
|
virtual int | get_matrix_size () |
| Get size of matrix.
|
|
template<> |
void | solve () |
|
template<> |
void | solve () |
|
| DirectSolver (SparseMatrix< Scalar > *matrix, Vector< Scalar > *rhs) |
|
virtual void | solve (Scalar *initial_guess) |
|
virtual double | get_residual_norm () |
| Returns 0. - for compatibility.
|
|
| LinearMatrixSolver (SparseMatrix< Scalar > *matrix, Hermes::Algebra::Vector< Scalar > *rhs) |
|
DirectSolver< Scalar > * | as_DirectSolver () const |
|
LoopSolver< Scalar > * | as_LoopSolver () const |
|
IterSolver< Scalar > * | as_IterSolver () const |
|
AMGSolver< Scalar > * | as_AMGSolver () const |
|
Scalar * | get_sln_vector () |
|
double | get_time () |
|
virtual MatrixStructureReuseScheme | get_used_reuse_scheme () const |
| Get factorization scheme.
|
|
virtual void | set_reuse_scheme (MatrixStructureReuseScheme reuse_scheme) |
|
virtual void | set_reuse_scheme () |
| Set factorization scheme to default.
|
|
virtual void | use_node_wise_ordering (unsigned int num_pdes) |
| Set matrix ordering in the case of a system of PDEs.
|
|
virtual void | use_equations_wise_ordering () |
|
SparseMatrix< Scalar > * | get_matrix () |
|
Vector< Scalar > * | get_rhs () |
|
| Loggable (bool verbose_output=false, callbackFn verbose_callback=NULL, bool add_newline=true) |
|
void | set_file_output_only (bool onOff) |
|
void | set_timestamps (bool onOff) |
| Sets the addition of a time stamp on each line in the log file. By default it is on.
|
|
void | set_erase_on_beginning (bool onOff) |
| Sets the logFile being always erased before logging.
|
|
void | set_logFile_name (const char *filename) |
|
void | set_logFile_name (std::string filename) |
|
void | info (const char *msg,...) const |
|
void | info_if (bool cond, const char *msg,...) const |
|
void | warn (const char *msg,...) const |
|
void | warn_if (bool cond, const char *msg,...) const |
|
void | error (const char *msg,...) const |
|
void | error_if (bool cond, const char *msg,...) const |
|
virtual void | set_verbose_output (bool to_set) |
|
bool | get_verbose_output () const |
| Returns the current value of verbose_output;.
|
|
virtual void | set_verbose_callback (callbackFn callback) |
|
callbackFn | get_verbose_callback () const |
| Returns the current value of verbose_callback;.
|
|
| TimeMeasurable (const char *name=nullptr) |
| Constructs internal structures and starts measuring.
|
|
const TimeMeasurable & | reset () |
| Resets accumulated time.
|
|
const TimeMeasurable & | tick_reset () |
| Starts a new_ period and resets accumulated time.
|
|
const TimeMeasurable & | tick (TimeMeasurable::TimerPeriodTickType type=HERMES_ACCUMULATE) |
| Starts/ends a new_ period.
|
|
const std::string & | name () const |
| Returns a name of the time period if any.
|
|
double | accumulated () const |
| Returns accumulated time (in seconds).
|
|
std::string | accumulated_str () const |
| Returns accumulated time in human readable form.
|
|
double | last () const |
| Returns last measured period (in seconds). More...
|
|
std::string | last_str () const |
| Returns last measured period in human readable form.
|
|
template<typename Scalar>
singleton Hermes::Solvers::AmesosSolver< Scalar >
Encapsulation of Amesos linear solver.
Definition at line 39 of file amesos_solver.h.