Skip to content

Commit

Permalink
initialize phi every iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjunee committed Jan 19, 2021
1 parent ec938f2 commit b5e8d62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/BFMIncomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,7 @@ class BackAndForthIncompressible:public BackAndForth{

C_phi_ = 1;
C_psi_ = 1;

if(outer_iter==0) initialize_phi(helper_f,mu); // intiailize phi in the first outer iteration
initialize_phi(helper_f,mu); // intiailize phi in the first outer iteration

double solution_error = 1;

Expand Down

0 comments on commit b5e8d62

Please sign in to comment.