-
-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update number of shells in SimulationState (#2504)
* update the no_of_shells in SimulationState to be the number of active shells instead of raw shells * add test for testing the dimensionality after adjust the inner boundary * trying to avoid the error caused by deep copy * delete the duplicated lines * finally find where the dimensionality bug originates! * fixing bugs that use the wrong inner boundary radius * fixing other v_inner/outer to the active ones * reverse the change in the formal_intergral * again reverse the change that should not be made in those that uses numba1dgeometry * modify to a neater way - shape the radiationfield to carry the t_rad and W of the active shells only * small clean up * the name of no_of_shells is tricking me again in geometry vs simulation state!! * make sure geometric diluation factor is valid * nvm, changing assertation criteria in diluteBB is better than change radiationfield to be active shells only, this way one can change the v_inner on fly
- Loading branch information
Showing
5 changed files
with
72 additions
and
28 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