MueLu
Version of the Day
|
Static class that holds the complete list of valid MueLu parameters. More...
#include <MueLu_MasterList.hpp>
Static Public Member Functions | |
static Teuchos::RCP< const Teuchos::ParameterList > | List () |
Return a "master" list of all valid parameters and their default values. More... | |
static Teuchos::RCP < Teuchos::ParameterList > | GetProblemSpecificList (std::string const &problemType) |
Return default parameter settings for the specified problem type. More... | |
template<typename T > | |
static const T & | getDefault (const std::string &name) |
Returns default value on the "master" list for a parameter with the specified name and type. More... | |
static const Teuchos::ParameterEntry & | getEntry (const std::string &name) |
Returns default entry from the "master" list corresponding to the specified name. More... | |
template<typename T > | |
static std::string | generateXMLParameterString (const std::string &name, T data) |
Create xml string for given MueLu parameter (easy xml input format) More... | |
static std::string | ML2MueLu (const std::string &name) |
Translate ML parameter to corresponding MueLu parameter. More... | |
static std::string | interpretParameterName (const std::string &name, const std::string &value) |
Private Member Functions | |
MasterList () | |
MasterList (const MasterList &) | |
MasterList & | operator= (const MasterList &) |
Static Private Attributes | |
static Teuchos::RCP < Teuchos::ParameterList > | masterList_ = Teuchos::null |
A ParameterList that holds all valid parameters and their default values. More... | |
static const std::string | stringList_ |
String equivalent of the masterList_. More... | |
static Teuchos::RCP < Teuchos::ParameterList > | problemSpecificList_ = Teuchos::null |
A ParameterList that holds all valid parameters and their default values for a particular problem type. More... | |
static std::string | problemType_ = "unknown" |
The problem type associated with the current problem-specific ParameterList. More... | |
static std::map< std::string, std::string > | DefaultProblemTypeLists_ |
Map of string equivalents of the problemSpecificList_. The first entry is the problem type, the second is the string equivalent. More... | |
static std::map< std::string, std::string > | ML2MueLuLists_ |
Map of ML parameter strings to corresponding MueLu parametes. More... | |
Static class that holds the complete list of valid MueLu parameters.
This class creates a ParameterList that is used to validate user-supplied ParameterLists. This same list is the source of default values if a parameter does not appear in the user ParameterList. This class also provides ParameterLists for certain common problem types, such as 2D and 3D isotropic Poisson.
Definition at line 72 of file MueLu_MasterList.hpp.
|
private |
|
private |
|
static |
Return a "master" list of all valid parameters and their default values.
Definition at line 53 of file MueLu_MasterList.cpp.
|
static |
Return default parameter settings for the specified problem type.
Definition at line 61 of file MueLu_MasterList.cpp.
|
inlinestatic |
Returns default value on the "master" list for a parameter with the specified name and type.
Definition at line 81 of file MueLu_MasterList.hpp.
|
inlinestatic |
Returns default entry from the "master" list corresponding to the specified name.
Definition at line 86 of file MueLu_MasterList.hpp.
|
inlinestatic |
Create xml string for given MueLu parameter (easy xml input format)
Definition at line 94 of file MueLu_MasterList.hpp.
|
inlinestatic |
Translate ML parameter to corresponding MueLu parameter.
Definition at line 104 of file MueLu_MasterList.hpp.
|
static |
Definition at line 75 of file MueLu_MasterList.cpp.
|
private |
|
staticprivate |
A ParameterList that holds all valid parameters and their default values.
Definition at line 119 of file MueLu_MasterList.hpp.
|
staticprivate |
String equivalent of the masterList_.
Definition at line 121 of file MueLu_MasterList.hpp.
|
staticprivate |
A ParameterList that holds all valid parameters and their default values for a particular problem type.
Definition at line 123 of file MueLu_MasterList.hpp.
|
staticprivate |
The problem type associated with the current problem-specific ParameterList.
Definition at line 125 of file MueLu_MasterList.hpp.
|
staticprivate |
Map of string equivalents of the problemSpecificList_. The first entry is the problem type, the second is the string equivalent.
Definition at line 127 of file MueLu_MasterList.hpp.
|
staticprivate |
Map of ML parameter strings to corresponding MueLu parametes.
Definition at line 129 of file MueLu_MasterList.hpp.