-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR moves the function `ParseGeometryInput` into `WarpXAMReXInit.cpp`, and the function `CheckDims` into `WarpXInit.H/cpp`. It also makes sure that `CheckDims` is called only once. Note that the check on `geom.ProbLo(0)` depending on the EM/ES solver is extracted from `ParseGeometryInput` and placed inside `WarpX.cpp` . Note also that `parse_geometry_input`, despite being conceptually related to the initialization of AMReX, must run **after** having called `amrex::Initialize` . The idea is to distribute the content of the miscellaneous `WarpXUtil.H/cpp` files into more appropriate source files.
- Loading branch information
1 parent
d07326b
commit 11808ea
Showing
6 changed files
with
128 additions
and
116 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
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
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