Skip to content
Discussion options

You must be logged in to vote

Just expand the dimension of your inputs.It will not affect the way you define your ODE/PDE. In your case, assume that you have 2 inputs: t and additional control inputs U You can define the domain as below:

U_domain = dde.geometry.Interval(-1, 1)
timedomain = dde.geometry.TimeDomain(0, 1)
U_with_time_domain = dde.geometry.GeometryXTime(geom, timedomain)

For multi-dimensional inputs, you can refer to https://deepxde.readthedocs.io/en/latest/modules/deepxde.geometry.html#module-deepxde.geometry.geometry_nd. Remind that if you want to use .Hypercube(), you won't need .GeometryXTime() anymore. Keep in mind that, .Interval() or .TimeDomain() is just a convenient way to express your computati…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@haowang1991
Comment options

@haison19952013
Comment options

Answer selected by haowang1991
@haowang1991
Comment options

@haison19952013
Comment options

@haowang1991
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants