Class that accepts ML-style parameters and builds a MueLu parameter list (easy input deck)
More...
#include <MueLu_ML2MueLuParameterTranslator.hpp>
|
static std::string | translate (Teuchos::ParameterList ¶mList, const std::string &defaultVals="") |
| : Translate ML parameters to MueLu parameter XML string
|
|
static std::string | translate (const std::string &xmlFileName, const std::string &defaultVals="") |
| : Translate ML parameters to MueLu parameter XML string
|
|
|
static std::string | SetParameterList (const Teuchos::ParameterList ¶mList_in, const std::string &defaultVals) |
| : Interpret parameter list
|
|
static std::string | GetSmootherFactory (const Teuchos::ParameterList ¶mList, Teuchos::ParameterList &adaptingParamList, const std::string &pname, const std::string &value) |
| : Helper function which translates ML smoother/solver paramters to MueLu XML string
|
|
static std::string & | ltrim (std::string &s) |
|
static std::string & | rtrim (std::string &s) |
|
static std::string & | trim (std::string &s) |
|
Class that accepts ML-style parameters and builds a MueLu parameter list (easy input deck)
This interpreter class is meant to make the transition from ML to MueLu easier.
Definition at line 68 of file MueLu_ML2MueLuParameterTranslator.hpp.
◆ ML2MueLuParameterTranslator()
MueLu::ML2MueLuParameterTranslator::ML2MueLuParameterTranslator |
( |
| ) |
|
|
inline |
◆ ~ML2MueLuParameterTranslator()
virtual MueLu::ML2MueLuParameterTranslator::~ML2MueLuParameterTranslator |
( |
| ) |
|
|
inlinevirtual |
◆ translate() [1/2]
static std::string MueLu::ML2MueLuParameterTranslator::translate |
( |
Teuchos::ParameterList & |
paramList, |
|
|
const std::string & |
defaultVals = "" |
|
) |
| |
|
inlinestatic |
◆ translate() [2/2]
static std::string MueLu::ML2MueLuParameterTranslator::translate |
( |
const std::string & |
xmlFileName, |
|
|
const std::string & |
defaultVals = "" |
|
) |
| |
|
inlinestatic |
◆ SetParameterList()
std::string MueLu::ML2MueLuParameterTranslator::SetParameterList |
( |
const Teuchos::ParameterList & |
paramList_in, |
|
|
const std::string & |
defaultVals |
|
) |
| |
|
staticprivate |
◆ GetSmootherFactory()
std::string MueLu::ML2MueLuParameterTranslator::GetSmootherFactory |
( |
const Teuchos::ParameterList & |
paramList, |
|
|
Teuchos::ParameterList & |
adaptingParamList, |
|
|
const std::string & |
pname, |
|
|
const std::string & |
value |
|
) |
| |
|
staticprivate |
: Helper function which translates ML smoother/solver paramters to MueLu XML string
- Parameters
-
[in] | paramList | reference to Teuchos::ParameterList containing the ML smoother/solver parameters. |
[in,out] | adaptingParamList | reference to Teuchos::ParameterList containing the ML smoother/solver parameters. Note that the processed parameters are removed from the ParameterList. It can be used to detect non-interpreted ML parameters. |
[in] | pname | currently processed parameter TODO |
[in] | value | currently processed value TODO |
Definition at line 62 of file MueLu_ML2MueLuParameterTranslator.cpp.
◆ ltrim()
static std::string & MueLu::ML2MueLuParameterTranslator::ltrim |
( |
std::string & |
s | ) |
|
|
inlinestaticprivate |
◆ rtrim()
static std::string & MueLu::ML2MueLuParameterTranslator::rtrim |
( |
std::string & |
s | ) |
|
|
inlinestaticprivate |
◆ trim()
static std::string & MueLu::ML2MueLuParameterTranslator::trim |
( |
std::string & |
s | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following files: