You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Opacity solver is calling continnumstate's methods. those methods are overriding the attributes of that class with plasma's properties so its requiring the plasma obj. Could you please give a little context on how i can tackle this?
@andrewfullard
I'm thinking of extracting ContinnumState out of OpacityState and pass it as input to OpacitySolver.solve and legacy solve methods. In that case, it wouldnt require the whole plasma object. Is this approach right?
thanks.
EDIT : Worked on this. New implementation doesnt need the entire plasma. Data class has been created which takes only necessary things from plasma. In addition, the continuum state (which opacity state requires) is computed beforehand and sent as parameter to solve methods.
It should only need the specific plasma outputs- level number density, stimulated emission factor, atomic lines
The text was updated successfully, but these errors were encountered: