Skip to content

Commit

Permalink
Fixes from FEniCS/dolfinx#2763 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Sep 18, 2023
1 parent 55249ec commit 08739b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/adios4dolfinx/adios2_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def read_dofmap(
infile.Close()
adios.RemoveIO(io_name)
# Return local dofmap
return dolfinx.graph.create_adjacencylist(in_dofmap, in_offsets.astype(np.int32))
return dolfinx.graph.adjacencylist(in_dofmap, in_offsets.astype(np.int32))


def read_array(
Expand Down
2 changes: 1 addition & 1 deletion src/adios4dolfinx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def index_owner(


def compute_dofmap_pos(
V: dolfinx.fem.FunctionSpace,
V: dolfinx.fem.FunctionSpaceBase,
) -> Tuple[npt.NDArray[np.int32], npt.NDArray[np.int32]]:
"""
Compute a map from each owned dof in the dofmap to a single cell owned by the
Expand Down

0 comments on commit 08739b9

Please sign in to comment.