Skip to content

Inconsistent initialization of the magnetic dipole #169

Description

@mfournier01

The magnetic dipole is incorrectly defined in cluster.cpp. This line:

const Real m_cross_r_z = mx * y - mx * y;

should rather be:

const Real m_cross_r_z = mx * y - my * x;

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-code-auditIssues identified by AI-assisted code audit

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions