Integration over non matching meshes
8 months ago by
I have given two dolfin::Functions f and g which live on different triangulations mesh_f and mesh_g. Now, I need to compute the L2 inner product of f and g. The difficulty is that the two meshes are non-matichng. Is there an easy way?
I have tried MultiMesh and was able to compute a Multi Mesh linear form L = f*v*dx where v denotes a Test function. But I was not able to compute L = f*g*dx because MultiMeshAssembler will return a GenericTensor and not a scalar ...(?).
I would be very thankful for any help or comments,
Community: FEniCS Project
Please login to add an answer/comment or follow this question.