Skip to content
Snippets Groups Projects
Commit 39bcd138 authored by Oliver Sander's avatar Oliver Sander
Browse files

[documentation] Minor doc improvements

parent d4e7f198
No related branches found
No related tags found
No related merge requests found
...@@ -171,6 +171,11 @@ namespace Dune { ...@@ -171,6 +171,11 @@ namespace Dune {
* precision and supports complex numbers * precision and supports complex numbers
* too (use std::complex<double> for that). * too (use std::complex<double> for that).
* *
* \tparam T Number type. Only double and std::complex<double> is supported
* \tparam A STL-compatible allocator type
* \tparam n Number of rows in a matrix block
* \tparam m Number of columns in a matrix block
*
* \note This will only work if dune-istl has been configured to use UMFPack * \note This will only work if dune-istl has been configured to use UMFPack
*/ */
template<typename T, typename A, int n, int m> template<typename T, typename A, int n, int m>
...@@ -198,7 +203,11 @@ namespace Dune { ...@@ -198,7 +203,11 @@ namespace Dune {
FieldVector<T,n>, FieldVector<T,n>,
typename A::template rebind<FieldVector<T,n> >::other> range_type; typename A::template rebind<FieldVector<T,n> >::other> range_type;
/** @brief construct a solver object from a BCRSMatrix /** @brief Construct a solver object from a BCRSMatrix
*
* This computes the matrix decomposition, and may take a long time
* (and use a lot of memory).
*
* @param mat_ the matrix to solve for * @param mat_ the matrix to solve for
* @param verbose [0..2] set the verbosity level, defaults to 0 * @param verbose [0..2] set the verbosity level, defaults to 0
*/ */
...@@ -213,6 +222,10 @@ namespace Dune { ...@@ -213,6 +222,10 @@ namespace Dune {
} }
/** @brief Constructor for compatibility with SuperLU standard constructor /** @brief Constructor for compatibility with SuperLU standard constructor
*
* This computes the matrix decomposition, and may take a long time
* (and use a lot of memory).
*
* @param mat_ the matrix to solve for * @param mat_ the matrix to solve for
* @param verbose [0..2] set the verbosity level, defaults to 0 * @param verbose [0..2] set the verbosity level, defaults to 0
*/ */
...@@ -240,8 +253,9 @@ namespace Dune { ...@@ -240,8 +253,9 @@ namespace Dune {
* @param mat_ the matrix to decompose when no decoposition file found * @param mat_ the matrix to decompose when no decoposition file found
* @param file the decomposition file * @param file the decomposition file
* @param verbose the verbosity level * @param verbose the verbosity level
* use saveDecomposition(char* file) for manually storing a decomposition. This constructor *
* will decompose mat_ and store the result to file if no file wasnt found in the first place. * Use saveDecomposition(char* file) for manually storing a decomposition. This constructor
* will decompose mat_ and store the result to file if no file wasn't found in the first place.
* Thus, if you always use this you will only compute the decomposition once (and when you manually * Thus, if you always use this you will only compute the decomposition once (and when you manually
* deleted the decomposition file). * deleted the decomposition file).
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment