Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Timo Koch
dune-common
Commits
e4f9bcf1
Commit
e4f9bcf1
authored
20 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Added operator<< for VertexProperties.
[[Imported from SVN: r1460]]
parent
f8d00fe3
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
istl/paamg/dependency.hh
+8
-2
8 additions, 2 deletions
istl/paamg/dependency.hh
with
8 additions
and
2 deletions
istl/paamg/dependency.hh
+
8
−
2
View file @
e4f9bcf1
...
...
@@ -24,8 +24,6 @@ namespace Dune
* @brief Provides classes for initializing the link attributes of a matrix graph.
*/
class
EdgeProperties
;
/**
* @brief Class representing the properties of an ede in the matrix graph.
*
...
...
@@ -102,12 +100,15 @@ namespace Dune
*/
void
printFlags
()
const
;
};
/**
* @brief Class representing a node in the matrix graph.
*
* Contains methods for getting and setting node attributes.
*/
class
VertexProperties
{
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
VertexProperties
&
props
);
private:
enum
{
ISOLATED
,
VISITED
,
FRONT
,
EXCLUDED
,
SIZE
};
...
...
@@ -247,6 +248,11 @@ namespace Dune
}
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
VertexProperties
&
props
)
{
return
os
<<
props
.
flags_
;
}
inline
VertexProperties
::
VertexProperties
()
:
flags_
(
0
)
{}
...
...
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