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
63683d59
Commit
63683d59
authored
May 18, 2022
by
Carsten Gräser
Browse files
Implement BoxConstrainedQuadraticDirectionalRestriction::operator()
parent
1a8a1c71
Pipeline
#50148
passed with stage
in 8 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dune/tnnmg/functionals/boxconstrainedquadraticfunctional.hh
View file @
63683d59
...
...
@@ -212,7 +212,9 @@ public:
Range
operator
()(
const
Vector
&
v
)
const
{
DUNE_THROW
(
Dune
::
NotImplemented
,
"Evaluation of QuadraticCoordinateRestriction not implemented"
);
if
(
checkInsideBox
(
v
,
lowerObstacle
(),
upperObstacle
()))
return
Base
::
operator
()(
v
);
return
std
::
numeric_limits
<
Range
>::
max
();
}
const
LowerObstacle
&
lowerObstacle
()
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