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
d6810b7f
Commit
d6810b7f
authored
11 years ago
by
Oliver Sander
Committed by
sander
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
export the types used for derivatives
[[Imported from SVN: r9306]]
parent
6fcdb0cc
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
+7
-4
7 additions, 4 deletions
dune/gfe/localgeodesicfefunction.hh
with
7 additions
and
4 deletions
dune/gfe/localgeodesicfefunction.hh
+
7
−
4
View file @
d6810b7f
...
@@ -39,6 +39,9 @@ class LocalGeodesicFEFunction
...
@@ -39,6 +39,9 @@ class LocalGeodesicFEFunction
friend
class
LocalGfeTestFunctionBasis
<
LocalFiniteElement
,
TargetSpace
>
;
friend
class
LocalGfeTestFunctionBasis
<
LocalFiniteElement
,
TargetSpace
>
;
public:
public:
/** \brief The type used for derivatives */
typedef
Dune
::
FieldMatrix
<
ctype
,
EmbeddedTangentVector
::
dimension
,
dim
>
DerivativeType
;
/** \brief Constructor
/** \brief Constructor
* \param localFiniteElement A Lagrangian finite element that provides the interpolation points
* \param localFiniteElement A Lagrangian finite element that provides the interpolation points
* \param coefficients Values of the function at the Lagrange points
* \param coefficients Values of the function at the Lagrange points
...
@@ -67,17 +70,17 @@ public:
...
@@ -67,17 +70,17 @@ public:
TargetSpace
evaluate
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
;
TargetSpace
evaluate
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
;
/** \brief Evaluate the derivative of the function */
/** \brief Evaluate the derivative of the function */
D
une
::
FieldMatrix
<
ctype
,
EmbeddedTangentVector
::
dimension
,
dim
>
evaluateDerivative
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
;
D
erivativeType
evaluateDerivative
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
;
/** \brief Evaluate the derivative of the function, if you happen to know the function value (much faster!)
/** \brief Evaluate the derivative of the function, if you happen to know the function value (much faster!)
\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
;
/** \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
,
EmbeddedTangentVector
::
dimension
,
dim
>
evaluateDerivativeFD
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
;
D
erivativeType
evaluateDerivativeFD
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
)
const
;
/** \brief Evaluate the derivative of the function value with respect to a coefficient */
/** \brief Evaluate the derivative of the function value with respect to a coefficient */
void
evaluateDerivativeOfValueWRTCoefficient
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
,
void
evaluateDerivativeOfValueWRTCoefficient
(
const
Dune
::
FieldVector
<
ctype
,
dim
>&
local
,
...
...
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