|
IFEM
90A354
|
Linear solver settings for a block of the linear system. More...
#include <LinSolParams.h>


Classes | |
| struct | DirSmoother |
| Settings for a directional smoother. More... | |
Public Member Functions | |
| BlockParams () | |
| Default constructor. | |
| bool | read (const tinyxml2::XMLElement *child, const std::string &prefix="") |
| Read settings from XML block. More... | |
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... | |
Public Attributes | |
| size_t | basis |
| Basis for block. | |
| size_t | comps |
| Components from basis (1, 2, 3, 12, 13, 23, 123, ..., 0 = all) | |
| std::vector< DirSmoother > | dirSmoother |
| Directional smoother data. | |
Additional Inherited Members | |
Protected Attributes inherited from SettingMap | |
| std::map< std::string, std::string > | values |
| Map of key-value pairs. | |
Linear solver settings for a block of the linear system.
| bool LinSolParams::BlockParams::read | ( | const tinyxml2::XMLElement * | child, |
| const std::string & | prefix = "" |
||
| ) |
Read settings from XML block.
| [in] | child | XML block |
| [in] | prefix | Prefix to add to read data |
References SettingMap::addValue(), basis, comps, dirSmoother, utl::getAttribute(), SettingMap::getIntValue(), SettingMap::getStringValue(), utl::getValue(), and SettingMap::hasValue().