-
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 AllocateCenteringCoefficients to anonymous namespac…
…e in WarpX.cpp (#5666) `AllocateCenteringCoefficients` is a pure function used only inside `WarpX.cpp`. This PR moves it from a private member function of the WarpX class to an anonymous namespace inside `WarpX.cpp`. The PR also makes the function more compact. This is done to simplify the `WarpX.H` header.
- Loading branch information
1 parent
14a4e8f
commit ceaf29c
Showing
2 changed files
with
62 additions
and
90 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