Skip to content

Feature/boundary conditions - #17

Merged
loferga merged 10 commits into
mainfrom
feature/boundary_conditions
Sep 24, 2025
Merged

loferga merged 10 commits into
mainfrom
feature/boundary_conditions

Conversation

@loferga

@loferga loferga commented Sep 24, 2025

Copy link
Copy Markdown
Member

Fully implements a subset of boundary conditions

implements 'createBoundaries' and fix it's name to 'createBoundaryConditions',
also adds a configuration entry and patch configuration test accordingly
Adds wall as a default fall back option, and raise NotImplementedError
if a namespace doesn't have an associated implementation.
Also adds docs and comments
implements tests that handle grouping verification and specific errors
Adds group_number only in raw format and don't keep it in geometry,
group_number is conserved using an output parameter for boundary to raw boundary association
This association allows to keep track of not only the group number but also
ghost cell bathymetry!
implements boundary condition creation and ghost cell bathymetry
in the main runner, correct some files to make this possible
implements both discharg1 and ratcurve using abstract dynamic boundary condition
which is all boundary condition that uses a float function of time as input in a file.
Also patch some errors in other files for the implementation to work
files that have fortran comments (beginning with '!') were not supported,
now they are properly ignored in file reading.
And a test file was missing, it has been added
implements wall boundary condition and tests, these tests are generated by AI
and can be the source of misstrust, though it is on a very simple class so I think it's tolerable
@loferga
loferga merged commit 7ee5c44 into main Sep 24, 2025
1 check passed
@loferga
loferga deleted the feature/boundary_conditions branch September 24, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant