We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da4415d commit ee0e629Copy full SHA for ee0e629
ngsPETSc/plex.py
@@ -3,6 +3,7 @@
3
PETSc DMPlex using the petsc4py interface.
4
'''
5
import itertools
6
+import warnings
7
import numpy as np
8
from petsc4py import PETSc
9
import netgen.meshing as ngm
@@ -273,6 +274,8 @@ def createPETScDMPlex(self, mesh):
273
274
self.ngMesh = mesh.ngmesh
275
else:
276
self.ngMesh = mesh
277
+ if len(self.ngMesh.GetIdentifications()) > 0:
278
+ warnings.warn("Periodic mesh are not supported by ngsPETSc" , RuntimeWarning)
279
comm = self.comm
280
self.geo = self.ngMesh.GetGeometry()
281
if self.ngMesh.dim == 3:
0 commit comments