Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
joostvanzwieten committed Jun 16, 2020
1 parent 30ecacf commit 97243a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,17 +391,17 @@ def setUp(self):
self.domain0, self.geom = mesh.rectilinear([2]*self.ndims)
self.domain1 = self.domain0.trim((1.1 - self.geom).sum(), maxrefine=2)
self.domain2 = self.domain1.refined_by(filter(self.domain1.transforms.contains, self.domain0[:1].transforms))
#self.domain3 = self.domain2.refined_by(filter(self.domain2.transforms.contains, self.domain0.refined[:1].transforms))
self.domain3 = self.domain2.refined_by(filter(self.domain2.transforms.contains, self.domain0.refined[:1].transforms))

def test_boundaries(self):
self.assertBoundaries(self.domain1, self.geom)
self.assertBoundaries(self.domain2, self.geom)
#self.assertBoundaries(self.domain3, self.geom)
self.assertBoundaries(self.domain3, self.geom)

def test_interfaces(self):
self.assertInterfaces(self.domain1, self.geom, periodic=False)
self.assertInterfaces(self.domain2, self.geom, periodic=False)
#self.assertInterfaces(self.domain3, self.geom, periodic=False)
self.assertInterfaces(self.domain3, self.geom, periodic=False)

trimmedhierarchical('1d', ndims=1)
trimmedhierarchical('2d', ndims=2)
Expand Down

0 comments on commit 97243a0

Please sign in to comment.