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
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
Patrick Jaap
dune-istl
Commits
59828c99
Commit
59828c99
authored
3 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[operators][cleanup] Use override keyword
parent
d6293dac
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/operators.hh
+4
-4
4 additions, 4 deletions
dune/istl/operators.hh
with
4 additions
and
4 deletions
dune/istl/operators.hh
+
4
−
4
View file @
59828c99
...
...
@@ -147,25 +147,25 @@ namespace Dune {
explicit
MatrixAdapter
(
std
::
shared_ptr
<
const
M
>
A
)
:
_A_
(
A
)
{}
//! apply operator to x: \f$ y = A(x) \f$
virtual
void
apply
(
const
X
&
x
,
Y
&
y
)
const
void
apply
(
const
X
&
x
,
Y
&
y
)
const
override
{
_A_
->
mv
(
x
,
y
);
}
//! apply operator to x, scale and add: \f$ y = y + \alpha A(x) \f$
virtual
void
applyscaleadd
(
field_type
alpha
,
const
X
&
x
,
Y
&
y
)
const
void
applyscaleadd
(
field_type
alpha
,
const
X
&
x
,
Y
&
y
)
const
override
{
_A_
->
usmv
(
alpha
,
x
,
y
);
}
//! get matrix via *
virtual
const
M
&
getmat
()
const
const
M
&
getmat
()
const
override
{
return
*
_A_
;
}
//! Category of the solver (see SolverCategory::Category)
virtual
SolverCategory
::
Category
category
()
const
SolverCategory
::
Category
category
()
const
override
{
return
SolverCategory
::
sequential
;
}
...
...
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