Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-elasticity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
agnumpde
dune-elasticity
Commits
300b67a9
Commit
300b67a9
authored
4 years ago
by
oliver.sander_at_tu-dresden.de
Browse files
Options
Downloads
Plain Diff
Merge branch 'ci-test-with-dune-2.7' into 'master'
[CI] Also test against Dune 2.7 See merge request
!60
parents
85132589
f10d311d
No related branches found
No related tags found
1 merge request
!60
[CI] Also test against Dune 2.7
Pipeline
#36764
passed
4 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+5
-0
5 additions, 0 deletions
.gitlab-ci.yml
dune/elasticity/materials/localintegralenergy.hh
+10
-0
10 additions, 0 deletions
dune/elasticity/materials/localintegralenergy.hh
src/CMakeLists.txt
+8
-2
8 additions, 2 deletions
src/CMakeLists.txt
with
23 additions
and
2 deletions
.gitlab-ci.yml
+
5
−
0
View file @
300b67a9
...
@@ -6,6 +6,11 @@ before_script:
...
@@ -6,6 +6,11 @@ before_script:
-
duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-fufem.git
-
duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-fufem.git
-
duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-solvers.git
-
duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-solvers.git
dune:2.7 gcc
:
image
:
registry.dune-project.org/docker/ci/dune:2.7-debian-10-gcc-8-17
before_script
:
script
:
duneci-standard-test
dune:git clang C++17
:
dune:git clang C++17
:
image
:
registry.dune-project.org/docker/ci/dune:git-debian-10-clang-7-libcpp-17
image
:
registry.dune-project.org/docker/ci/dune:git-debian-10-clang-7-libcpp-17
script
:
duneci-standard-test
script
:
duneci-standard-test
...
...
This diff is collapsed.
Click to expand it.
dune/elasticity/materials/localintegralenergy.hh
+
10
−
0
View file @
300b67a9
...
@@ -2,7 +2,10 @@
...
@@ -2,7 +2,10 @@
#define DUNE_ELASTICITY_MATERIALS_LOCALINTEGRALENERGY_HH
#define DUNE_ELASTICITY_MATERIALS_LOCALINTEGRALENERGY_HH
#include
<dune/common/fmatrix.hh>
#include
<dune/common/fmatrix.hh>
#include
<dune/common/version.hh>
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 8)
#include
<dune/common/transpose.hh>
#include
<dune/common/transpose.hh>
#endif
#include
<dune/geometry/quadraturerules.hh>
#include
<dune/geometry/quadraturerules.hh>
...
@@ -77,7 +80,14 @@ energy(const LocalView& localView,
...
@@ -77,7 +80,14 @@ energy(const LocalView& localView,
// compute gradients of base functions
// compute gradients of base functions
for
(
size_t
i
=
0
;
i
<
jacobians
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
jacobians
.
size
();
++
i
)
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 8)
jacobians
[
i
]
=
jacobians
[
i
]
*
transpose
(
geometryJacobianIT
);
jacobians
[
i
]
=
jacobians
[
i
]
*
transpose
(
geometryJacobianIT
);
#else
{
auto
referenceJacobian
=
jacobians
[
i
];
geometryJacobianIT
.
mv
(
referenceJacobian
[
0
],
jacobians
[
i
][
0
]);
}
#endif
// Deformation gradient
// Deformation gradient
FieldMatrix
<
field_type
,
gridDim
,
gridDim
>
deformationGradient
(
0
);
FieldMatrix
<
field_type
,
gridDim
,
gridDim
>
deformationGradient
(
0
);
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
8
−
2
View file @
300b67a9
if
(
ADOLC_FOUND AND IPOPT_FOUND AND PYTHONLIBS_FOUND AND dune-uggrid_FOUND
)
if
(
ADOLC_FOUND AND IPOPT_FOUND AND PYTHONLIBS_FOUND AND dune-uggrid_FOUND
)
set
(
programs finite-strain-elasticity
set
(
programs linear-elasticity
)
linear-elasticity
)
# When combining dune-common 2.7 and dune-fufem 2.8, no cmake test for the
# Python bindings is ever called (that's not a bug). In that case
# we simply skip building the one executable that needs Python.
if
(
NOT
(
${
dune-common_VERSION
}
VERSION_LESS_EQUAL
"2.7.9"
AND
${
dune-fufem_VERSION
}
VERSION_GREATER_EQUAL
"2.8.0"
))
set
(
programs
${
programs
}
finite-strain-elasticity
)
endif
()
foreach
(
_program
${
programs
}
)
foreach
(
_program
${
programs
}
)
add_executable
(
${
_program
}
${
_program
}
.cc
)
add_executable
(
${
_program
}
${
_program
}
.cc
)
...
...
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