Hello all.
If i have two functions in FEniCS: f1 and f2, that defined on the same mesh how can i apply mathematical operators via C++ interface to them? I want to sum or divide them. (f3= f1+f2; f4=f1/f2, f2!=0).
Mesh mesh("./mesh.xml");
Function f1 (mesh,"./f1.xml");
Function f2 (mesh,"./f2.xml");
Function f3 (mesh);
Function f4 (mesh);
//f3=f1+f2;
//f4=f1/f2;