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
1d3814c2
Commit
1d3814c2
authored
2 years ago
by
Lisa Julia Nebel
Browse files
Options
Downloads
Patches
Plain Diff
Do not scale the density functions with the thickness to avoid confusion
parent
59603290
No related branches found
Branches containing commit
No related tags found
2 merge requests
!118
Correct the dimension of the rotation and the deformation in the...
,
!110
Experiments with the sphere
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+5
-0
5 additions, 0 deletions
CHANGELOG.md
dune/gfe/cosseratenergystiffness.hh
+3
-3
3 additions, 3 deletions
dune/gfe/cosseratenergystiffness.hh
dune/gfe/nonplanarcosseratshellenergy.hh
+2
-2
2 additions, 2 deletions
dune/gfe/nonplanarcosseratshellenergy.hh
with
10 additions
and
5 deletions
CHANGELOG.md
+
5
−
0
View file @
1d3814c2
# Master
-
Do not scale the density functions with the thickness to avoid confusion
since some densities need to be scaled and some do not need to be scaled
with the thickness depending on the dimension of the grid, their direction
and their kind (Neumann or volume load).
-
Fix bug in the
`RealTuple::log`
method: Calling
`log(a,b)`
returned
`a-b`
instead of
`b-a`
.
...
...
This diff is collapsed.
Click to expand it.
dune/gfe/cosseratenergystiffness.hh
+
3
−
3
View file @
1d3814c2
...
...
@@ -371,7 +371,7 @@ energy(const typename Basis::LocalView& localView,
// Only translational dofs are affected by the volume load
for
(
size_t
i
=
0
;
i
<
volumeLoadDensity
.
size
();
i
++
)
energy
+=
thickness_
*
(
volumeLoadDensity
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
energy
+=
(
volumeLoadDensity
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
}
...
...
@@ -405,7 +405,7 @@ energy(const typename Basis::LocalView& localView,
// Only translational dofs are affected by the Neumann force
for
(
size_t
i
=
0
;
i
<
neumannValue
.
size
();
i
++
)
energy
+=
thickness_
*
(
neumannValue
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
energy
+=
(
neumannValue
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
}
...
...
@@ -544,7 +544,7 @@ energy(const typename Basis::LocalView& localView,
// Only translational dofs are affected by the Neumann force
for
(
size_t
i
=
0
;
i
<
neumannValue
.
size
();
i
++
)
energy
+=
thickness_
*
(
neumannValue
[
i
]
*
deformationValue
.
globalCoordinates
()[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
energy
+=
(
neumannValue
[
i
]
*
deformationValue
.
globalCoordinates
()[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
}
...
...
This diff is collapsed.
Click to expand it.
dune/gfe/nonplanarcosseratshellenergy.hh
+
2
−
2
View file @
1d3814c2
...
...
@@ -332,7 +332,7 @@ energy(const typename Basis::LocalView& localView,
// Only translational dofs are affected by the volume load
for
(
size_t
i
=
0
;
i
<
volumeLoadDensity
.
size
();
i
++
)
energy
+=
thickness_
*
(
volumeLoadDensity
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
energy
+=
(
volumeLoadDensity
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
}
...
...
@@ -365,7 +365,7 @@ energy(const typename Basis::LocalView& localView,
// Only translational dofs are affected by the Neumann force
for
(
size_t
i
=
0
;
i
<
neumannValue
.
size
();
i
++
)
energy
+=
thickness_
*
(
neumannValue
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
energy
+=
(
neumannValue
[
i
]
*
value
.
r
[
i
])
*
quad
[
pt
].
weight
()
*
integrationElement
;
}
}
...
...
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