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
0bf1064a
Commit
0bf1064a
authored
13 years ago
by
Elias Pipping
Committed by
Elias Pipping
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
We have the correct coordinate system
parent
ff007409
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dune/tectonic/globalnonlinearity.hh
+0
-1
0 additions, 1 deletion
dune/tectonic/globalnonlinearity.hh
dune/tectonic/localnonlinearity.hh
+0
-1
0 additions, 1 deletion
dune/tectonic/localnonlinearity.hh
src/TODO.org
+0
-1
0 additions, 1 deletion
src/TODO.org
with
0 additions
and
3 deletions
dune/tectonic/globalnonlinearity.hh
+
0
−
1
View file @
0bf1064a
...
...
@@ -53,7 +53,6 @@ class GlobalNonlinearity {
for
(
size_t
i
=
0
;
i
<
u
.
size
();
++
i
)
{
Interval
<
double
>
D
;
auto
const
res
=
restriction
(
i
);
// TODO: is the coordinate system the right one here?
res
->
directionalSubDiff
(
u
[
i
],
v
[
i
],
D
);
subdifferential
[
0
]
+=
D
[
0
];
subdifferential
[
1
]
+=
D
[
1
];
...
...
This diff is collapsed.
Click to expand it.
dune/tectonic/localnonlinearity.hh
+
0
−
1
View file @
0bf1064a
...
...
@@ -43,7 +43,6 @@ template <int dimension> class LocalNonlinearity {
}
double
const
un
=
u
.
two_norm
();
double
const
ndotp
=
(
u
*
v
)
/
un
;
// Our coordinate system is now such that v is a unit vector!
if
(
ndotp
>
0
)
{
D
[
1
]
=
ndotp
*
func_
->
rightDifferential
(
un
);
D
[
0
]
=
ndotp
*
func_
->
leftDifferential
(
un
);
...
...
This diff is collapsed.
Click to expand it.
src/TODO.org
+
0
−
1
View file @
0bf1064a
* check if v should be normalised by default
* the subdifferentials for the nonlinearity are probably taken w.r.t a different coordinate system
* use nested iteration to obtain better iteration to start with
* fix up octave bindings (low-pri)
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