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
4944b927
Commit
4944b927
authored
1 month ago
by
Laura Stengel
Browse files
Options
Downloads
Patches
Plain Diff
changed start of using extrapolation
parent
29f92ab5
Branches
DebuggingDGBiventricle
No related tags found
No related merge requests found
Pipeline
#414208
passed
1 month ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/elasticity/solvers/IterativePressureSolver.cpp
+3
-3
3 additions, 3 deletions
src/elasticity/solvers/IterativePressureSolver.cpp
with
3 additions
and
3 deletions
src/elasticity/solvers/IterativePressureSolver.cpp
+
3
−
3
View file @
4944b927
...
...
@@ -33,7 +33,7 @@ bool IterativePressureSolver::Method(IElasticity &assemble, Vector &u) {
while
(
!
iteration
.
IsFinished
())
{
int
n
=
iteration
.
Step
();
if
(
n
>
1
)
{
if
(
n
>
0
)
{
uOld
=
uNew
;
// u^{n-1}
}
...
...
@@ -55,8 +55,8 @@ bool IterativePressureSolver::Method(IElasticity &assemble, Vector &u) {
return
Method
(
assemble
,
u
);
return
false
;
}
// Extrapolation ab n =
2
if
(
useExtrapolation
&&
n
>=
2
)
{
// Extrapolation ab n =
1
if
(
useExtrapolation
&&
n
>=
1
)
{
deltaU
=
uNew
-
uOld
;
uNew
+=
dampingExtrapolation
*
deltaU
;
}
...
...
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