Skip to content

Commit 9ba80c7

Browse files
committed
DROP BEFORE MERGE
1 parent abc00b1 commit 9ba80c7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/core.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,10 @@ jobs:
153153
--branch $(python3 ./firedrake-repo/scripts/firedrake-configure --show-petsc-version) \
154154
https://gitlab.com/petsc/petsc.git
155155
else
156-
git clone --depth 1 https://gitlab.com/petsc/petsc.git
156+
git clone https://gitlab.com/petsc/petsc.git
157157
fi
158158
cd petsc
159+
git checkout ksagiyam/fix_submesh_cdim
159160
python3 ../firedrake-repo/scripts/firedrake-configure \
160161
--arch ${{ matrix.arch }} --show-petsc-configure-options | \
161162
xargs -L1 ./configure --with-make-np=8 --download-slepc
@@ -191,7 +192,7 @@ jobs:
191192
: # because they rely on non-PyPI versions of petsc4py.
192193
pip install --no-build-isolation --no-deps \
193194
"$PETSC_DIR"/"$PETSC_ARCH"/externalpackages/git.slepc/src/binding/slepc4py
194-
pip install --no-deps ngsPETSc netgen-mesher netgen-occt
195+
pip install --no-deps git+https://github.com/ksagiyam/ngsPETSc.git@ksagiyam/remove_mesh_init netgen-mesher netgen-occt
195196
196197
: # We have to pass '--no-build-isolation' to use a custom petsc4py
197198
EXTRA_BUILD_ARGS='--no-isolation'

firedrake/cython/dmcommon.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,6 +1936,7 @@ def _set_dg_coordinates(PETSc.DM dm,
19361936
PetscScalar *dg_coords
19371937
const PetscScalar *firedrake_dg_coords
19381938
PetscInt n, gdim, cStart, cEnd, c, offset, firedrake_offset, i, j, coord_size, ndof
1939+
PETSc.FE coord_fe
19391940

19401941
gdim = firedrake_dg_coord_vec.getBlockSize()
19411942
coord_dm = dm.getCoordinateDM()
@@ -1968,6 +1969,7 @@ def _set_dg_coordinates(PETSc.DM dm,
19681969
dg_coord_vec,
19691970
True)
19701971
dm.setCellCoordinatesLocal(dg_coord_vec)
1972+
dm.createCoordinateSpace(1, True, False)
19711973

19721974

19731975
@cython.boundscheck(False)

firedrake/utility_meshes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,7 @@ def TensorRectangleMesh(
738738
plex = mesh.plex_from_cell_list(
739739
2, cells, coords, comm, mesh._generate_default_mesh_topology_name(name)
740740
)
741+
plex.createCoordinateSpace(1, False, False)
741742

742743
# mark boundary facets
743744
plex.createLabel(dmcommon.FACE_SETS_LABEL)

0 commit comments

Comments
 (0)