Skip to content

Severe performance improvement in onlyheat calculations of strainMap#18

Open
physiker05 wants to merge 9 commits intodschick:masterfrom
physiker05:onlyheat
Open

Severe performance improvement in onlyheat calculations of strainMap#18
physiker05 wants to merge 9 commits intodschick:masterfrom
physiker05:onlyheat

Conversation

@physiker05
Copy link
Copy Markdown
Collaborator

Similar to calcEnergyMap(), it is much more efficient not to vectorize the calculation of the sticks in a onlyheat calculation (no coherent strain response, only adiabatic strain response to stress). The usage of @feval seems to slow down the calculation severely. A test calculation is 7 times faster when using an explicit for-loop for traversing the individual unit cells.

Sorry for the other changes. These are personal changes that do not need to find its way into the upstream.

physiker05 and others added 9 commits August 31, 2020 16:22
Modifications in pdeHeatEquation() to allow for using every subsystem temperature in each subsystem definition of thermCond. The analytical function can now use T(1),...,T(N) in each of the subsystems. This is in analogy to the usage in the property subsytemCoupling where the diference T(2)-T(1) has to be evaluated.
remove parfor from energyMap() in heat.m
Modification of heat.m, thermCond
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