Skip to content

IB patch vel/angular_vel/angles broadcast inside wrong loop #1208

@sbryngelson

Description

@sbryngelson

Bug

In `src/pre_process/m_mpi_proxy.fpp`, the MPI broadcasts for `patch_ib(i)%vel`, `patch_ib(i)%angular_vel`, and `patch_ib(i)%angles` are placed inside the `num_bc_patches_max` loop instead of the `num_patches_max` loop. Since IB patches are indexed by patch number (not BC patch number), this broadcasts the wrong subset.

File: `src/pre_process/m_mpi_proxy.fpp`, lines 79-81

Impact: IB patch velocity and orientation data is only broadcast for indices up to `num_bc_patches_max`, missing any IB patches with higher indices.

Severity: High — IB patch data not broadcast correctly in multi-rank pre-processing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working or doesn't seem right

    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