|
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...
|
|
static int | SetDefaults (std::string ProblemType, Teuchos::ParameterList &List, int *options=0, double *params=0, const bool OverWrite=true) |
| Sets ML's (not MueLu's) default parameters for aggregation-based preconditioners. More...
|
|
static int | SetDefaultsDD (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets default parameters for aggregation-based 2-level domain decomposition preconditioners. More...
|
|
static int | SetDefaultsDD_LU (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets default parameters for aggregation-based 2-level domain decomposition preconditioners, using LU on each subdomain. More...
|
|
static int | SetDefaultsDD_3Levels (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets default parameters for aggregation-based 3-level domain decomposition preconditioners. More...
|
|
static int | SetDefaultsDD_3Levels_LU (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets default parameters for aggregation-based 3-level domain decomposition preconditioners with LU. More...
|
|
static int | SetDefaultsMaxwell (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets default parameters for the eddy current equations equations. More...
|
|
static int | SetDefaultsSA (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets default parameters for classical smoothed aggregation. More...
|
|
static int | SetDefaultsNSSA (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets defaults for energy minimization preconditioning for nonsymmetric problems. More...
|
|
static int | SetDefaultsClassicalAMG (Teuchos::ParameterList &List, Teuchos::RCP< std::vector< int > > &options, Teuchos::RCP< std::vector< double > > ¶ms, bool Overwrite=true) |
| Sets defaults for classical amg. More...
|
|
static int | SetDefaultsRefMaxwell (Teuchos::ParameterList &inList, bool OverWrite=true) |
| Sets defaults for RefMaxwell / Maxwell2. 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 33 of file MueLu_ML2MueLuParameterTranslator.hpp.
int MueLu::ML2MueLuParameterTranslator::SetDefaults |
( |
std::string |
ProblemType, |
|
|
Teuchos::ParameterList & |
List, |
|
|
int * |
options = 0 , |
|
|
double * |
params = 0 , |
|
|
const bool |
OverWrite = true |
|
) |
| |
|
static |
Sets ML's (not MueLu's) default parameters for aggregation-based preconditioners.
This function is use to set ML's default parameters, as defined in ml_MultiLevelPreconditioner.h. This has been ported to MueLu as a backwards compatibility feature for ML users transitioning to MueLu. These routines are designed to be used with or without compiling ML.
NOTE: MueLu's SetDefaults does NOT support the AztecOO options supported by ML.
- Parameters
-
ProblemType | (In) : a std::string, whose possible values are:
- "SA" : classical smoothed aggregation preconditioners;
- "NSSA" : default values for Petrov-Galerkin preconditioner for nonsymmetric systems
- "maxwell" : default values for aggregation preconditioner for eddy current systems
- "DD" : defaults for 2-level domain decomposition preconditioners based on aggregation;
- "DD-LU" : Like "DD", but use exact LU decompositions on each subdomain;
- "DD-ML" : 3-level domain decomposition preconditioners, with coarser spaces defined by aggregation;
|
- "DD-ML-LU" : Like "DD-ML", but with LU decompositions on each subdomain.
- Parameters
-
List | (Out) : list which will populated by the default parameters |
options | (In/Out) : integer array, of size AZ_OPTIONS_SIZE . NOTE: MueLu will ignore this parameter. |
params | (In/Out) : double array, of size AZ_PARAMS_SIZE . NOTE: MueLu will ignore this parameter. |
OverWrite | (In) : boolean. If false, any pre-existing values in the parameter list will be preserved. Default value is true, i.e., any pre-existing values may be overwritten. |
Definition at line 535 of file MueLu_ML2MueLuParameterTranslator.cpp.