Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit 44b98107 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#965 Add missing UpdateGhosts.

parent 433d1701
......@@ -316,7 +316,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/HappyHeart/Data/Mesh/poromechanics_2x2.mesh',
mesh = '${HOME}/Codes/HappyHeart/Data/Mesh/poromechanics_6x6.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -343,7 +343,7 @@ Mesh2 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/HappyHeart/Data/Mesh/poromechanics_2x2.mesh',
mesh = '${HOME}/Codes/HappyHeart/Data/Mesh/poromechanics_6x6.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -127,6 +127,8 @@ namespace HappyHeart
}
out.UpdateGhosts(__FILE__, __LINE__);
#ifndef NDEBUG
Wrappers::Petsc::AssertNumericValues(rhs, __FILE__, __LINE__);
Wrappers::Petsc::AssertNumericValues(out, __FILE__, __LINE__);
......
......@@ -137,6 +137,8 @@ namespace HappyHeart
variable_holder.DevPrint<DevPhase::none>(ret,
"vector_from_explicit");
ret.UpdateGhosts(__FILE__, __LINE__);
return ret;
}
......
......@@ -495,9 +495,13 @@ namespace HappyHeart
vel_term,
__FILE__, __LINE__);
vel_term.UpdateGhosts(__FILE__, __LINE__);
GlobalVectorWithCoefficient contribution_with_coeff(contribution, 1.);
GetHybridVectorOperator().Assemble(std::make_tuple(std::ref(contribution_with_coeff)),
vel_term);
contribution.UpdateGhosts(__FILE__, __LINE__);
}
variable_holder.template DevPrint<DevPhase::newton_fp>(contribution,
......@@ -509,6 +513,8 @@ namespace HappyHeart
rhs,
__FILE__, __LINE__); // \todo #820 Remove this when intermediate step is discarded!
rhs.UpdateGhosts(__FILE__, __LINE__);
}
decltype(auto) robin_bc =
......@@ -519,8 +525,7 @@ namespace HappyHeart
rhs.UpdateGhosts(__FILE__, __LINE__);
variable_holder.template DevPrint<DevPhase::newton_fp>(rhs,
"rhs");
variable_holder.template DevPrint<DevPhase::newton_fp>(rhs, "rhs");
}
......@@ -551,6 +556,8 @@ namespace HappyHeart
contribution,
out,
__FILE__, __LINE__);
out.UpdateGhosts(__FILE__, __LINE__);
}
......
......@@ -306,7 +306,7 @@ namespace HappyHeart
solid_vector.UpdateGhosts(__FILE__, __LINE__);
variable_holder.template DevPrint<DevPhase::bare_implicit>(solid_vector,
"solid_velocity_vector");
"solid_velocity_vector");
}
// Load on the solid.
......
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