Opened 3 years ago

Closed 3 years ago

#5094 closed enhancement (fixed)

Reduce c-code writebacks for algorithms

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone: Future
Component: Modelica/FrontEnd Version: trunk
Keywords: #5097. Cc:

Description (last modified by Jonathan Kämpe)

This is a part of #5097.

In some cases, when generating c-code for algorithms a lot of temporaries and assign statements are added to prevent side effects from executing the algorithm. Then the temporaries are written back or used in residual equations by individual blocks. This causes problems in big algorithms. In many cases they might not be necessary.

Change History (4)

comment:1 Changed 3 years ago by Jonathan Kämpe

Type: defectenhancement

comment:2 Changed 3 years ago by Jonathan Kämpe

Description: modified (diff)
Keywords: #5097. added; #5093. removed

comment:3 Changed 3 years ago by Jonathan Kämpe

changeset:9182

Reduced temporaries for some cases of algorithms

changeset:9201

Merging performance fix to release branch

comment:4 Changed 3 years ago by Jonathan Kämpe

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.