mikaem / Oasis

55 stars 48 forks source link

Fixes for fenics 2018.1.0 #18

Closed benzwick closed 5 years ago

benzwick commented 5 years ago

This fixes some problems I had when trying to run Oasis with FEniCS 2018.1.0. Both CellSize() and MPI.com_world.Get_rank() seem to have been deprecated:

AttributeError: 'dolfin.cpp.MPICommWrapper' object has no attribute 'Get_rank'

mikaem commented 5 years ago

Thanks for the PR @benzwick :-)

benzwick commented 5 years ago

No worries @mikaem. There are still a few more issues with some of the examples. Shall I continue to work on this branch now that the changes have been merged or delete it and create a new branch for more fixes?

mikaem commented 5 years ago

The best approach is to delete this branch and create a new one. Thanks again😀