Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Severe performance improvement in onlyheat calculations of strainMap #18

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

physiker05
Copy link
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