Skip to content

Allow multi-magnet systems with the main magnetforces approach #10

@wspr

Description

@wspr

Currently magnetforces takes a single fixed magnet and a single floating magnet, which are defined using object-like structures.

There's no reason that magnet_fixed couldn't be an array of structures, so allow for multiple magnets. This would be a slightly different use case than the multipoleforces code but the latter could benefit from a rework to the former.

To make this work, magnets need to be able locate themselves with a relative offset from a local coordinate system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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