Skip to content

Add LineVortex de-duplication to reduce Biot-Savart evaluations #139

@camUrban

Description

@camUrban

Problem Statement

Adjacent RingVortices share legs with identical start and end points but different directions and strengths. This is the case for the vast majority of RingVortices. Currently, each LineVortex leg is evaluated separately in the Biot-Savart kernel, resulting in nearly double the necessary computation.

Proposed Solution

Before computing induced velocities, identify LineVortex pairs with identical endpoints, collapse them into a single LineVortex with strength equal to the difference of the two, and evaluate the Biot-Savart kernel on the reduced set. This should nearly halve the number of kernel evaluations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceAn opportunity to improve performance

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions