Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CardMech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
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
Show more breadcrumbs
KIT
Mpp
CardMech
Commits
9a7f17c7
Commit
9a7f17c7
authored
2 years ago
by
gt2651
Browse files
Options
Downloads
Patches
Plain Diff
fixed error
parent
5543dd3f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!184
added TestLinearBeamProblem and EnergyErrors for Discretizations and fixed...
Pipeline
#125075
passed
2 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mpp
+1
-1
1 addition, 1 deletion
mpp
src/elasticity/problem/BeamProblems.hpp
+2
-2
2 additions, 2 deletions
src/elasticity/problem/BeamProblems.hpp
test/elasticity/TestLinearBeamProblem.cpp
+1
-1
1 addition, 1 deletion
test/elasticity/TestLinearBeamProblem.cpp
with
4 additions
and
4 deletions
mpp
@
7d3a3a71
Compare
81460ecc
...
7d3a3a71
Subproject commit
81460ecc3efc4af97a8c05935f02f9abc14d4ed0
Subproject commit
7d3a3a710f7cae9f738accca6da7a6f5fb7cb2b1
This diff is collapsed.
Click to expand it.
src/elasticity/problem/BeamProblems.hpp
+
2
−
2
View file @
9a7f17c7
...
...
@@ -141,7 +141,7 @@ public:
Tensor
DeformationGradient
(
double
time
,
const
Point
&
x
)
const
override
;
VectorField
Load
(
double
time
,
const
Point
&
z
,
const
c
ell
&
c
)
const
{
VectorField
Load
(
double
time
,
const
Point
&
z
,
const
C
ell
&
c
)
const
override
{
return
VectorField
(
-
16.0
,
-
16.0
,
-
16.0
);
}
};
...
...
@@ -173,7 +173,7 @@ public:
Tensor
DeformationGradient
(
double
time
,
const
Point
&
x
)
const
override
;
VectorField
Load
(
double
time
,
const
Point
&
z
,
const
c
ell
&
c
)
const
{
VectorField
Load
(
double
time
,
const
Point
&
z
,
const
C
ell
&
c
)
const
override
{
return
VectorField
(
-
(
24
*
z
[
0
]
+
24
*
z
[
0
]),
-
(
24
*
z
[
1
]
+
24
*
z
[
1
]),
-
(
24
*
z
[
2
]
+
24
*
z
[
2
]));
}
};
...
...
This diff is collapsed.
Click to expand it.
test/elasticity/TestLinearBeamProblem.cpp
+
1
−
1
View file @
9a7f17c7
...
...
@@ -8,7 +8,7 @@
#include
"TestConfigurations.hpp"
constexpr
double
DIRICHLET_TEST_TOLERANCE
=
1e-6
;
constexpr
double
TOLERANCE
=
1e-1
1
;
constexpr
double
TOLERANCE
=
1e-1
0
;
struct
TestDirichletParameter
{
std
::
string
discretization
;
...
...
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