-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Do not insert space points if not inside grid boundaries (#…
…3698) Changes: - Calling `grid.isInside` to check if space point falls within the boundaries - Check min and max values are correct (i.e. min < max) - Additional changes to check phi is within `[-std::numbers::pi`, `std::numbers::pi`] - Move config and options values to `double` (also because units are `double`s). Only partial since moving them all requires change in other parts of the code (will follow up in another PR) - Use `std::numbers::pi` instead of `M_PI` In the example, we go back to the previous computation for the `rMiddleSPRange`. Not clear why the `std::floor` was introduced in the first place, going back to that computation while we figure out why
- Loading branch information
1 parent
e6400b6
commit 5ec1437
Showing
6 changed files
with
48 additions
and
13 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