Hi all,
Good day!
I am currently working on interploating the nodal field vector I obtained to its corresponding elemental field vector. I am doing it in a simple way by using structured mesh, the element value is just the average of its corresponding nodal values.
Is it possible to generate a connectivity matrix to implement this function? I also need this matrix later on to do a reverse transformation.
I am wondering is there a way in PETSc to generate this connectivity matrix between nodal and elemental mesh. Or is there any better way to accomplish this?
Thanks for your kind help!
Best regards,
Kai