Skip to content
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

Wrap new named component functions #375

Closed

Conversation

atmyers
Copy link
Member

@atmyers atmyers commented Oct 2, 2024

Wraps new functions added in PR #4163.

@atmyers atmyers requested a review from ax3l October 2, 2024 22:51
@ax3l ax3l self-assigned this Oct 9, 2024
Comment on lines +212 to 215
.def("add_real_comp", py::overload_cast<const std::string&, int>(&ParticleContainerType::AddRealComp),
py::arg("communicate")=true, "add a new runtime component with type Real")
.def("add_int_comp", py::overload_cast<const std::string&, int>(&ParticleContainerType::AddIntComp),
py::arg("communicate")=true, "add a new runtime component with type Int")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra py::arg("name") needed. I cherry-picked this to #379 and completed it :)

@ax3l ax3l closed this Oct 9, 2024
ax3l added a commit that referenced this pull request Oct 10, 2024
Update to latest commit in `development`.

Includes upstream named SoA components. Includes updated APIs from #375

---------

Co-authored-by: Andrew Myers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants