-
Notifications
You must be signed in to change notification settings - Fork 3
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
Creation of ActorPowerNeeds initial commit #251
Conversation
@orso82 although not perfect yet I think this should be pushed |
@@ -54,6 +49,12 @@ function ActorHeatTransfer(dd::IMAS.dd, act::ParametersAllActors; kw...) | |||
return actor | |||
end | |||
|
|||
function ActorHeatTransfer(dd::IMAS.dd, par::FUSEparameters__ActorHeatTransfer, act::ParametersAllActors; kw...) |
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.
Looks like you're missing the act
field in the ActorHeatTransfer structure, though that does not appear to be used, so why have it?
function ActorThermalCycle(dd::IMAS.dd, par::FUSEparameters__ActorThermalCycle, act::ParametersAllActors; kw...) | ||
logging_actor_init(ActorThermalCycle) | ||
par = par(kw...) | ||
return ActorThermalCycle(dd, par, act.ActorHeatTransfer) |
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.
This works, but we have generally keep the whole act. Maybe stick with it to be consistent with how compound actors are handled elsewhere?
return ActorThermalCycle(dd, par, act.ActorHeatTransfer) | |
return ActorThermalCycle(dd, par, act) |
No description provided.