Skip to content

Conversation

Copy link

Copilot AI commented Jan 22, 2026

Description of the feature or the bug

The resol.F file lacked documentation indicating where rigid body forces are accumulated into the NODES%A acceleration array, making code comprehension difficult for developers working on rigid body dynamics.

Description of the changes

Added two inline comments in engine/source/engine/resol.F marking the force accumulation points:

  • Line 5460: Before RBYFOR call - documents kinematic rigid body force addition
  • Line 5520: Before RMATFORP call - documents rigid material (MAT013) force addition

Both comments use the format:

C     *** Rigid body forces are added to NODES%A (acceleration array) in RBYFOR ***

These are documentation-only changes with no functional impact.

Original prompt

Could you comment in resol.F the place where the forces of the rigid bodies will be added to the array nodes%A ?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add forces of rigid bodies to array nodes Document rigid body force accumulation points in resol.F Jan 22, 2026
Copilot AI requested a review from laurent-altr January 22, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants