- Thank you received: 0
Element weighting
5 years 2 weeks ago #2063
by NilsHM
Replied by NilsHM on topic Element weighting
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:
Is there a way to make AssembleLinearization work with the custom CoefficientFunction?
Best regards
Nils
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
Best regards
Nils
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
5 years 2 weeks ago #2064
by christopher
Replied by christopher on topic Element weighting
Hi
for this derive your function from CoefficientFunctionNoDerivative instead of CoefficientFunction
Best
Christopher
for this derive your function from CoefficientFunctionNoDerivative instead of CoefficientFunction
Best
Christopher
The following user(s) said Thank You: NilsHM
Time to create page: 0.107 seconds