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

Revert "Python: Warn old warpx.multifab Signature (#5326)" #5452

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions Source/Python/WarpX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ void init_WarpX (py::module& m)
)
.def("multifab",
[](WarpX & wx, std::string internal_name) {
py::print("WARNING: WarpX' multifab('internal_name') signature is deprecated.\nPlease use:\n"
"- multifab('prefix', level=...) for scalar fields\n"
"- multifab('prefix', dir=..., level=...) for vector field components\n"
"where 'prefix' is the part of 'internal_name';' before the []",
py::arg("file") = py::module_::import("sys").attr("stderr"));
if (wx.m_fields.internal_has(internal_name)) {
return wx.m_fields.internal_get(internal_name);
} else {
Expand Down
Loading