Skip to content

Commit

Permalink
Merge pull request #665 from kinnala/faster-test
Browse files Browse the repository at this point in the history
Make ConvergenceTetCCR run much faster
  • Loading branch information
kinnala authored Jun 30, 2021
2 parents 08628e5 + f335cf2 commit 7e17946
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/test_convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ def setUp(self):

class ConvergenceTetCR(ConvergenceTetP1):

rateL2 = 2.2
rateH1 = 1.13
rateL2 = 2.1
rateH1 = 1.2

def create_basis(self, m):
e = ElementTetCR()
Expand All @@ -330,13 +330,16 @@ def create_basis(self, m):

class ConvergenceTetCCR(ConvergenceTetP1):

rateL2 = 3.206
rateH1 = 2.08
rateL2 = 2.9
rateH1 = 1.9

def create_basis(self, m):
e = ElementTetCCR()
return InteriorBasis(m, e)

def setUp(self):
self.mesh = MeshTet().refined(1)


class ConvergenceTetP2(ConvergenceTetP1):

Expand Down

0 comments on commit 7e17946

Please sign in to comment.