lanl / singularity-eos

Performance portable equations of state and mixed cell closures
https://lanl.github.io/singularity-eos/
BSD 3-Clause "New" or "Revised" License
27 stars 8 forks source link

Add lambda thermalq #362

Closed Yurlungur closed 6 months ago

Yurlungur commented 6 months ago

PR Summary

As discussed with @dholladay00 and @gopsub , this adds lambda to the thermalqs list, allowing, on a per-EOS basis, users to request FillEos to do something with input lambdas.

PR Checklist

If preparing for a new release, in addition please check the following:

jhp-lanl commented 6 months ago

Looks like this breaks the python bindings somehow. I don't think it should be too hard to fix.

 45/46 Test #45: PythonBindings .....................................................................***Failed    0.31 sec
      Start 46: test_fortran_interface

Can you run on gitlab as well just to make sure it doesn't break anything else?

dholladay00 commented 6 months ago
Yurlungur commented 6 months ago

Thanks @jhp-lanl @dholladay00 should be fixed now. Tests running on re-git.

Yurlungur commented 6 months ago

OK not sure why the python bindings are still failing... @rbberger any insight?

rbberger commented 6 months ago

OK not sure why the python bindings are still failing... @rbberger any insight?

Maybe because lambda is a reserved keyword in Python?

Yurlungur commented 6 months ago

OK not sure why the python bindings are still failing... @rbberger any insight?

Maybe because lambda is a reserved keyword in Python?

Hmm... possible. I'll try do_lambda

Yurlungur commented 6 months ago

That worked! Thanks @rbberger !

Ok tests now all apss here. Checking on re-git as well. Ready for re-review, @dholladay00 @gopsub @jhp-lanl @rbberger

Yurlungur commented 6 months ago

Looks like tests are still failing on Roci due to a failed git clone. (@rbberger is this expected? Maybe related to the issues @dholladay00 reported on the mattermost?) However, everything else is passing. I think it's safe to review this and merge it now.