Hello Christopher,
thank you! Now the weighting CoefficientFunction works.
For linear problems the everything works as expected but I want to apply the element weights to nonlinear problems as well.
When calling AssembleLinearization of the BilinearForm I get the following error:
Code:
K_weighted.AssembleLinearization(u_full.vec)
Evaluate AutoDiff<double> not overloaded, type = class ngfem::MyElementWeightCFin Assemble Element Mat, bfi = Symbolic BFI in AssembleLinearization
Is there a way to make AssembleLinearization work with the custom CoefficientFunction?
Best regards
Nils