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
cc9a77f9
Commit
cc9a77f9
authored
12 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Removed deprecation warnings.
[[Imported from SVN: r1565]]
parent
45e5e725
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/comm/buildindexset.hh
+5
-5
5 additions, 5 deletions
doc/comm/buildindexset.hh
doc/comm/indexset.cc
+2
-5
2 additions, 5 deletions
doc/comm/indexset.cc
doc/comm/poosc08.cc
+2
-2
2 additions, 2 deletions
doc/comm/poosc08.cc
doc/comm/poosc08_test.cc
+6
-6
6 additions, 6 deletions
doc/comm/poosc08_test.cc
with
15 additions
and
18 deletions
doc/comm/buildindexset.hh
+
5
−
5
View file @
cc9a77f9
...
...
@@ -5,8 +5,8 @@
#define BUILDINDEXSET_HH
#include
<dune/
ist
l/indexset.hh>
#include
<dune/
ist
l/plocalindex.hh>
#include
<dune/
common/paralle
l/indexset.hh>
#include
<dune/
common/paralle
l/plocalindex.hh>
/**
* @brief Flag for marking the indices.
...
...
@@ -23,9 +23,9 @@ typedef Dune::ParallelLocalIndex<Flag> LocalIndex;
template
<
class
C
,
class
TG
,
int
N
>
void
build
(
C
&
comm
,
Dune
::
ParallelIndexSet
<
TG
,
LocalIndex
,
N
>&
indexSet
)
{
//
// The number of processes
int
size
=
comm
.
size
();
// The rank of our process
int
rank
=
comm
.
rank
();
...
...
This diff is collapsed.
Click to expand it.
doc/comm/indexset.cc
+
2
−
5
View file @
cc9a77f9
...
...
@@ -4,8 +4,8 @@
#include
"config.h"
#include
<dune/
ist
l/indexset.hh>
#include
<dune/
ist
l/plocalindex.hh>
#include
<dune/
common/paralle
l/indexset.hh>
#include
<dune/
common/paralle
l/plocalindex.hh>
#include
<iostream>
#include
"dune/common/mpihelper.hh"
#include
"buildindexset.hh"
...
...
@@ -17,9 +17,6 @@ int main(int argc, char **argv)
// initialize mpi first.
Dune
::
MPIHelper
&
helper
=
Dune
::
MPIHelper
::
instance
(
argc
,
argv
);
// The number of processes
int
size
=
helper
.
size
();
// The rank of our process
int
rank
=
helper
.
rank
();
...
...
This diff is collapsed.
Click to expand it.
doc/comm/poosc08.cc
+
2
−
2
View file @
cc9a77f9
...
...
@@ -6,8 +6,8 @@
#include
<iostream>
#include
<dune/common/mpihelper.hh>
// An initializer of MPI
#include
<dune/common/exceptions.hh>
// We use exceptions
#include
<dune/
ist
l/indexset.hh>
#include
<dune/
ist
l/plocalindex.hh>
#include
<dune/
common/paralle
l/indexset.hh>
#include
<dune/
common/paralle
l/plocalindex.hh>
enum
Flags
{
owner
,
ghost
};
...
...
This diff is collapsed.
Click to expand it.
doc/comm/poosc08_test.cc
+
6
−
6
View file @
cc9a77f9
...
...
@@ -6,11 +6,11 @@
#include
<iostream>
#include
<dune/common/mpihelper.hh>
// An initializer of MPI
#include
<dune/common/exceptions.hh>
// We use exceptions
#include
<dune/
ist
l/indexset.hh>
#include
<dune/
ist
l/remoteindices.hh>
#include
<dune/
ist
l/communicator.hh>
#include
<dune/
ist
l/plocalindex.hh>
#include
<dune/
ist
l/interface.hh>
#include
<dune/
common/paralle
l/indexset.hh>
#include
<dune/
common/paralle
l/remoteindices.hh>
#include
<dune/
common/paralle
l/communicator.hh>
#include
<dune/
common/paralle
l/plocalindex.hh>
#include
<dune/
common/paralle
l/interface.hh>
#include
<dune/common/enumset.hh>
enum
Flags
{
owner
,
ghost
};
...
...
@@ -136,7 +136,7 @@ int main(int argc, char** argv)
//Maybe initialize Mpi
MPIHelper
&
helper
=
MPIHelper
::
instance
(
argc
,
argv
);
std
::
cout
<<
"Hello World! This is poosc08.
"
<<
std
::
endl
;
std
::
cout
<<
"Hello World! This is poosc08.
rank="
<<
helper
.
rank
()
<<
std
::
endl
;
if
(
Dune
::
MPIHelper
::
isFake
)
std
::
cout
<<
"This is a sequential program."
<<
std
::
endl
;
else
{
...
...
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