Skip to content

Commit

Permalink
128 128 6000 004
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetyusufoglu committed Oct 23, 2024
1 parent 6f932c2 commit 36f0dac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/heatEquation2D/src/heatEquation2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ auto example(TAccTag const&) -> int

// simulation defines
// {Y, X}
constexpr alpaka::Vec<Dim, Idx> numNodes{64, 64};
constexpr alpaka::Vec<Dim, Idx> numNodes{128, 128};
constexpr alpaka::Vec<Dim, Idx> haloSize{2, 2};
constexpr alpaka::Vec<Dim, Idx> extent = numNodes + haloSize;

constexpr uint32_t numTimeSteps = 4000;
constexpr double tMax = 0.1;
constexpr uint32_t numTimeSteps = 6000;
constexpr double tMax = 0.04;

// x, y in [0, 1], t in [0, tMax]
constexpr double dx = 1.0 / static_cast<double>(extent[1] - 1);
Expand Down

0 comments on commit 36f0dac

Please sign in to comment.