lanl / phoebus

Phifty One Ergs Blows Up A Star
BSD 3-Clause "New" or "Revised" License
32 stars 0 forks source link

C2P refactor #130

Open brryan opened 1 year ago

brryan commented 1 year ago

Right now we have multiple fluid C2P implementations and some maybe inelegant code:

1) con2prim_robust has its own success/failure type. This could probably be common to all c2ps 2) c2p initialization can require a lot of arguments. It might be nice to replace this with a struct of c2p_params that can be stashed all at once in params.

So I think either remove the classic c2p (which Im pretty sure is broken anyway) or refactor all our c2p