Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MoReFEM
CoreLibrary
MoReFEM
Commits
f5f91e39
Commit
f5f91e39
authored
Nov 16, 2015
by
GILLES Sebastien
Browse files
#745
FSI/Newton: missing Assembly() call was added.
parent
27d9db63
Changes
4
Hide whitespace changes
Inline
Side-by-side
Sources/ModelInstances/FSI_EI/Newton/ModelForward.hxx
View file @
f5f91e39
...
...
@@ -226,7 +226,7 @@ namespace HappyHeart
auto
&
fluid_varf
=
GetNonCstImplicitStepFluidVariationalFormulation
();
const
auto
&
differential_fluid_residual
=
fluid_varf
.
ComputeResidual
(
-
1.
);
// to comply with Freefem's script.
std
::
cout
<<
this
->
MpiHappyHeart
().
GetRankPreffix
()
<<
"dH 33"
<<
std
::
endl
;
std
::
cout
<<
this
->
MpiHappyHeart
().
GetRankPreffix
()
<<
"dH 33"
<<
std
::
endl
;
const
auto
&
solid_varf
=
SolidVariationalFormulationPolicyT
::
GetVariationalFormulation
();
const
auto
&
solid_numbering_subset
=
solid_varf
.
GetNumberingSubset
();
...
...
@@ -248,6 +248,8 @@ namespace HappyHeart
god_of_dof
.
ApplyBoundaryCondition
(
dirichlet_bc
,
solid_residual
);
solid_residual
.
Assembly
(
__FILE__
,
__LINE__
);
GetNonCstDifferentialSolidSolver
().
SolveLinear
(
solid_tangent
,
solid_tangent
,
solid_residual
,
solution
,
...
...
Sources/ModelInstances/FSI_EI/Newton/main_newton.cpp
View file @
f5f91e39
...
...
@@ -81,10 +81,6 @@ int main(int argc, char ** argv)
{
ExceptionNS
::
PrintAndAbort
(
mpi
,
e
.
What
());
}
catch
(...)
{
std
::
cout
<<
"Here?"
<<
std
::
endl
;
}
}
catch
(
const
std
::
exception
&
e
)
{
...
...
Sources/Test/Operators/P1_to_P2/Model.cpp
View file @
f5f91e39
...
...
@@ -26,7 +26,6 @@ namespace HappyHeart
:
parent
(
mpi_ptr
,
input_parameter_data
),
output_directory_
(
Utilities
::
InputParameterListNS
::
Extract
<
InputParameter
::
Result
::
OutputDirectory
>::
Path
(
input_parameter_data
))
{
}
namespace
// anonymous
...
...
Sources/ThirdParty/Wrappers/Petsc/Matrix/MatrixOperations.hxx
View file @
f5f91e39
...
...
@@ -25,7 +25,7 @@ namespace HappyHeart
template
<
class
MatrixT
>
std
::
enable_if_t
<
std
::
is_base_of
<
Private
::
BaseMatrix
,
MatrixT
>::
value
,
void
>
MatMultTranspose
(
const
MatrixT
&
matrix
,
const
Vector
&
v1
,
Vector
&
v2
,
const
char
*
invoking_file
,
int
invoking_line
)
const
char
*
invoking_file
,
int
invoking_line
)
{
int
error_code
=
::
MatMultTranspose
(
matrix
.
Internal
(),
v1
.
Internal
(),
v2
.
Internal
());
if
(
error_code
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment