H1 error for vector function problem #4674
Hemanta822
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to compute the H1 error for a vector problem in 2D. As my exact solution, I have a 2D vector u_ex = [u1, u2]. I created a 2*2 gradient matrix and used MatrixFunctionCoefficient to get the coefficients. But when I try to compute the H1 error using u.ComputeH1Error(exact_u_coeff, exact_grad_coeff), I cannot do so because ComputeH1Error() takes gradient from VectorFunctionCoefficient. I would appreciate it if someone could help me or give me some direction to deal with this.
Beta Was this translation helpful? Give feedback.
All reactions