|
IFEM
90A354
|
Linear solver parameters for PETSc. More...
#include "PETScSolParams.h"#include "PETScPCPerm.h"#include "LinSolParams.h"#include "ProcessAdm.h"
Functions | |
| static std::string | AddPrefix (const std::string &prefix, const std::string &data) |
| Static helper to optionally add a prefix to a PETSc parameter. | |
| static void | condSetup (const std::string &prefix, const std::string &petsc_option, const std::string &map_option, const SettingMap &map) |
| Conditionally add a setting from map to PETsc. More... | |
Linear solver parameters for PETSc.
|
static |
Conditionally add a setting from map to PETsc.
| [in] | prefix | Prefix for petsc setting |
| [in] | petsc_option | Name of option in PETsc |
| [in] | map_option | Name of option in setting map |
| [in] | map | The setting map |
References AddPrefix(), SettingMap::getStringValue(), and SettingMap::hasValue().
Referenced by PETScSolParams::setGAMGOptions(), PETScSolParams::setHypreOptions(), and PETScSolParams::setMLOptions().