Commit 9f2d0f9 1 parent 962829d commit 9f2d0f9 Copy full SHA for 9f2d0f9
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -266,8 +266,8 @@ The physical fields in WarpX have the following naming:
266
266
py::arg (" potential" ),
267
267
" Sets the EB potential string and updates the function parser."
268
268
)
269
- .def_static (" run_div_cleaner" ,
270
- [] () { WarpX:: ProjectionCleanDivB (); },
269
+ .def (" run_div_cleaner" ,
270
+ [] (WarpX& wx ) { wx. ProjectionCleanDivB (); },
271
271
" Executes projection based divergence cleaner on loaded Bfield_fp_external."
272
272
)
273
273
.def (" synchronize" ,
Original file line number Diff line number Diff line change @@ -849,7 +849,7 @@ public:
849
849
850
850
void ComputeDivE (amrex::MultiFab& divE, int lev);
851
851
852
- static void ProjectionCleanDivB ();
852
+ void ProjectionCleanDivB ();
853
853
854
854
[[nodiscard]] amrex::IntVect getngEB () const { return guard_cells.ng_alloc_EB ; }
855
855
[[nodiscard]] amrex::IntVect getngF () const { return guard_cells.ng_alloc_F ; }
You can’t perform that action at this time.
0 commit comments