Skip to content
Snippets Groups Projects
Commit 9e4177da authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

bugfix: leave `pressure` in correct state when computing

parent 35ccb0cd
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -443,6 +443,7 @@ template <class rnumber, ...@@ -443,6 +443,7 @@ template <class rnumber,
void vorticity_equation<rnumber, be>::compute_pressure(field<rnumber, be, ONE> *pressure) void vorticity_equation<rnumber, be>::compute_pressure(field<rnumber, be, ONE> *pressure)
{ {
TIMEZONE("vorticity_equation::compute_pressure"); TIMEZONE("vorticity_equation::compute_pressure");
pressure->real_space_representation = false;
/* assume velocity is already in real space representation */ /* assume velocity is already in real space representation */
this->v[1]->real_space_representation = true; this->v[1]->real_space_representation = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment