Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
This repository was archived by the owner on May 19, 2026. It is now read-only.

Populate added mass matrix terms with hydro bodies indices #40

Description

@tridelat

Right now, hydro bodies have to be added to the chrono system before any other chrono body or node. This is because the (dense) added mass matrix of hydro bodies is assumed to be at the upper left of the (sparse) global mass matrix. For some applications, it would make it easier to be able add hydro bodies after other bodies.

This could probably be done by populating the global mass matrix with added mass terms using the actual indices of the hydro bodies assigned by the system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions