50 int main(
int argc,
char* argv[])
81 RCP<ParameterList> My_List =
rcp(
new ParameterList);
86 "Determines the maximum number of iterations in the solver");
90 "The tolerance used for the convergence check");
92 RCP<StringValidator> solverValidator =
93 rcp(
new StringValidator(tuple<std::string>(
"GMRES",
"CG",
"TFQMR")));
97 "The type of solver to use.",
100 Array<double> doubleArray( 10, 0.0 );
104 "The initial guess as a RCP to an array object.");
106 ParameterList& Prec_List = My_List->sublist(
109 "Sublist that defines the preconditioner.");
111 Prec_List.set(
"Type",
"ILU",
"The tpye of preconditioner to use");
115 "The tolerance below which entries from the"
116 "factorization are left out of the factors.");
int main(int argc, char *argv[])
A collection of functions and an Object that serve as the primary interface to the Optika package all...
A class that allows the user to create and customize their Optika GUI.
void setWindowIcon(const std::string &filePath)
Sets the window icon to the image specified in the filePath.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void setStyleSheet(const std::string &filePath)
Sets the QT style sheet that should be used for the GUI.
void setWindowTitle(const std::string &title)
Sets the title of the GUI window that is displayed to the user.
void exec()
Runs the GUI and gets the user input.
void setAboutInfo(const std::string &aboutInfo)
Adds the information specified to the about dialog of the GUI.