Stratimikos Version of the Day
Loading...
Searching...
No Matches
simple_stratimikos_example.cpp

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

Example input XML file

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:

Example program output

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:


Generated for Stratimikos by doxygen 1.15.0