|
Stratimikos Version of the Day
|
Simple example program for how the Stratimikos::DefaultLinearSolverBuilder class is used to take a parameter list (e.g. read from a file) and use it so solve a linear system read in as Epetra objects from a file.
Outline
Example program source (with line numbers)
Command-line options for the driver program
Here is an example input XML file, called amesos.klu.xml, that specifies that the KLU solver from Amesos be used to solve the linear system:
Sample output looks like when using the above amesos.klu.xml file as input with a test system:
Example program source (without line numbers)
Here is the main driver program itself without line numbers:
1.15.0