New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NeumannBC
with temporal coordinates?
#485
Comments
It is not an issue. It is designed as this. |
Oh, I see. Thank you! |
@lululxvi can I use After going through the FAQs, I wrote this code - def boundary_initial(x, _):
return np.isclose(x[-1], 0)
geom = dde.geometry.Interval(0, 1)
timedomain = dde.geometry.TimeDomain(0, 1)
geomtime = dde.geometry.GeometryXTime(geom, timedomain)
bc = dde.DirichletBC(geomtime, lambda x: 0, lambda _, on_boundary: on_boundary)
ic_1 = dde.IC(geomtime, lambda x: np.sin(
n * np.pi * x[:, 0:1] / L), lambda _, on_initial: on_initial)
ic_2 = dde.NeumannBC(geomtime, lambda x: 0, boundary_initial,) Is this correct? |
Use |
Greetings,
The
wave_1D.py
example says -# do not use dde.NeumannBC here, since `normal_derivative` does not work with temporal coordinate
Is this still an issue or has this been fixed in
DeepXDE
?Thank you!
The text was updated successfully, but these errors were encountered: