Replies: 2 comments 3 replies
-
One of the things I think we can consider here is developer ergonomics. On one hand, sparse arrays may be more intuitive for those folks familiar with linear algebra methods; on the other hand, the specialized |
Beta Was this translation helpful? Give feedback.
-
I think using Eigen's In what you currently have in Cantera/cantera#1081, I don't quite understand what using Eigen is accomplishing outside of the functions used in calculating the Jacobian. The new |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking ahead to some work that we're planning in the near future, I was wondering about second opinions for replacing
StoichManager
by sparse matrices. Presumably,Eigen
should be capable of handling most operations out-of-the-box, and would allow for a seamless integration withstd::vector
, among other benefits (it would simplify adding&removing of species and reactions, but there are other things I can think of as well). In terms of speed, some tests would have to be run, but any optimization that is part ofEigen
would be automatically leveraged. Edit: probing a little deeper, it appears that most of the operations I had looked at are only available for dense matrices; on the other hand, you can still build on the library; so this may be more involved.Any comments/thoughts would be appreciated (@speth, @kyleniemeyer, et al).
Beta Was this translation helpful? Give feedback.
All reactions