Open SchleussJulia opened 4 months ago
Maybe the argument "dirichlet_clear_diag=True" in the assembly of the l2_0_product would do the job, see https://github.com/pymor/pymor/blob/aff70232b38996c94d009d6d9b6f6feef66de0dc/src/pymor/discretizers/builtin/cg.py#L1156
That would make l2_0_product
singular, which is bad when trying to compute Riesz representatives with it. We could do so for the mass
operator. However, that would probably only work for implicit Euler. Another approach might be to always work in $H^1_0$. The caveat here would be that for time-dependent boundary data, one either would have to settle on the time-discretization already during spatial discretization in order to compute the correct RHS. Or one would have to also keep the full H^1-matrices (without boundary treatment) in memory to compute the right RHS during time-stepping. Any opinions @HenKlei, @ftschindler?
Describe the bug In case of "incompatible" initial and boundary values (see example below) the builtin discretizer/ the InstationaryModel fails to handle the boundary values correctly.
To Reproduce
Expected behavior Zero boundary values would be expected. (In example, homogeneous initial conditions and dirichlet boundary values with constant value one do not work as well.)
Screenshots
System information: Tested on current pymor main.