Skip to content

ELCIC forces wrong with P3M-GPU #5408

Description

@reinaual

When running ELCIC with P3M-GPU (so ELC with dielectric contrasts enabled), the resulting forces are wrong. See e.g. here, as compared to the CPU
Image

The reason is that we use assign_charges in the ELC code, to assign charges to the P3M-mesh for long-range calculations are ignored on the GPU. On the GPU it seems ike the mesh is build on device from the device particle buffer, which means that all forces with P3M-GPU and ELCIC were wrong.

Since regular ELC is not using assign_charges, it's unaffacted.

Probably not too difficult to get working properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions