+110
−19
+14
−10
+599
−341
+129
−58
File changed.
Preview size limit exceeded, changes collapsed.
+64
−1
Loading
This update introduces support for curvilinear boundary conditions, allowing the simulation to handle complex geometries that do not align with the Cartesian axes. The implementation adds functionality to the ExtBC class to load boundary polylines and compute local normal vectors, which are then used in the compute_extbc_values kernel to project discharge components correctly. To maintain consistency with the underlying grid topology, a dominant-component logic was implemented to ensure ghost cell indexing always utilizes face-connected neighbors rather than invalid diagonal offsets. Additionally, the matrix class was extended with a new member function to handle DEM ghost cell updates for curvilinear boundaries, ensuring proper data encapsulation and robust initialization across the domain.
File changed.
Preview size limit exceeded, changes collapsed.