fenics team mailing list archive
-
fenics team
-
Mailing list archive
-
Message #00309
How to get one function minus another function?
Hi,
I want to compare the solution given by FEniCS to the exact solution, so that I can get the convergence rate. However, I don't know how to find the difference between two functions. It seems that the solution given by FEniCS is a DiscreteFunction, while the exact solution was defined by me via overriding "eval()", thus a UserFunction. But I don't know how to get a function whose value is the difference of these two functions.
Could you help me with this? Thank you!
Best,
Chong
___________________________________________________________
雅虎邮箱,终生伙伴!
http://mail.yahoo.com.cn/
Follow ups