Skip to content

Exchcoupling is a factor 4 (for 2D sims) or 6 (for 3D sims) too large #376

Description

@JLeliaert

Issue details

The implementation in https://github.com/mumax/3/blame/master/cuda/exchangedecode.cu "averages" the exchange by taking the sum of the exchange with a cell's 4 (or 6 in 3D) neighbours, but never divides by this number of neigbours.
The result therefore is factor 4 or 6 too large.

Thanks @ElizabethMJefremovas for spotting this

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions