Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
run: |
python3 -m pytest test/ --cov foam2dolfinx --cov-report xml --cov-report term

- name: Install curl for codecov
run: |
apt-get update && apt-get install -y curl

- name: Upload to codecov
uses: codecov/codecov-action@v5
with:
Expand Down
8 changes: 4 additions & 4 deletions src/foam2dolfinx/open_foam_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ def _create_dolfinx_mesh(self, subdomain: str | None = "default"):
# Create dolfinx Mesh
mesh_ufl = ufl.Mesh(self.mesh_vector_element)
self.dolfinx_meshes_dict[subdomain] = create_mesh(
MPI.COMM_WORLD,
self.connectivities_dict[subdomain],
self.OF_meshes_dict[subdomain].points,
mesh_ufl,
comm=MPI.COMM_WORLD,
cells=self.connectivities_dict[subdomain],
x=self.OF_meshes_dict[subdomain].points,
e=mesh_ufl,
)

def create_dolfinx_function(
Expand Down
Loading