Optimize and cleanup examples/charm++/load_balancing/stencil3d18/4818/5
commit0631c6f745b5d1452b3f50fc41613e9c1110cac4
authorNitin Bhat <nbhat4@illinois.edu>
Wed, 21 Nov 2018 17:49:12 +0000 (21 11:49 -0600)
committerNitin Bhat <nbhat4@illinois.edu>
Mon, 26 Nov 2018 22:07:20 +0000 (26 16:07 -0600)
tree41c71977d732ea141ce7fe686ea873365a23a908
parent8ead5867d191f3fdd732be262da042783b2838fe
Optimize and cleanup examples/charm++/load_balancing/stencil3d

Previously, the ghost arrays were allocated and deleted for every
iteration. With this commit, they are allocated once in the
constructor and reused for every iteration. This significantly
improves the execution time of the application.

Other changes include removing stray tabs and indenting the code.

Change-Id: I18d7b7fc8d2f0c97e13c8b2e18534e0d1f089802
examples/charm++/load_balancing/stencil3d/stencil3d.C
examples/charm++/load_balancing/stencil3d/stencil3d.ci