CPP MOLE 2.0 grid implementation + error handling - #442
Open
Tony-Drummond wants to merge 34 commits into
Open
Conversation
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.1.1 to 12.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@12.1.1...12.3.0) --- updated-dependencies: - dependency-name: pillow dependency-version: 12.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Fix version specification for Pillow in requirements.txt Signed-off-by: Christopher Paolini <paolini@engineering.sdsu.edu>
Added debugging information to CMake configuration step. Signed-off-by: Christopher Paolini <paolini@engineering.sdsu.edu>
New directory structure with new implementations for MOLE grids, arrays, errors, and utilities. New README files in every subdirectory fixed errors
Added debugging information to CMake configuration step. Signed-off-by: Christopher Paolini <paolini@engineering.sdsu.edu>
New directory structure with new implementations for MOLE grids, arrays, errors, and utilities. New README files in every subdirectory fixed errors grid basic struct makegrid added Including DEBUGING MODE Adding testing and build utilities CMakefiles are updated
…_0_grid_implementation
Parses variadic <attribute, value> pairs into a gridRaw, validates dimensionality, cell counts, topology and isPeriodic length at parse time, then narrows into gridParams1D/2D/3D and calls makeGrid. Failures return a gridNull carrying the error stack. isPeriodic takes a pointer to a vector<bool> so its size can be checked against dim.
29 cases covering parse-time validation through runChecks and dimension dispatch through the gridBuilder macro, including isPeriodic size mismatches and out-of-order attributes.
Four examples covering 1D construction, 2D with periodicity, argument order independence, and parse-time error reporting.
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.1.1 to 12.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@12.1.1...12.3.0) --- updated-dependencies: - dependency-name: pillow dependency-version: 12.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Fix version specification for Pillow in requirements.txt Signed-off-by: Christopher Paolini <paolini@engineering.sdsu.edu>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.1.1 to 12.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@12.1.1...12.3.0) --- updated-dependencies: - dependency-name: pillow dependency-version: 12.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Fix version specification for Pillow in requirements.txt Signed-off-by: Christopher Paolini <paolini@engineering.sdsu.edu>
Fix version specification for Pillow in requirements.txt Signed-off-by: Christopher Paolini <paolini@engineering.sdsu.edu>
Added the example/sys files
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Description
Objective
Bring the C++ implementation into compliance with the MOLE 2.0
API, numerical behavior, testing, documentation, and packaging standards.
mole/
├── cpp/
| │── cmake/
| │── doc/
| │── examples
| |── src/
| │ ├── boundaries
| │ └── grids
| │ └── include
| │ └── operators
| │ └── sys
| │ └── utils
| |── tests
Figure 1. C++ MOLE 2.0 implementation. Bolded subdirectories names are the ones impacted by this PR and related Git issues.
This PR implements first steps of CPP MOLE 2.0 implementation:
Related Issues & Documents
Issues, #437 (cpp directory reorganization) , #438 (error handling), #440 (cpp grid implementation)
QA Instructions, Screenshots, Recordings
Tests and examples for creating grid are included. There are several tests of the full CPP functionality included here.
To build:
Keep-open request
keep-open.Reason:
Added/updated tests?
_We encourage you to test all code included with MOLE, including examples.
have not been included
Read Contributing Guide and Code of Conduct
[optional] Are there any post deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?