-
Notifications
You must be signed in to change notification settings - Fork 51
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
Remove tc thread private array #435
Conversation
@malihass can you check to see if this gives correct results? I think it does but your tests are better ;) |
35b50c7
to
41b01ba
Compare
This appears to have no performance implications. |
I see a very small diff of temperature specifically when running the 0D ignition with the analytical Jacobian and the Otherwise for performance, I suspect it will shine most on GPU. Did you see no diff when running on GPU @jrood-nrel ? |
I don't expect a performance change (it's basically what I want). I am not really doing this for performance... but i am hoping this gets me to the nasa9 polynomials easier |
I think there are a couple of things causing this minor diff in the analytical jacobian:
Thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see an error in the ceptr code. The changes also do modify a bit the common sub expressions being identified (increases by 0.1% in the case of dodecane) which could explain the very small diff.
I went ahead and compared the actual Jacobians on 100 random samples of composition space and they are the same up to machine precision (I did this for CH4_lean_qss
, dodecane_lu_qss
and heptane_lu_qss
). So I am convinced! Thanks for bearing with me!
No description provided.