WIAS-PDELib / ExtendableGrids.jl

MIT License
21 stars 11 forks source link

Boundary edge regions #9

Closed mattlie82 closed 3 years ago

mattlie82 commented 3 years ago

Added boundary edge regions. This is necessary for coupled 3D-2D problems to prescribe boundary conditions for the 2D subproblem. The function bedgemask! can be used to associate a region number for boundary edges on a line segment. So far this works only for boundary edges since prepare_edges! doesn't work in the 3D case, yet.

The region numbers are stored in grid[BEdgeRegions], which is only constructed on request, e.g. by calling bedgemask!.