Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is the meaning of regrid(0, time) in the AmrCoreAdv::timeStepNoSubcycling routine. #4099

Open
ztdepztdep opened this issue Aug 20, 2024 · 1 comment

Comments

@ztdepztdep
Copy link

ztdepztdep commented Aug 20, 2024

I do not understand why it only regrid level 0 grid in this call no matter the maxlevel i have set.

`// Advance all the levels with the same dt
void
AmrCoreAdv::timeStepNoSubcycling (Real time, int iteration)
{
    if (max_level > 0 && regrid_int > 0)  // We may need to regrid
    {
        if (istep[0] % regrid_int == 0)
        {
            regrid(0, time);
        }
    }
}`
@asalmgren
Copy link
Member

asalmgren commented Aug 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants