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
d337def0
Commit
d337def0
authored
1 year ago
by
Laura Stengel
Browse files
Options
Downloads
Patches
Plain Diff
print also max gamma_f now
parent
61b4efce
No related branches found
No related tags found
1 merge request
!260
i..
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/elasticity/assemble/IElasticity.cpp
+5
-1
5 additions, 1 deletion
src/elasticity/assemble/IElasticity.cpp
with
5 additions
and
1 deletion
src/elasticity/assemble/IElasticity.cpp
+
5
−
1
View file @
d337def0
...
...
@@ -83,13 +83,17 @@ void IElasticity::Finalize(Vectors &vecs) {
GetInvariant
(
vecs
[
0
],
vecs
[
2
]);
}
void
IElasticity
::
CalculateAndPrintMinGammaF
()
const
{
void
IElasticity
::
CalculateAndPrintMin
Max
GammaF
()
const
{
if
(
gammaEvaluation
.
empty
())
THROW
(
"gammaEvaluation is empty, should not be used!"
)
double
max_gamma
=
gammaEvaluation
[
0
][
0
];
double
min_gamma
=
gammaEvaluation
[
0
][
0
];
for
(
VectorField
v
:
gammaEvaluation
){
min_gamma
=
std
::
min
(
min_gamma
,
v
[
0
]);
max_gamma
=
std
::
max
(
max_gamma
,
v
[
0
]);
}
vout
(
0
)
<<
"minimal value of gamma_f is "
<<
min_gamma
<<
endl
;
vout
(
0
)
<<
"maximal value of gamma_f is "
<<
max_gamma
<<
endl
;
}
void
IElasticity
::
PointEvaluationGamma
(
const
std
::
string
&
varname
,
const
vector
<
Point
>
&
point
)
{
...
...
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