Skip to content
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

Add an example of Poisson-like 2D problem for multioutput DeepONet Add the example #1549

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vl-dud
Copy link
Contributor

@vl-dud vl-dud commented Nov 7, 2023

The separate PR for #1532

@lululxvi
Copy link
Owner

As the code of multi-output is merged, please double check this PR.

@vl-dud
Copy link
Contributor Author

vl-dud commented Dec 24, 2023

The example works correctly for all strategies, both with TF 1.x and 2.x.

"""
Poisson-like 2D problem
Supported backend: tensorflow.compat.v1, tensorflow
"""
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"""Supported backend: tensorflow.compat.v1, tensorflow

Poisson-like 2D problem ... More explanation...
"""

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm afraid this is also a fake problem used for demonstration. The equations are of the form dA_xx = f and dB_tt = f, where dA_xx and dB_tt are the second-order derivatives of some A and B with respect to spatial and temporal dimensions, respectively.

Copy link
Owner

@lululxvi lululxvi Dec 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Umm. Is it possible to have a real example?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, but the suitable real problem does not come to mind. Do you have any idea?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A 2D fluid problem with outputs of u and v?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants