Replies: 3 comments
|
The code logic for non-vertical/non-horizontal boundary is the same as vertical/-horizontal boundary. |
0 replies
|
I think an answer with more specificity is that DeepXDE already handles arbitrary geometry, but if you only want one slanted side, you can filter it using a line equation: And this extends to circles, hypercubes, etc. |
0 replies
|
Note that from then on, BCs are handled automatically. For example, for NeumannBC, the normal will be automatically calculated, no need to find perpendicular line equation. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am investigating soil slope stability and have represented the slope with deepxde.geometry.geometry_2d.Polygon(vertices). My current doubt concerns applying boundary conditions on slanted edges of the polygon: axis-aligned checks such as x[0] == c or x[1] == c are not valid for sloped sides. What is the recommended DeepXDE workflow to impose BCs on a non-vertical/non-horizontal boundary?
All reactions