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
d12b1462
Commit
d12b1462
authored
13 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Included missing headers. make headercheck runs through now.
[[Imported from SVN: r1487]]
parent
cea00dc1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/istl/matrixmarket.hh
+28
-3
28 additions, 3 deletions
dune/istl/matrixmarket.hh
dune/istl/paamg/parameters.hh
+3
-0
3 additions, 0 deletions
dune/istl/paamg/parameters.hh
with
31 additions
and
3 deletions
dune/istl/matrixmarket.hh
+
28
−
3
View file @
d12b1462
...
...
@@ -11,12 +11,37 @@
#include
<ios>
#include
"matrixutils.hh"
#include
"bcrsmatrix.hh"
#include
"owneroverlapcopy.hh"
#include
<dune/common/fmatrix.hh>
#include
<dune/common/tuples.hh>
#include
<dune/common/misc.hh>
namespace
Dune
{
/**
* @defgroup ISTL_IO IO for matrices and vectors.
* @ingroup ISTL_SPMV
* @brief Provides methods for reading and writing matrices and vectors
* in various formats.
*
*
* Routine printmatix prints a (sparse matrix with all entries (even zeroes).
* Function printvector prints a vector to a stream.
* PrintSparseMatrix prints a sparse matrix omitting all nonzeroes.
* With writeMatrixToMatlab one can write a matrix in a Matlab readable format.
* Using storeMartrixMarket and loadMatrixMarket one can store and load a parallel ISTL
* matrix in MatrixMarket format.
*
* @addtogroup ISTL_IO
* @{
*/
/** @file
* @author Markus Blatt
* @brief Provides classes for reading and writing MatrixMarket Files with
* an extension for parallel matrices.
*/
namespace
{
/**
...
...
@@ -945,7 +970,7 @@ namespace Dune
for
(
Iterator
iter
=
comm
.
indexSet
().
begin
();
iter
!=
comm
.
indexSet
().
end
();
++
iter
)
{
file
<<
iter
->
global
()
<<
" "
<<
(
std
::
size_t
)
iter
->
local
()
<<
" "
<<
(
char
)
iter
->
local
().
attribute
()
<<
" "
<<
(
int
)
iter
->
local
().
isPublic
()
<<
std
::
endl
;
<<
(
int
)
iter
->
local
().
attribute
()
<<
" "
<<
(
int
)
iter
->
local
().
isPublic
()
<<
std
::
endl
;
}
// Store neighbour information for efficient remote indices setup.
file
<<
"neighbours:"
;
...
...
@@ -1008,7 +1033,7 @@ namespace Dune
file
>>
g
;
std
::
size_t
l
;
file
>>
l
;
char
c
;
int
c
;
file
>>
c
;
bool
b
;
file
>>
b
;
...
...
@@ -1033,6 +1058,6 @@ namespace Dune
}
comm
.
ri
.
template
rebuild
<
false
>();
}
/** @} */
}
#endif
This diff is collapsed.
Click to expand it.
dune/istl/paamg/parameters.hh
+
3
−
0
View file @
d12b1462
...
...
@@ -2,6 +2,9 @@
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_AMG_PARAMETERS_HH
#define DUNE_AMG_PARAMETERS_HH
#include
<cstddef>
namespace
Dune
{
namespace
Amg
...
...
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