pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

1D LTE table lookup #228

Closed trevilo closed 1 year ago

trevilo commented 1 year ago

This PR implements a one-dimensional variant of the LTE table lookup capability (see PR #189). The original implementation uses two-dimensional tables (with the implementation built on GSL) where the input variables are temperature and density. For some cases---for example, cases with essentially constant pressure---the inputs can be reduced to a single variable (here temperature). This enables the use of our internal LinearTable class, which simplifies the task of porting to the GPU. In addition to the 1D LTE tables themselves, the LteMixture and LteTransport classes are modified to support _GPU_ builds when the 1D tables are used.