Skip to content

Commit df97386

Browse files
Merge branch 'exodus' of https://github.com/RemDelaporteMathurin/io4dolfinx into exodus
2 parents fd532b9 + 621b9a8 commit df97386

4 files changed

Lines changed: 4 additions & 66 deletions

File tree

mwe.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/io4dolfinx/backends/exodus/backend.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@
66
Copyright: Jørgen S. Dokken, Henrik N.T. Finsberg, Simula Research Laboratory
77
"""
88

9-
import contextlib
109
from enum import Enum
1110
from pathlib import Path
1211
from typing import Any
1312

1413
from mpi4py import MPI
15-
import netCDF4
1614

15+
import basix
1716
import dolfinx
17+
import netCDF4
1818
import numpy as np
1919
import numpy.typing as npt
20-
from dolfinx.graph import adjacencylist
21-
import basix
2220

2321
from ...structures import ArrayData, FunctionData, MeshData, MeshTagsData, ReadMeshData
24-
from ...utils import check_file_exists, compute_local_range
2522
from .. import FileMode, ReadMode
26-
from .mesh import CellType, Mesh
23+
from .mesh import CellType
2724

2825
# Based on: https://src.fedoraproject.org/repo/pkgs/exodusii/922137.pdf/a45d67f4a1a8762bcf66af2ec6eb35f9/922137.pdf
2926
tetra_facet_to_vertex_map = {0: [0, 1, 3], 1: [1, 2, 3], 2: [0, 2, 3], 3: [0, 1, 2]}

src/io4dolfinx/backends/exodus/mesh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from dataclasses import dataclass
22
from enum import Enum
33
from typing import Dict
4+
45
import numpy as np
56
import numpy.typing as npt
67

thermal_steady_out.e

-1.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)