Skip to content

User-defined runtime attributes are not initialized in multi-physics modules #4483

Open
@RemiLehe

Description

@RemiLehe

In WarpX, the user can define runtime attribute on the particles, that are then tracked during the simulation. (See addRealAttributes in the WarpX documentation ; a typical example is tracking the x/y/z position at which a particle was created.)

However, these runtime attribute are only correctly set when particles are created via the functions AddNParticles, AddPlasma or AddPlasmaFlux (see #3272). This happens when we initialize particles through our various initialization/injection methods, but not when creating particles via multi-physics modules. In particular:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions