jorgensd / jorgensd/dolfinx_mpc

`scale` arg as a dolfinx.fem.Constant?

Open
#154 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
62
Forks
22
Avg merge
1d 4h
Merged PRs (30d)
4

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.