Castro icon indicating copy to clipboard operation
Castro copied to clipboard

New sources should not need old state information

Open maxpkatz opened this issue 1 year ago • 0 comments

The new-time (corrector) sources use Sborder to compute (1/2) source_old to subtract. But we already store source_old in a MultiFab that is in scope at the time we call do_new_sources(), so we ought to be able to use that MultiFab directly to compute the old-time part of the corrector. Reducing reliance on Sborder in this way may help toward reducing the memory footprint of #276.

maxpkatz avatar Jun 17 '23 15:06 maxpkatz