Skip to content

Optimize matadd sss#210

Merged
victorkemp merged 2 commits into
MystranSolver:devfrom
victorkemp:optimize_MATADD_SSS
Apr 17, 2026
Merged

Optimize matadd sss#210
victorkemp merged 2 commits into
MystranSolver:devfrom
victorkemp:optimize_MATADD_SSS

Conversation

@victorkemp

@victorkemp victorkemp commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

MATADD_SSS and MATADD_SSS_NTERM rewritten with a simpler and much faster algorithm.

Massive speedup for big eigen (103/105) models which add the global stiffness and mass/differential stiffness matrices. Eg: A 262000 element CQUAD4 SOL103 problem took 40 minutes for those two calls before and now takes 0.1 s. (10000 x speedup!)

Should be generally faster for the many other uses of MATADD_SSS too.

Removed DEBUG,81 which was reporting internal details of the old sparse addition algorithm that are no longer present, as well as general comments and stats that don't seem to be any use.

@victorkemp victorkemp merged commit d59fcb7 into MystranSolver:dev Apr 17, 2026
@victorkemp victorkemp deleted the optimize_MATADD_SSS branch June 17, 2026 21:47
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