Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
agnumpde
dune-tnnmg
Commits
0e9463c0
Commit
0e9463c0
authored
Jan 27, 2021
by
Lasse Hinrichsen
Browse files
Bugfix: include factor in subdiff
parent
0317e237
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/tnnmg/functionals/semilinearfunctional.hh
View file @
0e9463c0
...
...
@@ -217,7 +217,9 @@ public:
auto
subDifferential
(
double
pos
)
const
{
auto
shiftedPos
=
origin_
+
pos
;
return
phi_
.
subDifferential
(
shiftedPos
);
auto
sd
=
phi_
.
subDifferential
(
shiftedPos
);
sd
*=
weights_
;
return
sd
;
}
Range
operator
()(
Vector
x
)
const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment