Skip to content

Commit

Permalink
Remove more macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts committed Jan 18, 2025
1 parent d177ce9 commit 47e2a23
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/arkode/CXX_xbraid/ark_heat2D_p_xbraid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@
#include "sunlinsol/sunlinsol_spgmr.h" // access to SPGMR SUNLinearSolver

// Macros for problem constants
#define PI SUN_RCONST(3.141592653589793238462643383279502884197169)
#define ZERO SUN_RCONST(0.0)
#define ONE SUN_RCONST(1.0)
#define TWO SUN_RCONST(2.0)
#define EIGHT SUN_RCONST(8.0)
#define PI SUN_RCONST(3.141592653589793238462643383279502884197169)
#define ZERO SUN_RCONST(0.0)
#define ONE SUN_RCONST(1.0)
#define TWO SUN_RCONST(2.0)

// Macro to access (x,y) location in 1D NVector array
#define IDX(x, y, n) ((n) * (y) + (x))
Expand Down

0 comments on commit 47e2a23

Please sign in to comment.