-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WarpX class: move UpdateCurrentNodalToStag to anonymous namespace in …
…WarpXComm.cpp (#5672) `UpdateCurrentNodalToStag` is a member function of the WarpX class, but it is used only inside `WarpXComm.cpp` and it is defined there. Therefore, this PR turns it into a pure function and moves it inside an anonymous namespace in `WarpXComm.cpp` . This simplifies the interface of the WarpX class.
- Loading branch information
1 parent
7d7ddca
commit 14a4e8f
Showing
2 changed files
with
72 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters