| 1 |
/*! \mainpage Amesos to %Thyra Linear Solver Adapters |
| 2 |
|
| 3 |
This doxygen collection documents a small amount of code that wraps |
| 4 |
<tt>Amesos_BaseSolver</tt> objects to implement the |
| 5 |
<tt>Thyra::LinearOpWithSolveBase</tt> and |
| 6 |
<tt>Thyra::LinearOpWithSolveFactoryBase</tt> interfaces. The subclass |
| 7 |
<tt>Thyra::AmesosLinearOpWithSolveFactory</tt> should be used by clients to |
| 8 |
manage the creation of <tt>Thyra::LinearOpWithSolveBase</tt> objects from |
| 9 |
<tt>Thyra::EpetraLinearOpBase</tt> objects. |
| 10 |
|
| 11 |
See \ref single_amesos_thyra_adapters_testing_prg_grp "this testing program" |
| 12 |
for how these adapters are used to take an <tt>Epetra_CrsMatrix</tt> and us it |
| 13 |
to create these linear solver objects. |
| 14 |
|
| 15 |
<ul> |
| 16 |
|
| 17 |
<li> \ref Amesos_Thyra_adapters_grp : Documents the basic wrapper code |
| 18 |
for turning Epetra objects into %Thyra objects. |
| 19 |
|
| 20 |
<li> \ref Amesos_Thyra_examples_grp : Gives some examples of the use of |
| 21 |
the Epetra to Thyra adapter code. |
| 22 |
|
| 23 |
</ul> |
| 24 |
|
| 25 |
*/ |
| 26 |
|
| 27 |
/** \defgroup Amesos_Thyra_adapters_grp Amesos to Thyra Linear Solver Adapter Code |
| 28 |
|
| 29 |
\section Amesos_Thyra_adapters_classes_sec Classes |
| 30 |
|
| 31 |
<ul> |
| 32 |
|
| 33 |
<li><tt>Thyra::AmesosLinearOpWithSolveFactory</tt> : A general concrete |
| 34 |
implementation of the <tt>Thyra::LinearOpWithSolveFactoryBase</tt> interface |
| 35 |
that creates <tt>Thyra::AmesosLinearOpWithSolve</tt> objects. |
| 36 |
|
| 37 |
<li><tt>Thyra::AmesosLinearOpWithSolve</tt> : A very general concrete |
| 38 |
implementation of the <tt>Thyra::LinearOpWithSolveBase</tt> interface. |
| 39 |
Clients should not create these objects directly but instead should use |
| 40 |
<tt>Thyra::AmesosLinearOpWithSolveFactory</tt> for that purpose. |
| 41 |
|
| 42 |
</ul> |
| 43 |
|
| 44 |
\section Amesos_Thyra_examples_sec Examples |
| 45 |
|
| 46 |
<ul> |
| 47 |
<li> \ref Amesos_Thyra_examples_grp |
| 48 |
</ul> |
| 49 |
|
| 50 |
*/ |
| 51 |
|
| 52 |
/** \defgroup Amesos_Thyra_examples_grp Assorted Amesos to Thyra Linear Solver Adapter Example Code |
| 53 |
|
| 54 |
\brief Below are links to example code that demonstrate various use cases for |
| 55 |
the %Amesos to %Thyra linear solver adapters: |
| 56 |
|
| 57 |
<ol> |
| 58 |
|
| 59 |
<li>\ref single_amesos_thyra_adapters_testing_prg_grp |
| 60 |
|
| 61 |
</ol> |
| 62 |
|
| 63 |
*/ |
| 64 |
|
| 65 |
/** \defgroup single_amesos_thyra_adapters_testing_prg_grp Testing Program for the Amesos/Thyra Linear Solver Adapters. |
| 66 |
|
| 67 |
\ingroup Amesos_Thyra_examples_grp |
| 68 |
|
| 69 |
\brief Here we show a testing program that takes the %Amesos/%Thyra adatpers |
| 70 |
through the paces. |
| 71 |
|
| 72 |
Below is a complete listing of the testing function with line numbers: |
| 73 |
|
| 74 |
\includelineno ../thyra/test/test_single_amesos_thyra_solver.cpp |
| 75 |
|
| 76 |
*/ |
| 77 |
|
| 78 |
/** \example test_single_amesos_thyra_solver.cpp |
| 79 |
|
| 80 |
Click \ref single_amesos_thyra_adapters_testing_prg_grp "here" for a more |
| 81 |
detailed discusion of this example/test program along with a listing which |
| 82 |
includes line numbers. |
| 83 |
|
| 84 |
*/ |