dougshidong / PHiLiP

Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
Other
45 stars 37 forks source link

Making boundary ID's a parameters input #70

Open dougshidong opened 3 years ago

dougshidong commented 3 years ago

Currently, input boundaries are hard-coded such that ID 1001 is slip wall for example. If we receive a grid from someone else who generated it with Gmsh, we would have to change the mesh such that wall ID's are 1001.

Instead, a better way to handle this is to pass

boundary_slip_wall_id

as a parameter for the user to input. We would still set the default ID's to avoid breaking existing tests. However, this gives flexibility for someone who simply wants to use the code, rather than develop it.