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

Expand the used to MixedFSOptions to one time discretisation used on the whole equation set #549

Open
atb1995 opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
bug Pull requests or issues to relating to something not working enhancement Pull requests or issues relating to adding a new capability

Comments

@atb1995
Copy link
Collaborator

atb1995 commented Sep 11, 2024

Currently, if you try to used MixedFSOptions on the whole equations set it fails.
Example code is:

suboptions = {'b': EmbeddedDGOptions()}
opts = MixedFSOptions(suboptions=suboptions)
transport_methods = [DGUpwind(eqns, "u"),
                     DGUpwind(eqns, "p"),
                     DGUpwind(eqns, "b")]
scheme = SSPRK3(domain, options=opts)
! Time stepper
stepper = Timestepper(eqns, scheme, io, transport_methods)

Error is: raise RuntimeError("%r defined on incompatible FunctionSpace!" % r)

@tommbendall tommbendall added bug Pull requests or issues to relating to something not working enhancement Pull requests or issues relating to adding a new capability labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Pull requests or issues to relating to something not working enhancement Pull requests or issues relating to adding a new capability
Projects
None yet
Development

No branches or pull requests

3 participants