54 |
|
|
55 |
# Check that two domains are equal using Fourier integrals |
# Check that two domains are equal using Fourier integrals |
56 |
# We cannot compare the X coordinates since they are on different domains |
# We cannot compare the X coordinates since they are on different domains |
57 |
def domainsEqual(self, m1, m2, nft=20): |
def domainsEqual(self, m1, m2, nft=100): |
58 |
self.failUnless(m1.getDim() == m2.getDim(), "Dimensions differ") |
self.failUnless(m1.getDim() == m2.getDim(), "Dimensions differ") |
59 |
self.failUnless(m1.getNumDataPointsGlobal() == m2.getNumDataPointsGlobal(), "Num data points differ") |
self.failUnless(m1.getNumDataPointsGlobal() == m2.getNumDataPointsGlobal(), "Num data points differ") |
60 |
for tagName in m1.showTagNames().split(", "): |
for tagName in m1.showTagNames().split(", "): |