lanl/singularity-eos

Some introspection about molecular structure

開放

#442 建立於 2024年12月5日

 (3 則留言) (0 個反應) (1 位負責人)C++ (21 個分叉)auto 404
enhancementgood first issuehelp wanted

倉庫指標

星標
 (36 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

In his review of #439, @pdmullen pointed out that it would be nice to initialize an ideal gas with, e.g.,

IdealGas(Real gm1, MeanAtomicProperties prop)

and compute Cv automatically from that. But this would require knowledge of, e.g., the mean molecular weight $\mu$, rather than the mean atomic mass.

This may also be relevant for more detailed 3T models. We should consider a strategy to enable this down the line. Perhaps, for example, by storing the number of atoms in a molecule in the MeanAtomicProperties struct, or by passing this in to the ideal gas constructor.

貢獻者指南