Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-tectonic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
podlesny
dune-tectonic
Commits
403aa801
Commit
403aa801
authored
4 years ago
by
podlesny
Browse files
Options
Downloads
Patches
Plain Diff
fix issue for no friction case
parent
c9c27dcf
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/tectonic/data-structures/friction/localfriction.hh
+1
-1
1 addition, 1 deletion
dune/tectonic/data-structures/friction/localfriction.hh
with
1 addition
and
1 deletion
dune/tectonic/data-structures/friction/localfriction.hh
+
1
−
1
View file @
403aa801
...
...
@@ -62,7 +62,7 @@ class WrappedScalarFriction : public LocalFriction<dimension> {
double
regularity
(
VectorType
const
&
x
)
const
override
{
auto
tangential_x
=
removeNormal
(
x
);
double
const
xnorm
=
tangential_x
.
two_norm
();
if
(
xnorm
<
=
0.0
)
if
(
xnorm
<
0.0
)
return
std
::
numeric_limits
<
double
>::
infinity
();
return
func_
.
regularity
(
xnorm
);
...
...
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