2
/** \example simple_stratimikos_example.cpp
4
Simple example program for how the
5
<tt>Stratimikos::DefaultLinearSolverBuilder</tt> class is used to take a
6
parameter list (e.g. read from a file) and use it so solve a linear system
7
read in as Epetra objects from a file.
12
<li><a href="simple__stratimikos__example_8cpp-example.html#simple_stratimikos_example_source_with_line_numbers">
13
Example program source (with line numbers)</a>
14
<li><a href="simple__stratimikos__example_8cpp-example.html#simple_stratimikos_example_cmndline_options">
15
Command-line options for the driver program</a>
16
<li><a href="simple__stratimikos__example_8cpp-example.html#simple_stratimikos_example_example_input">
17
Example input XML file</a>
18
<li><a href="simple__stratimikos__example_8cpp-example.html#simple_stratimikos_example_example_output">
19
Example program output</a>
22
<b><a name="simple_stratimikos_example_source_with_line_numbers">Example program source (with line numbers)</a></b>
24
\includelineno simple_stratimikos_example.cpp
26
<b><a name="simple_stratimikos_example_cmndline_options">Command-line options for the driver program</a></b>
28
\verbinclude simple_stratimikos_example.help.out
30
<b><a name="simple_stratimikos_example_example_input">Example input XML file</a></b>
32
Here is an example input XML file, called <tt>amesos.klu.xml</tt>, that
33
specifies that the KLU solver from Amesos be used to solve the linear system:
35
\verbinclude _amesos.klu.xml
37
<b><a name="simple_stratimikos_example_example_output">Example program output</a></b>
39
Sample output looks like when using the above <tt>amesos.klu.xml</tt> file as
40
input with a test system:
42
\verbinclude simple_stratimikos_example.amesos.klu.out
44
<b><a name="simple_stratimikos_example_source_without_line_numbers">Example program source (without line numbers)</a></b>
46
Here is the main driver program itself without line numbers:
50
/** \example test_single_stratimikos_solver.cpp
52
The bottom of this page shows a simple test program for how the
53
<tt>Stratimikos::DefaultLinearSolverBuilder</tt> class is used to take a
54
parameter list (e.g. read from a file) and use it to build
55
<tt>Thyra::LinearOpWithSolveFactory</tt> and
56
<tt>Thyra::PreconditionerFactoryBase</tt> objects.
58
The arguments that the testing program driver that calls this example are:
60
\verbinclude test_single_stratimikos_solver_driver.help.out
62
Sample output looks like:
64
\verbinclude test_single_stratimikos_solver_driver.FourByFour.belos.ifpack.out
66
Here is the main driver itself:
70
/** \example MixedOrderPhysicsBasedPreconditioner.cpp
74
/** \defgroup stratimikos_testing_grp Stratimikos testing code.