Hello,
Until I was using FEniCS 1.6, I was saving my time dependent solution in xdmf via following command in C++:
File file1("/home/All_Results/Wave/name.xdmf");
Then I switched to FEniCS 2016.1.0 and it gives me an error. I read we need to use XDMFFile so I ran:
XDMFFile file1("/home/All_Results/Wave/name.xdmf");
That doesn't work either. I saw some posts implementing:
XDMFFile file1(mesh.mpi_comm(), "/home/All_Results/Wave/name.xdmf");
But that doesn't work either. What does mesh.mpi_comm()
mean? How can I get XDMF to work in C++ with latest FEniCS while running in parallel?
Thank you,