Bugfix: correct rhok across processor boundaries

This commit is contained in:
Hrvoje Jasak 2016-04-25 12:16:46 +01:00
parent b5e0c156c2
commit 0ca922c6c6
2 changed files with 2 additions and 0 deletions

View file

@ -109,6 +109,7 @@ int main(int argc, char *argv[])
// Update density according to Boussinesq approximation // Update density according to Boussinesq approximation
rhok = 1.0 - beta*(T - TRef); rhok = 1.0 - beta*(T - TRef);
rhok.correctBoundaryConditions();
runTime.write(); runTime.write();

View file

@ -97,6 +97,7 @@ int main(int argc, char *argv[])
// Update density according to Boussinesq approximation // Update density according to Boussinesq approximation
rhok = 1.0 - beta*(T - TRef); rhok = 1.0 - beta*(T - TRef);
rhok.correctBoundaryConditions();
runTime.write(); runTime.write();