Commit 29075d9a authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#723 Remove a duplicate global vector.

parent 50c7644b
......@@ -279,8 +279,6 @@ namespace HappyHeart
GlobalVector::unique_ptr solid_displacement_after_SoF_ = nullptr;
GlobalVector::unique_ptr solid_displacement_after_dH_ = nullptr; // \todo #723 Add accessors if kept
GlobalVector::unique_ptr solid_displacement_evolution_in_SoF_ = nullptr;
GlobalVector::unique_ptr solid_displacement_evolution_in_SoF_on_interface_ = nullptr;
......
......@@ -134,9 +134,7 @@ namespace HappyHeart
solid_displacement_after_SoF_ =
std::make_unique<GlobalVector>(solid_displacement_before_SoF);
solid_displacement_after_dH_ =
std::make_unique<GlobalVector>(solid_displacement_before_SoF);
solid_displacement_previous_time_iteration_ =
std::make_unique<GlobalVector>(solid_displacement_before_SoF);
......
......@@ -48,9 +48,6 @@ namespace HappyHeart
UpdateSolidDisplacementAfterSoF();
solid_displacement_after_dH_->Copy(GetSolidDisplacementAfterSoF(), __FILE__, __LINE__);
Wrappers::Petsc::ShellMatrix<std::false_type, self>(mpi,
0u, 0u,
0u, 0u,
......@@ -64,7 +61,7 @@ namespace HappyHeart
template<class SolidVariationalFormulationPolicyT>
void Model<SolidVariationalFormulationPolicyT>::dH()
{
auto& solid_displacement_after_dH = *solid_displacement_after_dH_;
auto& solid_displacement_after_dH = GetNonCstSolidDisplacementAfterSoF();
UpdateSolidVelocityOnInterfaceAfterDiffFluidImplicitStep(GetSolidDisplacementEvolutionInSoFOnInterface());
UpdateFluidDirichletCondition();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment