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

scale arg as a dolfinx.fem.Constant? #154

Open
pierricmora opened this issue Feb 28, 2025 · 0 comments
Open

scale arg as a dolfinx.fem.Constant? #154

pierricmora opened this issue Feb 28, 2025 · 0 comments

Comments

@pierricmora
Copy link

Hi and thanks a lot for this library.

I was wondering whether there could be any plan to tolerate the scale parameter in create_periodic_constraint_geometrical / topological to be of type dolfinx.fem.Constant and then be updatable without re-compilation, the same way dolfinx.fem.dirichletbc works. As a piece of context I am implementing Floquet-Bloch periodic BCs: the scale parameter is $\exp(ikL)$ with $k$ a parameter (the wavenumber), over which I loop. As is I have to create the mpc and call finalize() at each iteration.

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

No branches or pull requests

1 participant