Class that accepts ML-style parameters and builds a MueLu parameter list (easy input deck)
More...
#include <MueLu_ML2MueLuParameterTranslator.hpp>
|
static std::string & | ltrim (std::string &s) |
|
static std::string & | rtrim (std::string &s) |
|
static std::string & | trim (std::string &s) |
|
|
static std::string | translate (Teuchos::ParameterList ¶mList, const std::string &defaultVals="") |
| : Translate ML parameters to MueLu parameter XML string More...
|
|
static std::string | translate (const std::string &xmlFileName, const std::string &defaultVals="") |
| : Translate ML parameters to MueLu parameter XML string More...
|
|
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.
MueLu::ML2MueLuParameterTranslator::ML2MueLuParameterTranslator |
( |
| ) |
|
|
inline |
virtual MueLu::ML2MueLuParameterTranslator::~ML2MueLuParameterTranslator |
( |
| ) |
|
|
inlinevirtual |
static std::string MueLu::ML2MueLuParameterTranslator::translate |
( |
Teuchos::ParameterList & |
paramList, |
|
|
const std::string & |
defaultVals = "" |
|
) |
| |
|
inlinestatic |
static std::string MueLu::ML2MueLuParameterTranslator::translate |
( |
const std::string & |
xmlFileName, |
|
|
const std::string & |
defaultVals = "" |
|
) |
| |
|
inlinestatic |
std::string MueLu::ML2MueLuParameterTranslator::SetParameterList |
( |
const Teuchos::ParameterList & |
paramList_in, |
|
|
const std::string & |
defaultVals |
|
) |
| |
|
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 58 of file MueLu_ML2MueLuParameterTranslator.cpp.
static std::string& MueLu::ML2MueLuParameterTranslator::ltrim |
( |
std::string & |
s | ) |
|
|
inlinestaticprivate |
static std::string& MueLu::ML2MueLuParameterTranslator::rtrim |
( |
std::string & |
s | ) |
|
|
inlinestaticprivate |
static std::string& MueLu::ML2MueLuParameterTranslator::trim |
( |
std::string & |
s | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following files: