AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
503 stars 336 forks source link

New FillPatch function: FillPatchNLevels #3974

Closed WeiqunZhang closed 3 weeks ago

WeiqunZhang commented 3 weeks ago

The existing FillPatchSingleLevel fills with the data from the same AMR level, and FillPatchTwoLevels fills with the data form the same AMR level and the coarse level below if needed. This new function will go down the AMR levels as deep as necessary.