Skip to content

Commit

Permalink
Don't use INV for CaKernel code
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Mar 21, 2014
1 parent d706118 commit 32874e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/CodeGen/CaKernel.m
Expand Up @@ -149,9 +149,9 @@ CCTK_POINTER FUNCTION Device_GetVarI (CCTK_POINTER IN cctkGH, CCTK_INT IN vi, CC
DefineConstant["dt", DataType[], "params.cagh_dt"],
DefineConstant["t", DataType[], "params.cagh_time"],

DefineConstant["dxi", DataType[], "INV(dx)"],
DefineConstant["dyi", DataType[], "INV(dy)"],
DefineConstant["dzi", DataType[], "INV(dz)"],
DefineConstant["dxi", DataType[], "1.0/dx"],
DefineConstant["dyi", DataType[], "1.0/dy"],
DefineConstant["dzi", DataType[], "1.0/dz"],

DefineConstant["khalf", DataType[], "0.5"],
DefineConstant["kthird", DataType[], "1/3.0"],
Expand Down

0 comments on commit 32874e9

Please sign in to comment.