Hi all,
I am trying to reproduce the tutorial Test problem 2: Flow past a cylinder (DFG 2D-3 benchmark) — FEniCSx tutorial to learn how to load the mesh and boundary markers in Dolfinx.
from dolfinx.io import distribute_entity_data, cell_perm_gmsh
from dolfinx.graph import create_adjacencylist
For the first line, the error that I am getting is:
ImportError: cannot import name ‘distribute_entity_data’ from ‘dolfinx.io’ (/usr/local/dolfinx-real/lib/python3.8/dist-packages/dolfinx/io.py)
ImportError: cannot import name ‘distribute_entity_data’ from ‘dolfinx.io’ (/usr/local/dolfinx-real/lib/python3.8/dist-packages/dolfinx/io.py)
and for the second line:
ModuleNotFoundError: No module named ‘dolfinx.graph’
I guess that the functions have been deleted or moved to other directories.
Does anyone know where these functions have been located?
Thanks in advance.