63 My_List->
set(
"Double pointer", pointer);
64 My_List->
set(
"Max Iters", 1550,
"Determines the maximum number of iterations in the solver");
65 My_List->
set(
"Tolerance", 1e-10,
"The tolerance used for the convergence check");
68 solverValidator =
rcp(
69 new StringToIntegralParameterEntryValidator<int>(
70 tuple<std::string>(
"GMRES",
"CG",
"TFQMR" )
77 ,
"The type of solver to use."
83 My_List->
set(
"Awesomeness", 5,
"Rate the awesomeness!!!", awesomenessValidator);
87 My_List->
set(
"Initial Guess", testArray,
"The initial guess as a RCP to an array object.");
90 Prec_List = My_List->
sublist(
"Preconditioner",
false,
"Sublist that defines the preconditioner.");
92 Prec_List.
set(
"Type",
"ILU",
"The tpye of preconditioner to use");
93 Prec_List.
set(
"Drop Tolerance", 1e-3
94 ,
"The tolerance below which entries from the\n""factorization are left out of the factors.");
98 writeParameterListToXmlOStream(*My_List, *out);
ParameterList & set(std::string const &name, T const &value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
A collection of functions and an Object that serve as the primary interface to the Optika package all...
RCP< ParameterList > sublist(const RCP< ParameterList > ¶mList, const std::string &name, bool mustAlreadyExist=false, const std::string &docString="")
void getInput(RCP< ParameterList > validParameters, RCP< DependencySheet > dependencySheet, void(*customFunc)(RCP< const ParameterList >))
Retreives the input for a Teuchos Parameter List using a GUI. Note the Parameter List will be edited...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void RUN_BASIC_OPTIKA_TESTS()
bool testArray(const int n, Teuchos::FancyOStream &out)
basic_FancyOStream< char > FancyOStream