Skip to content

converted internal grid number to sequence number#200

Merged
victorkemp merged 3 commits intoMystranSolver:devfrom
victorkemp:fix-grav-grid-order-bug
Apr 5, 2026
Merged

converted internal grid number to sequence number#200
victorkemp merged 3 commits intoMystranSolver:devfrom
victorkemp:fix-grav-grid-order-bug

Conversation

@victorkemp
Copy link
Copy Markdown
Collaborator

@victorkemp victorkemp commented Apr 4, 2026

Fixes #150

Mass matrix MGG is ordered by grid point sequence numbers, not internal grid point numbers so we have to look up the sequence number before indexing MGG.

I also reverted an old edit for CONM2 which was putting point mass into the mass matrix in internal grid point order instead of grid sequence order. The effect of that cancelled out the use of internal grid point order in GET_GRID_6X6_MASS.

Now both element density and concentrated mass work correctly when the grid point order in the input file (grid sequence order) is different from the ID numbering order.

@victorkemp victorkemp changed the base branch from main to dev April 5, 2026 20:23
@victorkemp victorkemp merged commit ac8fb00 into MystranSolver:dev Apr 5, 2026
1 check passed
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.

1 participant