Skip to content

MultiFab: Overload += *= /=, etc. #372

Open
@ax3l

Description

@ax3l

For pyAMReX' MultiFab, we can overload the operators += *= /=, etc. to call the underlying optimized, element-wise AMReX functions.

Similar for [...] and other set-all ellipsis, we should specialize to AMReX' setVal.

@RemiLehe @roelof-groenewald @dpgrote @atmyers et al.: should we always operate on valid and guard cells for those?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions