开发者

Any library for basic science chemistry/physics programming? [closed]

开发者 https://www.devze.com 2023-01-07 18:44 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

I am wondering if there is an open source scientific library for chemistry and/or physics for C++ (or maybe C)?

I am NOT looking for simulation models开发者_Go百科, visualization, 3-d modeling.

I am just looking for a basic toolbox that would have, for example: various constants such as Ideal Gas Constant, Avogadro constant, periodic table of the elements values; molecular weight calculation; maybe basic functions implementing equations for stoichiometry, gas laws, thermal dynamics, kinetics.

Chemistry/Physics 101 kind of stuff.

I have found on SourceForge:

  • Christoph Steinbeck's The Chemical Development Kit (Java) on SourceForge.
  • NIST-const


I would take a look at the GNU Scientific Library:

http://www.gnu.org/software/gsl/

It should have most of the physical constants you're looking for. As far as the chemistry related stuff, I don't know of any basic packages that do all of those calculations right out of the box.

Update: I forgot about another project that would have all of the periodic table stuff (and probably more):

http://openbabel.org

specifically check out:

http://openbabel.org/api/2.2.0/classOpenBabel_1_1OBElementTable.shtml#_details


Since you excluded simulations, PyQuante probably isn't what you're looking for, but you might find kinpy and thermopy interesting.


I really like this book for it:

http://www.amazon.com/Physics-Game-Programmers-Grant-Palmer/dp/159059472X

I has the physics formulas in there and the source code is available online:

http://apress.com/book/view/159059472X

I haven't seen much in the way of chemistry. Physics is more popular because it has direct affect on gaming, of course. :-)

Update: a few on chemistry:

  • http://www.iupac.org/inchi/
  • http://code.google.com/p/simsoup/
  • http://gchemutils.nongnu.org/
  • http://www.simsoup.info/SimSoup/Design/Chemistry_Subsystem.html


Kalzium, part of the KDE tools. Periodic table plus (based on the screenshots) an equation solver and more.


In High Energy Physics, two common c++ libraries/frameworks are CLHEP and ROOT. Both of these contain units and physical constants - see e.g. CLHEP Units. CLHEP also contains a lot of libraries for linear algebra, while ROOT has a lot of tools for data analysis.

Probably not entirely what you are looking for, but may be useful to someone

0

精彩评论

暂无评论...
验证码 换一张
取 消