Skip to content

Commit

Permalink
fixed bug in UU floor, still an issue with GRMHD monopole
Browse files Browse the repository at this point in the history
  • Loading branch information
achael committed Mar 3, 2022
1 parent 04ebb94 commit 17bbfdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PROBLEMS/MONOPOLE_2D/define.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#define CORRECT_POLARAXIS
#define NCCORRECTPOLAR 2

#define B2RHOFLOORFRAME DRIFTFRAME // ZAMOFRAME
#define B2RHOFLOORFRAME ZAMOFRAME
#define UURHORATIOMIN 0.
#define UURHORATIOMAX 50.
#define B2UURATIOMIN 0.
Expand Down
2 changes: 1 addition & 1 deletion u2p.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ check_floors_mhd(ldouble *pp, int whichvel,void *ggg)
}

if(verbose) {printf("hd_floors CASE 2 at (%d,%d,%d | %d,%d,%d): %e %e | tijk: %d %d %d\n",geom->ix+TOI,geom->iy+TOJ,geom->iz+TOK,geom->ix,geom->iy,geom->iz,pp[RHO],pp[UU],TI,TJ,TK);}//getchar();}
pp[UU]=UURHORATIOMIN*pp[UU]; //increasing uint
pp[UU]=UURHORATIOMIN*pp[RHO]; //increasing uint


ret=-1;
Expand Down

0 comments on commit 17bbfdc

Please sign in to comment.