@@ -360,22 +360,22 @@ def make_l2_neumann_boundary_functional(func):
360
360
products = {}
361
361
# * in H^1
362
362
products .update ({
363
- 'l2' : DuneXTMatrixOperator (l2_product .matrix ),
364
- 'h1_semi' : DuneXTMatrixOperator (h1_semi_product .matrix ),
363
+ 'l2' : DuneXTMatrixOperator (l2_product .matrix , name = 'l2' ),
364
+ 'h1_semi' : DuneXTMatrixOperator (h1_semi_product .matrix , name = 'h1_semi' ),
365
365
'h1' : (DuneXTMatrixOperator (l2_product .matrix )
366
- + DuneXTMatrixOperator (h1_semi_product .matrix )).assemble (),
366
+ + DuneXTMatrixOperator (h1_semi_product .matrix )).assemble (). with_ ( name = 'h1' ) ,
367
367
})
368
368
if mu_energy_product :
369
- products ['energy' ] = DuneXTMatrixOperator (energy_product .matrix )
369
+ products ['energy' ] = DuneXTMatrixOperator (energy_product .matrix , name = 'energy' )
370
370
# * in H^1_0
371
371
products .update ({
372
- 'l2_0' : DuneXTMatrixOperator (l2_0_product .matrix ),
373
- 'h1_0_semi' : DuneXTMatrixOperator (h1_0_semi_product .matrix ),
372
+ 'l2_0' : DuneXTMatrixOperator (l2_0_product .matrix , name = 'l2_0' ),
373
+ 'h1_0_semi' : DuneXTMatrixOperator (h1_0_semi_product .matrix , name = 'h1_0_semi' ),
374
374
'h1_0' : (DuneXTMatrixOperator (l2_0_product .matrix )
375
- + DuneXTMatrixOperator (h1_0_semi_product .matrix )).assemble (),
375
+ + DuneXTMatrixOperator (h1_0_semi_product .matrix )).assemble (). with_ ( name = 'h1_0' ) ,
376
376
})
377
377
if mu_energy_product :
378
- products ['energy_0' ] = DuneXTMatrixOperator (energy_product_0 .matrix )
378
+ products ['energy_0' ] = DuneXTMatrixOperator (energy_product_0 .matrix , name = 'energy_0' )
379
379
if not trivial_dirichlet_data :
380
380
dirichlet_data = lhs_ops [0 ].source .make_array ([dirichlet_data .dofs .vector ,])
381
381
0 commit comments