Skip to content

move redist into amrex#3378

Merged
WeiqunZhang merged 32 commits intoAMReX-Codes:developmentfrom
asalmgren:move_redist_into_amrex
Jul 3, 2023
Merged

move redist into amrex#3378
WeiqunZhang merged 32 commits intoAMReX-Codes:developmentfrom
asalmgren:move_redist_into_amrex

Conversation

@asalmgren
Copy link
Copy Markdown
Member

Summary

This PR moves all redistribution functionality from AMReX-Hydro to amrex/Src/EB. It also adds re-redistribution to the routines in EB (copied from Tests/EB_CNS). (It also moves the slope routines since those are needed by state redistribution.) This change will require changes in any code that currently uses AMReX-Hydro for redistribution. Additional changes will be required in application codes that want to enable re-redistribution. Once this PR is merged in amrex, all routines in AMReX-Hydro/Slopes and AMReX-Hydro/Redistribution will be deleted.

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

int domhi_x, int domhi_y, int domhi_z,
int max_order) noexcept
{
constexpr int dim_a = 125;

Check notice

Code scanning / CodeQL

Unused local variable

Variable dim_a is not used.
int domhi_x, int domhi_y, int domhi_z,
int max_order) noexcept
{
constexpr int dim_a = 27;

Check notice

Code scanning / CodeQL

Unused local variable

Variable dim_a is not used.
@WeiqunZhang WeiqunZhang force-pushed the move_redist_into_amrex branch from 48d94cb to 19b62d1 Compare June 24, 2023 17:31
@WeiqunZhang WeiqunZhang merged commit 9fc6354 into AMReX-Codes:development Jul 3, 2023
@WeiqunZhang WeiqunZhang deleted the move_redist_into_amrex branch July 3, 2023 03:08
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

Successfully merging this pull request may close these issues.

3 participants