-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neutral fueling actor (WIP) #705
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly minor comments! 👍
dd = actor.dd | ||
par = actor.par | ||
|
||
if par.model == :neucg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if model is not :neucg
this will throw an error
Co-authored-by: Orso Meneghini <[email protected]>
Co-authored-by: Orso Meneghini <[email protected]>
Co-authored-by: Orso Meneghini <[email protected]>
Co-authored-by: Orso Meneghini <[email protected]>
Co-authored-by: Orso Meneghini <[email protected]>
Co-authored-by: Orso Meneghini <[email protected]>
Co-authored-by: Orso Meneghini <[email protected]>
Co-authored-by: Orso Meneghini <[email protected]>
taupin::Entry{Float64} = Entry{Float64}("s", "Particle confinement time"; default=1.0) | ||
twall::Entry{Float64} = Entry{Float64}("eV", "Wall temperature"; default=10.0) | ||
vwall::Entry{Float64} = Entry{Float64}("m/s", "Wall particle velocity"; default=100.0) | ||
model::Switch{Symbol} = Switch{Symbol}([:neucg, :none], "-", "Neutral gas fueling model"; default=:neucg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good moment to talk about model = :none
This also happens elsewhere (ActorCoreTransport for example)
As it will show up in the Loggin as if the actor ran but in fact it didn't!
What I think should happen is that these actors shouldnt' be executed and instead use ActorNoOperation in the compound ones (kind of like how we do this for the pedestal)
what do you think @orso82 ?
end | ||
|
||
cp1d = dd.core_profiles.profiles_1d[] | ||
resize!(cp1d.neutral, 1)[1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resize!(cp1d.neutral, 1)[1] | |
resize!(cp1d.neutral, 1)[1] |
resize!(cp1d.neutral, 1)[1] | |
resize!(cp1d.neutral, 1) |
No description provided.