Skip to content

The lwfa example in the documentation doesn't work #1221

@EyaDammak

Description

@EyaDammak

The input script as an example in the documentation doesn't work (https://hipace.readthedocs.io/en/stable/run/inputs_lwfa.html).
Here the error that I got:

amrex::Abort::6::DEPRECATED INPUT ERROR:
Input parameter geometry.is_periodic no longer supported.
See boundary.field and boundary.particle instead (more info in the documentation). 

To directly replace geometry.is_periodic = 1 1 1 use:
boundary.field = Periodic
boundary.particle = Periodic
However it's usually better to instead use:
boundary.field = Dirichlet
boundary.particle = Periodic
or:
boundary.field = Dirichlet
boundary.particle = Reflecting

To replace geometry.is_periodic = 0 0 0 use:
boundary.field = Dirichlet
boundary.particle = Absorbing
 !!!
SIGABRT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions