Compute the norm of an expression with multiple fields #377
Labels
codegen
Automatic code generation
FEM API
Objects describing finite element concepts
Next Release
Must be in next release
When computing the L2-norm of an expression, I am not sure how the discretization should work in this case.
Minimal code example:
which results in the following traceback:
Maybe I have misunderstood, how this is supposed to be discretized. In the examples there is only one space used, but we need two spaces for the two fields. It might be good to have an option as for the
BilinearForm
where the variables are specified and then the spaces, as in(taken from
test_assemble_complex_parallel
inpsydac/api/tests/test_assembly.py
)The text was updated successfully, but these errors were encountered: