Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-istl
Commits
12328ccf
Commit
12328ccf
authored
12 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
Fix Doxygen warnings in io.hh.
[[Imported from SVN: r1730]]
parent
b9b77fef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/io.hh
+43
-29
43 additions, 29 deletions
dune/istl/io.hh
with
43 additions
and
29 deletions
dune/istl/io.hh
+
43
−
29
View file @
12328ccf
...
...
@@ -40,10 +40,11 @@ namespace Dune {
// pretty printing of vectors
//
// recursively print all the blocks
/**
* \brief Recursively print all the blocks
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
template
<
class
V
>
...
...
@@ -55,10 +56,11 @@ namespace Dune {
recursive_printvector
(
s
,
*
i
,
rowtext
,
counter
,
columns
,
width
,
precision
);
}
// recursively print all the blocks -- specialization for FieldVector
/**
* \brief Recursively print all the blocks -- specialization for FieldVector
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
template
<
class
K
,
int
n
>
...
...
@@ -86,10 +88,11 @@ namespace Dune {
}
//! print an ISTL vector
/**
* \brief Print an ISTL vector
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
template
<
class
V
>
...
...
@@ -130,10 +133,11 @@ namespace Dune {
// pretty printing of matrices
//
//! print a row of zeros for a non-existing block
/**
* \brief Print a row of zeros for a non-existing block
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
inline
void
fill_row
(
std
::
ostream
&
s
,
int
m
,
int
width
,
int
precision
)
...
...
@@ -146,10 +150,11 @@ namespace Dune {
}
}
//! print one row of a matrix
/**
* \brief Print one row of a matrix
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
template
<
class
M
>
...
...
@@ -184,10 +189,11 @@ namespace Dune {
}
}
//! print one row of a matrix, specialization for FieldMatrix
/**
* \brief Print one row of a matrix, specialization for FieldMatrix
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
template
<
class
K
,
int
n
,
int
m
>
...
...
@@ -209,10 +215,11 @@ namespace Dune {
}
}
//! print one row of a matrix, specialization for FieldMatrix<K,1,1>
/**
* \brief Print one row of a matrix, specialization for FieldMatrix<K,1,1>
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
template
<
class
K
>
...
...
@@ -230,10 +237,11 @@ namespace Dune {
}
}
//! Prints a generic block matrix
/**
* \brief Print a generic block matrix
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
* \bug Empty rows and columns are omitted by this method. (FlySpray #7)
*/
...
...
@@ -274,10 +282,11 @@ namespace Dune {
s
.
precision
(
oldprec
);
}
//! Prints a BCRSMatrix with fixed sized blocks.
/**
* \brief Prints a BCRSMatrix with fixed sized blocks.
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*
* Only the nonzero entries will be printed as matrix blocks
...
...
@@ -393,10 +402,11 @@ namespace Dune {
};
}
// anonymous namespace
//! Helper method for the writeMatrixToMatlab routine.
/**
* \brief Helper method for the writeMatrixToMatlab routine.
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*
* This specialization for DiagonalMatrices ends the recursion
...
...
@@ -412,10 +422,11 @@ namespace Dune {
}
}
//! Helper method for the writeMatrixToMatlab routine.
/**
* \brief Helper method for the writeMatrixToMatlab routine.
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*
* This specialization for DiagonalMatrices ends the recursion
...
...
@@ -431,10 +442,11 @@ namespace Dune {
}
}
//! Helper method for the writeMatrixToMatlab routine.
/**
* \brief Helper method for the writeMatrixToMatlab routine.
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*
* This specialization for FieldMatrices ends the recursion
...
...
@@ -452,10 +464,11 @@ namespace Dune {
}
}
//! Helper method for the writeMatrixToMatlab routine.
/**
* \brief Helper method for the writeMatrixToMatlab routine.
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
*/
template
<
class
MatrixType
>
...
...
@@ -495,10 +508,11 @@ namespace Dune {
}
//! Writes sparse matrix in a Matlab-readable format
/**
* \brief Writes sparse matrix in a Matlab-readable format
*
* \code
*#include <dune/istl/io.hh>
*
#include <dune/istl/io.hh>
* \endcode
* This routine writes the argument BCRSMatrix to a file with the name given
* by the filename argument. The file format is ASCII, with no header, and
...
...
@@ -507,7 +521,7 @@ namespace Dune {
* 1), and the matrix entry. Such a file can be read from Matlab using the
* command
* \code
new_mat = spconvert(load('filename'));
*
new_mat = spconvert(load('filename'));
* \endcode
* @param matrix reference to matrix
* @param filename
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment