Skip to content

Particle kick, boundary condition for phi in non-periodic dimensions #1341

@chongchonghe

Description

@chongchonghe

Describe the bug
Here

amrex::GpuBndryFuncFab<setFunctorParticleAccel> boundaryFunctor(setFunctorParticleAccel{});

the boundaryFunctor is no-op by default. Therefore, the non-periodic dimensions of phi_extended is unfilled, causing the code to crash. Is this intentional? is it expected that the user would have to specify the boundary condition for non-periodic dimensions?

@BenWibking Can you add an option for a foextrap B.C. at some specified dimensions? I'll need this for disk simulations with star formation where the z axis is open B.C.

To Reproduce
Steps to reproduce the behavior:

  1. Compile this problem '...'
  2. Run this problem '...'
  3. See error

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions