Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-tnnmg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
agnumpde
dune-tnnmg
Commits
0e9463c0
Commit
0e9463c0
authored
Jan 27, 2021
by
Lasse Hinrichsen
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix: include factor in subdiff
parent
0317e237
No related branches found
No related tags found
1 merge request
!25
WIP: Semilinear functional
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/tnnmg/functionals/semilinearfunctional.hh
+3
-1
3 additions, 1 deletion
dune/tnnmg/functionals/semilinearfunctional.hh
with
3 additions
and
1 deletion
dune/tnnmg/functionals/semilinearfunctional.hh
+
3
−
1
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
...
...
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
sign in
to comment