Replies: 3 comments
-
|
The code logic for non-vertical/non-horizontal boundary is the same as vertical/-horizontal boundary. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions