Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MoReFEM
CoreLibrary
MoReFEM
Commits
2c48fb54
Commit
2c48fb54
authored
Jul 29, 2016
by
GILLES Sebastien
Browse files
#820
Put back the Newton FP loop (only one call was done previously...).
parent
e5c426d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Sources/ModelInstances/UnderDevelopment/Poromechanics/ImplicitStepFluid/VariationalFormulation.hxx
View file @
2c48fb54
...
...
@@ -71,7 +71,19 @@ namespace HappyHeart
auto
&
newton_fp_index
=
variable_holder
.
newton_fp_index
;
newton_fp_index
=
0u
;
double
absolute_error
=
1.e20
;
double
relative_error
=
1.e20
;
while
(
absolute_error
>
1.e-10
&&
relative_error
>
1.e-6
&&
newton_fp_index
<
2u
)
// \todo #820 Should not remain hardcoded!
// \todo #820 iteration index sup value is obviously temporary for dev purposes...
// \todo Absolute and relative error should be recomputed!
{
std
::
cout
<<
"NEWTON FP LOOP"
<<
std
::
endl
;
current_norm
=
inner_varf
.
Perform
();
++
newton_fp_index
;
}
// Update fluidmass, velocity fluid and pressure.
Wrappers
::
Petsc
::
MatMult
(
inner_varf
.
GetMonolithic2Mass
().
GetInterpolationMatrix
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment