Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Sander, Oliver
dune-gfe
Commits
bddf6fe8
Commit
bddf6fe8
authored
10 years ago
by
Oliver Sander
Committed by
sander
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Implement projection onto normal space and the Weingarten map
[[Imported from SVN: r9845]]
parent
d48fcafb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/gfe/realtuple.hh
+10
-0
10 additions, 0 deletions
dune/gfe/realtuple.hh
dune/gfe/rotation.hh
+22
-0
22 additions, 0 deletions
dune/gfe/rotation.hh
with
32 additions
and
0 deletions
dune/gfe/realtuple.hh
+
10
−
0
View file @
bddf6fe8
...
...
@@ -147,6 +147,16 @@ public:
return
v
;
}
/** \brief Project tangent vector of R^n onto the normal space space */
EmbeddedTangentVector
projectOntoNormalSpace
(
const
EmbeddedTangentVector
&
v
)
const
{
return
EmbeddedTangentVector
(
0
);
}
/** \brief The Weingarten map */
EmbeddedTangentVector
weingarten
(
const
EmbeddedTangentVector
&
z
,
const
EmbeddedTangentVector
&
v
)
const
{
return
EmbeddedTangentVector
(
0
);
}
/** \brief The global coordinates, if you really want them */
const
Dune
::
FieldVector
<
T
,
N
>&
globalCoordinates
()
const
{
return
data_
;
...
...
This diff is collapsed.
Click to expand it.
dune/gfe/rotation.hh
+
22
−
0
View file @
bddf6fe8
...
...
@@ -994,6 +994,28 @@ public:
return
result
;
}
/** \brief Project tangent vector of R^n onto the normal space space */
EmbeddedTangentVector
projectOntoNormalSpace
(
const
EmbeddedTangentVector
&
v
)
const
{
Dune
::
FieldVector
<
T
,
4
>
data
=
*
this
;
T
sp
=
v
*
data
;
EmbeddedTangentVector
result
=
*
this
;
result
*=
sp
;
return
result
;
}
/** \brief The Weingarten map */
EmbeddedTangentVector
weingarten
(
const
EmbeddedTangentVector
&
z
,
const
EmbeddedTangentVector
&
v
)
const
{
EmbeddedTangentVector
result
;
T
sp
=
v
*
(
*
this
);
for
(
int
i
=
0
;
i
<
embeddedDim
;
i
++
)
result
[
i
]
=
-
sp
*
z
[
i
];
return
result
;
}
/** \brief The global coordinates, if you really want them */
const
CoordinateType
&
globalCoordinates
()
const
{
return
*
this
;
...
...
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