|
IFEM
90A354
|
Class for linear solver parameters. More...
#include <LinSolParams.h>


Classes | |
| class | BlockParams |
| Linear solver settings for a block of the linear system. More... | |
Public Member Functions | |
| LinSolParams (LinAlg::LinearSystemType ls=LinAlg::GENERAL_MATRIX) | |
| Default constructor. | |
| LinSolParams (const LinSolParams &par, LinAlg::LinearSystemType ls=LinAlg::GENERAL_MATRIX) | |
| Copy constructor. | |
| bool | read (const tinyxml2::XMLElement *elem) |
| Read linear solver parameters from XML document. | |
| size_t | getNoBlocks () const |
| Number of blocks in matrix system. | |
| const BlockParams & | getBlock (size_t i) const |
| Obtain settings for a given block. | |
| LinAlg::LinearSystemType | getLinSysType () const |
| Returns the linear system type. | |
Public Member Functions inherited from SettingMap | |
| void | addValue (const std::string &key, const std::string &value) |
| Add a value to the store. More... | |
| std::string | getStringValue (const std::string &key) const |
| Obtain a value as a string. More... | |
| int | getIntValue (const std::string &key) const |
| Obtain a value as an integer. More... | |
| double | getDoubleValue (const std::string &key) const |
| Obtain a value as an double. More... | |
| bool | hasValue (const std::string &key) const |
| Checks if the store holds a value for a key. More... | |
Private Attributes | |
| std::vector< BlockParams > | blocks |
| Parameters for each block. | |
| LinAlg::LinearSystemType | linSys |
| Type of linear system matrix. | |
Additional Inherited Members | |
Protected Attributes inherited from SettingMap | |
| std::map< std::string, std::string > | values |
| Map of key-value pairs. | |
Class for linear solver parameters.
It contains information about solver method, preconditioner and convergence criteria.