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
b35ecad3
Commit
b35ecad3
authored
11 years ago
by
Oliver Sander
Committed by
sander
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
export DerivativeType also for the RigidBody specialization
[[Imported from SVN: r9381]]
parent
b098d104
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/gfe/localgeodesicfefunction.hh
+6
-3
6 additions, 3 deletions
dune/gfe/localgeodesicfefunction.hh
with
6 additions
and
3 deletions
dune/gfe/localgeodesicfefunction.hh
+
6
−
3
View file @
b35ecad3
...
@@ -604,6 +604,9 @@ class LocalGeodesicFEFunction<dim,ctype,LocalFiniteElement,RigidBodyMotion<doubl
...
@@ -604,6 +604,9 @@ class LocalGeodesicFEFunction<dim,ctype,LocalFiniteElement,RigidBodyMotion<doubl
public:
public:
/** \brief The type used for derivatives */
typedef
Dune
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
DerivativeType
;
/** \brief The type used for derivatives of the gradient with respect to coefficients */
/** \brief The type used for derivatives of the gradient with respect to coefficients */
typedef
Tensor3
<
ctype
,
embeddedDim
,
embeddedDim
,
dim
>
DerivativeOfGradientWRTCoefficientType
;
typedef
Tensor3
<
ctype
,
embeddedDim
,
embeddedDim
,
dim
>
DerivativeOfGradientWRTCoefficientType
;
...
@@ -656,7 +659,7 @@ public:
...
@@ -656,7 +659,7 @@ public:
}
}
/** \brief Evaluate the derivative of the function */
/** \brief Evaluate the derivative of the function */
D
une
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
evaluateDerivative
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
D
erivativeType
evaluateDerivative
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
{
{
Dune
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
result
(
0
);
Dune
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
result
(
0
);
...
@@ -681,7 +684,7 @@ public:
...
@@ -681,7 +684,7 @@ public:
\param local Local coordinates in the reference element where to evaluate the derivative
\param local Local coordinates in the reference element where to evaluate the derivative
\param q Value of the local gfe function at 'local'. If you provide something wrong here the result will be wrong, too!
\param q Value of the local gfe function at 'local'. If you provide something wrong here the result will be wrong, too!
*/
*/
D
une
::
FieldMatrix
<
ctype
,
EmbeddedTangentVector
::
dimension
,
dim
>
evaluateDerivative
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
,
D
erivativeType
evaluateDerivative
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
,
const
TargetSpace
&
q
)
const
const
TargetSpace
&
q
)
const
{
{
Dune
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
result
(
0
);
Dune
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
result
(
0
);
...
@@ -704,7 +707,7 @@ public:
...
@@ -704,7 +707,7 @@ public:
}
}
/** \brief For debugging: Evaluate the derivative of the function using a finite-difference approximation*/
/** \brief For debugging: Evaluate the derivative of the function using a finite-difference approximation*/
D
une
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
evaluateDerivativeFD
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
D
erivativeType
evaluateDerivativeFD
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
{
{
Dune
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
result
(
0
);
Dune
::
FieldMatrix
<
ctype
,
embeddedDim
,
dim
>
result
(
0
);
...
...
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