24 |
|
|
25 |
class Test_Util_SpatialFunctions(unittest.TestCase): |
class Test_Util_SpatialFunctions(unittest.TestCase): |
26 |
RES_TOL=1.e-8 |
RES_TOL=1.e-8 |
27 |
|
def test_x_ofDomain(self): |
28 |
|
""" |
29 |
|
test getX() of the domain to be in the [0,1]^dim box |
30 |
|
""" |
31 |
|
dim=self.domain.getDim() |
32 |
|
x=self.domain.getX() |
33 |
|
self.failUnlessEqual(x.getShape(),(dim,),"wrong shape of result.") |
34 |
|
self.failUnlessAlmostEqual(inf(x[0]),0.,int(-log10(self.RES_TOL)),"min x0 wrong") |
35 |
|
self.failUnlessAlmostEqual(sup(x[0]),1.,int(-log10(self.RES_TOL)),"max x0 wrong") |
36 |
|
self.failUnlessAlmostEqual(inf(x[1]),0.,int(-log10(self.RES_TOL)),"min x1 wrong") |
37 |
|
self.failUnlessAlmostEqual(sup(x[1]),1.,int(-log10(self.RES_TOL)),"max x1 wrong") |
38 |
|
if dim>2: |
39 |
|
self.failUnlessAlmostEqual(inf(x[2]),0.,int(-log10(self.RES_TOL)),"min x2 wrong") |
40 |
|
self.failUnlessAlmostEqual(sup(x[2]),1.,int(-log10(self.RES_TOL)),"max x2 wrong") |
41 |
|
|
42 |
|
def test_normal_FunctionOnBoundary(self): |
43 |
|
""" |
44 |
|
test getNormal() on boundary |
45 |
|
|
46 |
|
assumptions: FunctionOnBoundary(self.domain) exists |
47 |
|
""" |
48 |
|
dim=self.domain.getDim() |
49 |
|
f=FunctionOnBoundary(self.domain) |
50 |
|
x=f.getX() |
51 |
|
ref=Vector(0.,what=f) |
52 |
|
if dim==3: |
53 |
|
ref+=whereZero(x[0]-1.,tol=self.RES_TOL)*[1,0,0] |
54 |
|
ref+=whereZero(x[0],tol=self.RES_TOL)*[-1,0,0] |
55 |
|
ref+=whereZero(x[1]-1.,tol=self.RES_TOL)*[0,1,0] |
56 |
|
ref+=whereZero(x[1],tol=self.RES_TOL)*[0,-1,0] |
57 |
|
ref+=whereZero(x[2]-1.,tol=self.RES_TOL)*[0,0,1] |
58 |
|
ref+=whereZero(x[2],tol=self.RES_TOL)*[0,0,-1] |
59 |
|
else: |
60 |
|
ref+=whereZero(x[0]-1.,tol=self.RES_TOL)*[1,0] |
61 |
|
ref+=whereZero(x[0],tol=self.RES_TOL)*[-1,0] |
62 |
|
ref+=whereZero(x[1]-1.,tol=self.RES_TOL)*[0,1] |
63 |
|
ref+=whereZero(x[1],tol=self.RES_TOL)*[0,-1] |
64 |
|
|
65 |
|
res=f.getNormal() |
66 |
|
self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.") |
67 |
|
self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.") |
68 |
|
self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result") |
69 |
|
|
70 |
|
def test_normal_onFunctionOnContactZero(self): |
71 |
|
""" |
72 |
|
test getNormal() on cotact side 0 |
73 |
|
|
74 |
|
assumptions: FunctionOnContactZero(self.domain) exists |
75 |
|
""" |
76 |
|
dim=self.domain.getDim() |
77 |
|
f=FunctionOnContactZero(self.domain) |
78 |
|
x=f.getX() |
79 |
|
ref=Vector(0.,what=f) |
80 |
|
if dim==3: |
81 |
|
ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[1,0,0] |
82 |
|
else: |
83 |
|
ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[1,0] |
84 |
|
|
85 |
|
res=f.getNormal() |
86 |
|
self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.") |
87 |
|
self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.") |
88 |
|
self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result") |
89 |
|
|
90 |
|
def test_normal_onFunctionOnContactOne(self): |
91 |
|
""" |
92 |
|
test getNormal() on cotact side 1 |
93 |
|
|
94 |
|
assumptions: FunctionOnContactOne(self.domain) exists |
95 |
|
""" |
96 |
|
dim=self.domain.getDim() |
97 |
|
f=FunctionOnContactOne(self.domain) |
98 |
|
x=f.getX() |
99 |
|
ref=Vector(0.,what=f) |
100 |
|
if dim==3: |
101 |
|
ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[-1,0,0] |
102 |
|
else: |
103 |
|
ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[-1,0] |
104 |
|
|
105 |
|
res=f.getNormal() |
106 |
|
self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.") |
107 |
|
self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.") |
108 |
|
self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result") |
109 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
110 |
def test_integrate_onFunction_fromData_ContinuousFunction_rank0(self): |
def test_integrate_onFunction_fromData_ContinuousFunction_rank0(self): |
111 |
""" |
""" |
35059 |
self.failUnlessEqual(res.getShape(),(6, 2, 2)+(dim,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2)+(dim,),"wrong shape of result.") |
35060 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35061 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35062 |
def test_interpolation_onFunction_fromData_ContinuousFunction_rank0(self): |
def test_interpolate_onFunction_fromData_ContinuousFunction_rank0(self): |
35063 |
""" |
""" |
35064 |
tests interpolation for rank 0 Data onto the Function |
tests interpolate for rank 0 Data onto the Function |
35065 |
|
|
35066 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
35067 |
""" |
""" |
35085 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
35086 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35087 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35088 |
def test_interpolation_onFunction_fromData_ContinuousFunction_rank1(self): |
def test_interpolate_onFunction_fromData_ContinuousFunction_rank1(self): |
35089 |
""" |
""" |
35090 |
tests interpolation for rank 1 Data onto the Function |
tests interpolate for rank 1 Data onto the Function |
35091 |
|
|
35092 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
35093 |
""" |
""" |
35115 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
35116 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35117 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35118 |
def test_interpolation_onFunction_fromData_ContinuousFunction_rank2(self): |
def test_interpolate_onFunction_fromData_ContinuousFunction_rank2(self): |
35119 |
""" |
""" |
35120 |
tests interpolation for rank 2 Data onto the Function |
tests interpolate for rank 2 Data onto the Function |
35121 |
|
|
35122 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
35123 |
""" |
""" |
35217 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
35218 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35219 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35220 |
def test_interpolation_onFunction_fromData_ContinuousFunction_rank3(self): |
def test_interpolate_onFunction_fromData_ContinuousFunction_rank3(self): |
35221 |
""" |
""" |
35222 |
tests interpolation for rank 3 Data onto the Function |
tests interpolate for rank 3 Data onto the Function |
35223 |
|
|
35224 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
35225 |
""" |
""" |
35335 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
35336 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35337 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35338 |
def test_interpolation_onFunction_fromData_ContinuousFunction_rank4(self): |
def test_interpolate_onFunction_fromData_ContinuousFunction_rank4(self): |
35339 |
""" |
""" |
35340 |
tests interpolation for rank 4 Data onto the Function |
tests interpolate for rank 4 Data onto the Function |
35341 |
|
|
35342 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
35343 |
""" |
""" |
35837 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
35838 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35839 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35840 |
def test_interpolation_onFunction_fromData_Solution_rank0(self): |
def test_interpolate_onFunction_fromData_Solution_rank0(self): |
35841 |
""" |
""" |
35842 |
tests interpolation for rank 0 Data onto the Function |
tests interpolate for rank 0 Data onto the Function |
35843 |
|
|
35844 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
35845 |
""" |
""" |
35863 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
35864 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35865 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35866 |
def test_interpolation_onFunction_fromData_Solution_rank1(self): |
def test_interpolate_onFunction_fromData_Solution_rank1(self): |
35867 |
""" |
""" |
35868 |
tests interpolation for rank 1 Data onto the Function |
tests interpolate for rank 1 Data onto the Function |
35869 |
|
|
35870 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
35871 |
""" |
""" |
35893 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
35894 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35895 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35896 |
def test_interpolation_onFunction_fromData_Solution_rank2(self): |
def test_interpolate_onFunction_fromData_Solution_rank2(self): |
35897 |
""" |
""" |
35898 |
tests interpolation for rank 2 Data onto the Function |
tests interpolate for rank 2 Data onto the Function |
35899 |
|
|
35900 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
35901 |
""" |
""" |
35995 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
35996 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
35997 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
35998 |
def test_interpolation_onFunction_fromData_Solution_rank3(self): |
def test_interpolate_onFunction_fromData_Solution_rank3(self): |
35999 |
""" |
""" |
36000 |
tests interpolation for rank 3 Data onto the Function |
tests interpolate for rank 3 Data onto the Function |
36001 |
|
|
36002 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
36003 |
""" |
""" |
36113 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
36114 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
36115 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
36116 |
def test_interpolation_onFunction_fromData_Solution_rank4(self): |
def test_interpolate_onFunction_fromData_Solution_rank4(self): |
36117 |
""" |
""" |
36118 |
tests interpolation for rank 4 Data onto the Function |
tests interpolate for rank 4 Data onto the Function |
36119 |
|
|
36120 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
36121 |
""" |
""" |
36615 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
36616 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
36617 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
36618 |
def test_interpolation_onFunction_fromData_ReducedSolution_rank0(self): |
def test_interpolate_onFunction_fromData_ReducedSolution_rank0(self): |
36619 |
""" |
""" |
36620 |
tests interpolation for rank 0 Data onto the Function |
tests interpolate for rank 0 Data onto the Function |
36621 |
|
|
36622 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
36623 |
""" |
""" |
36641 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
36642 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
36643 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
36644 |
def test_interpolation_onFunction_fromData_ReducedSolution_rank1(self): |
def test_interpolate_onFunction_fromData_ReducedSolution_rank1(self): |
36645 |
""" |
""" |
36646 |
tests interpolation for rank 1 Data onto the Function |
tests interpolate for rank 1 Data onto the Function |
36647 |
|
|
36648 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
36649 |
""" |
""" |
36671 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
36672 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
36673 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
36674 |
def test_interpolation_onFunction_fromData_ReducedSolution_rank2(self): |
def test_interpolate_onFunction_fromData_ReducedSolution_rank2(self): |
36675 |
""" |
""" |
36676 |
tests interpolation for rank 2 Data onto the Function |
tests interpolate for rank 2 Data onto the Function |
36677 |
|
|
36678 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
36679 |
""" |
""" |
36773 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
36774 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
36775 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
36776 |
def test_interpolation_onFunction_fromData_ReducedSolution_rank3(self): |
def test_interpolate_onFunction_fromData_ReducedSolution_rank3(self): |
36777 |
""" |
""" |
36778 |
tests interpolation for rank 3 Data onto the Function |
tests interpolate for rank 3 Data onto the Function |
36779 |
|
|
36780 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
36781 |
""" |
""" |
36891 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
36892 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
36893 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
36894 |
def test_interpolation_onFunction_fromData_ReducedSolution_rank4(self): |
def test_interpolate_onFunction_fromData_ReducedSolution_rank4(self): |
36895 |
""" |
""" |
36896 |
tests interpolation for rank 4 Data onto the Function |
tests interpolate for rank 4 Data onto the Function |
36897 |
|
|
36898 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
36899 |
""" |
""" |
37393 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
37394 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
37395 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
37396 |
def test_interpolation_onFunction_fromData_Function_rank0(self): |
def test_interpolate_onFunction_fromData_Function_rank0(self): |
37397 |
""" |
""" |
37398 |
tests interpolation for rank 0 Data onto the Function |
tests interpolate for rank 0 Data onto the Function |
37399 |
|
|
37400 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
37401 |
""" |
""" |
37419 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
37420 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
37421 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
37422 |
def test_interpolation_onFunction_fromData_Function_rank1(self): |
def test_interpolate_onFunction_fromData_Function_rank1(self): |
37423 |
""" |
""" |
37424 |
tests interpolation for rank 1 Data onto the Function |
tests interpolate for rank 1 Data onto the Function |
37425 |
|
|
37426 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
37427 |
""" |
""" |
37449 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
37450 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
37451 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
37452 |
def test_interpolation_onFunction_fromData_Function_rank2(self): |
def test_interpolate_onFunction_fromData_Function_rank2(self): |
37453 |
""" |
""" |
37454 |
tests interpolation for rank 2 Data onto the Function |
tests interpolate for rank 2 Data onto the Function |
37455 |
|
|
37456 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
37457 |
""" |
""" |
37551 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
37552 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
37553 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
37554 |
def test_interpolation_onFunction_fromData_Function_rank3(self): |
def test_interpolate_onFunction_fromData_Function_rank3(self): |
37555 |
""" |
""" |
37556 |
tests interpolation for rank 3 Data onto the Function |
tests interpolate for rank 3 Data onto the Function |
37557 |
|
|
37558 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
37559 |
""" |
""" |
37669 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
37670 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
37671 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
37672 |
def test_interpolation_onFunction_fromData_Function_rank4(self): |
def test_interpolate_onFunction_fromData_Function_rank4(self): |
37673 |
""" |
""" |
37674 |
tests interpolation for rank 4 Data onto the Function |
tests interpolate for rank 4 Data onto the Function |
37675 |
|
|
37676 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
37677 |
""" |
""" |
38171 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
38172 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
38173 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
38174 |
def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank0(self): |
def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank0(self): |
38175 |
""" |
""" |
38176 |
tests interpolation for rank 0 Symbol onto the Function |
tests interpolate for rank 0 Symbol onto the Function |
38177 |
|
|
38178 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
38179 |
""" |
""" |
38199 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
38200 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
38201 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
38202 |
def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank1(self): |
def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank1(self): |
38203 |
""" |
""" |
38204 |
tests interpolation for rank 1 Symbol onto the Function |
tests interpolate for rank 1 Symbol onto the Function |
38205 |
|
|
38206 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
38207 |
""" |
""" |
38231 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
38232 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
38233 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
38234 |
def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank2(self): |
def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank2(self): |
38235 |
""" |
""" |
38236 |
tests interpolation for rank 2 Symbol onto the Function |
tests interpolate for rank 2 Symbol onto the Function |
38237 |
|
|
38238 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
38239 |
""" |
""" |
38335 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
38336 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
38337 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
38338 |
def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank3(self): |
def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank3(self): |
38339 |
""" |
""" |
38340 |
tests interpolation for rank 3 Symbol onto the Function |
tests interpolate for rank 3 Symbol onto the Function |
38341 |
|
|
38342 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
38343 |
""" |
""" |
38455 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
38456 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
38457 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
38458 |
def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank4(self): |
def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank4(self): |
38459 |
""" |
""" |
38460 |
tests interpolation for rank 4 Symbol onto the Function |
tests interpolate for rank 4 Symbol onto the Function |
38461 |
|
|
38462 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function |
38463 |
""" |
""" |
38959 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
38960 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
38961 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
38962 |
def test_interpolation_onFunction_fromSymbol_Solution_rank0(self): |
def test_interpolate_onFunction_fromSymbol_Solution_rank0(self): |
38963 |
""" |
""" |
38964 |
tests interpolation for rank 0 Symbol onto the Function |
tests interpolate for rank 0 Symbol onto the Function |
38965 |
|
|
38966 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
38967 |
""" |
""" |
38987 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
38988 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
38989 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
38990 |
def test_interpolation_onFunction_fromSymbol_Solution_rank1(self): |
def test_interpolate_onFunction_fromSymbol_Solution_rank1(self): |
38991 |
""" |
""" |
38992 |
tests interpolation for rank 1 Symbol onto the Function |
tests interpolate for rank 1 Symbol onto the Function |
38993 |
|
|
38994 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
38995 |
""" |
""" |
39019 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
39020 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
39021 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
39022 |
def test_interpolation_onFunction_fromSymbol_Solution_rank2(self): |
def test_interpolate_onFunction_fromSymbol_Solution_rank2(self): |
39023 |
""" |
""" |
39024 |
tests interpolation for rank 2 Symbol onto the Function |
tests interpolate for rank 2 Symbol onto the Function |
39025 |
|
|
39026 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
39027 |
""" |
""" |
39123 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
39124 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
39125 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
39126 |
def test_interpolation_onFunction_fromSymbol_Solution_rank3(self): |
def test_interpolate_onFunction_fromSymbol_Solution_rank3(self): |
39127 |
""" |
""" |
39128 |
tests interpolation for rank 3 Symbol onto the Function |
tests interpolate for rank 3 Symbol onto the Function |
39129 |
|
|
39130 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
39131 |
""" |
""" |
39243 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
39244 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
39245 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
39246 |
def test_interpolation_onFunction_fromSymbol_Solution_rank4(self): |
def test_interpolate_onFunction_fromSymbol_Solution_rank4(self): |
39247 |
""" |
""" |
39248 |
tests interpolation for rank 4 Symbol onto the Function |
tests interpolate for rank 4 Symbol onto the Function |
39249 |
|
|
39250 |
assumptions: self.domain supports inpterpolation from Solution onto Function |
assumptions: self.domain supports inpterpolation from Solution onto Function |
39251 |
""" |
""" |
39747 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
39748 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
39749 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
39750 |
def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank0(self): |
def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank0(self): |
39751 |
""" |
""" |
39752 |
tests interpolation for rank 0 Symbol onto the Function |
tests interpolate for rank 0 Symbol onto the Function |
39753 |
|
|
39754 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
39755 |
""" |
""" |
39775 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
39776 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
39777 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
39778 |
def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank1(self): |
def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank1(self): |
39779 |
""" |
""" |
39780 |
tests interpolation for rank 1 Symbol onto the Function |
tests interpolate for rank 1 Symbol onto the Function |
39781 |
|
|
39782 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
39783 |
""" |
""" |
39807 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
39808 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
39809 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
39810 |
def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank2(self): |
def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank2(self): |
39811 |
""" |
""" |
39812 |
tests interpolation for rank 2 Symbol onto the Function |
tests interpolate for rank 2 Symbol onto the Function |
39813 |
|
|
39814 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
39815 |
""" |
""" |
39911 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
39912 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
39913 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
39914 |
def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank3(self): |
def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank3(self): |
39915 |
""" |
""" |
39916 |
tests interpolation for rank 3 Symbol onto the Function |
tests interpolate for rank 3 Symbol onto the Function |
39917 |
|
|
39918 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
39919 |
""" |
""" |
40031 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
40032 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
40033 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
40034 |
def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank4(self): |
def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank4(self): |
40035 |
""" |
""" |
40036 |
tests interpolation for rank 4 Symbol onto the Function |
tests interpolate for rank 4 Symbol onto the Function |
40037 |
|
|
40038 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
assumptions: self.domain supports inpterpolation from ReducedSolution onto Function |
40039 |
""" |
""" |
40535 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
40536 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
40537 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
40538 |
def test_interpolation_onFunction_fromSymbol_Function_rank0(self): |
def test_interpolate_onFunction_fromSymbol_Function_rank0(self): |
40539 |
""" |
""" |
40540 |
tests interpolation for rank 0 Symbol onto the Function |
tests interpolate for rank 0 Symbol onto the Function |
40541 |
|
|
40542 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
40543 |
""" |
""" |
40563 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
40564 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
40565 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
40566 |
def test_interpolation_onFunction_fromSymbol_Function_rank1(self): |
def test_interpolate_onFunction_fromSymbol_Function_rank1(self): |
40567 |
""" |
""" |
40568 |
tests interpolation for rank 1 Symbol onto the Function |
tests interpolate for rank 1 Symbol onto the Function |
40569 |
|
|
40570 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
40571 |
""" |
""" |
40595 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
40596 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
40597 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
40598 |
def test_interpolation_onFunction_fromSymbol_Function_rank2(self): |
def test_interpolate_onFunction_fromSymbol_Function_rank2(self): |
40599 |
""" |
""" |
40600 |
tests interpolation for rank 2 Symbol onto the Function |
tests interpolate for rank 2 Symbol onto the Function |
40601 |
|
|
40602 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
40603 |
""" |
""" |
40699 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
40700 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
40701 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
40702 |
def test_interpolation_onFunction_fromSymbol_Function_rank3(self): |
def test_interpolate_onFunction_fromSymbol_Function_rank3(self): |
40703 |
""" |
""" |
40704 |
tests interpolation for rank 3 Symbol onto the Function |
tests interpolate for rank 3 Symbol onto the Function |
40705 |
|
|
40706 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
40707 |
""" |
""" |
40819 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
40820 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
40821 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
40822 |
def test_interpolation_onFunction_fromSymbol_Function_rank4(self): |
def test_interpolate_onFunction_fromSymbol_Function_rank4(self): |
40823 |
""" |
""" |
40824 |
tests interpolation for rank 4 Symbol onto the Function |
tests interpolate for rank 4 Symbol onto the Function |
40825 |
|
|
40826 |
assumptions: self.domain supports inpterpolation from Function onto Function |
assumptions: self.domain supports inpterpolation from Function onto Function |
40827 |
""" |
""" |
41323 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
41324 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
41325 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
41326 |
def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank0(self): |
41327 |
""" |
""" |
41328 |
tests interpolation for rank 0 Data onto the FunctionOnBoundary |
tests interpolate for rank 0 Data onto the FunctionOnBoundary |
41329 |
|
|
41330 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
41331 |
""" |
""" |
41349 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
41350 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
41351 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
41352 |
def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank1(self): |
41353 |
""" |
""" |
41354 |
tests interpolation for rank 1 Data onto the FunctionOnBoundary |
tests interpolate for rank 1 Data onto the FunctionOnBoundary |
41355 |
|
|
41356 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
41357 |
""" |
""" |
41379 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
41380 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
41381 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
41382 |
def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank2(self): |
41383 |
""" |
""" |
41384 |
tests interpolation for rank 2 Data onto the FunctionOnBoundary |
tests interpolate for rank 2 Data onto the FunctionOnBoundary |
41385 |
|
|
41386 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
41387 |
""" |
""" |
41481 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
41482 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
41483 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
41484 |
def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank3(self): |
41485 |
""" |
""" |
41486 |
tests interpolation for rank 3 Data onto the FunctionOnBoundary |
tests interpolate for rank 3 Data onto the FunctionOnBoundary |
41487 |
|
|
41488 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
41489 |
""" |
""" |
41599 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
41600 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
41601 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
41602 |
def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank4(self): |
41603 |
""" |
""" |
41604 |
tests interpolation for rank 4 Data onto the FunctionOnBoundary |
tests interpolate for rank 4 Data onto the FunctionOnBoundary |
41605 |
|
|
41606 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
41607 |
""" |
""" |
42101 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
42102 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42103 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42104 |
def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank0(self): |
42105 |
""" |
""" |
42106 |
tests interpolation for rank 0 Data onto the FunctionOnBoundary |
tests interpolate for rank 0 Data onto the FunctionOnBoundary |
42107 |
|
|
42108 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
42109 |
""" |
""" |
42127 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
42128 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42129 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42130 |
def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank1(self): |
42131 |
""" |
""" |
42132 |
tests interpolation for rank 1 Data onto the FunctionOnBoundary |
tests interpolate for rank 1 Data onto the FunctionOnBoundary |
42133 |
|
|
42134 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
42135 |
""" |
""" |
42157 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
42158 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42159 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42160 |
def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank2(self): |
42161 |
""" |
""" |
42162 |
tests interpolation for rank 2 Data onto the FunctionOnBoundary |
tests interpolate for rank 2 Data onto the FunctionOnBoundary |
42163 |
|
|
42164 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
42165 |
""" |
""" |
42259 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
42260 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42261 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42262 |
def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank3(self): |
42263 |
""" |
""" |
42264 |
tests interpolation for rank 3 Data onto the FunctionOnBoundary |
tests interpolate for rank 3 Data onto the FunctionOnBoundary |
42265 |
|
|
42266 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
42267 |
""" |
""" |
42377 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
42378 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42379 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42380 |
def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank4(self): |
42381 |
""" |
""" |
42382 |
tests interpolation for rank 4 Data onto the FunctionOnBoundary |
tests interpolate for rank 4 Data onto the FunctionOnBoundary |
42383 |
|
|
42384 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
42385 |
""" |
""" |
42879 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
42880 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42881 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42882 |
def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank0(self): |
42883 |
""" |
""" |
42884 |
tests interpolation for rank 0 Data onto the FunctionOnBoundary |
tests interpolate for rank 0 Data onto the FunctionOnBoundary |
42885 |
|
|
42886 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
42887 |
""" |
""" |
42905 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
42906 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42907 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42908 |
def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank1(self): |
42909 |
""" |
""" |
42910 |
tests interpolation for rank 1 Data onto the FunctionOnBoundary |
tests interpolate for rank 1 Data onto the FunctionOnBoundary |
42911 |
|
|
42912 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
42913 |
""" |
""" |
42935 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
42936 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
42937 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
42938 |
def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank2(self): |
42939 |
""" |
""" |
42940 |
tests interpolation for rank 2 Data onto the FunctionOnBoundary |
tests interpolate for rank 2 Data onto the FunctionOnBoundary |
42941 |
|
|
42942 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
42943 |
""" |
""" |
43037 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
43038 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
43039 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
43040 |
def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank3(self): |
43041 |
""" |
""" |
43042 |
tests interpolation for rank 3 Data onto the FunctionOnBoundary |
tests interpolate for rank 3 Data onto the FunctionOnBoundary |
43043 |
|
|
43044 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
43045 |
""" |
""" |
43155 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
43156 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
43157 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
43158 |
def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank4(self): |
43159 |
""" |
""" |
43160 |
tests interpolation for rank 4 Data onto the FunctionOnBoundary |
tests interpolate for rank 4 Data onto the FunctionOnBoundary |
43161 |
|
|
43162 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
43163 |
""" |
""" |
43657 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
43658 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
43659 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
43660 |
def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank0(self): |
43661 |
""" |
""" |
43662 |
tests interpolation for rank 0 Data onto the FunctionOnBoundary |
tests interpolate for rank 0 Data onto the FunctionOnBoundary |
43663 |
|
|
43664 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
43665 |
""" |
""" |
43683 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
43684 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
43685 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
43686 |
def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank1(self): |
43687 |
""" |
""" |
43688 |
tests interpolation for rank 1 Data onto the FunctionOnBoundary |
tests interpolate for rank 1 Data onto the FunctionOnBoundary |
43689 |
|
|
43690 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
43691 |
""" |
""" |
43713 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
43714 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
43715 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
43716 |
def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank2(self): |
43717 |
""" |
""" |
43718 |
tests interpolation for rank 2 Data onto the FunctionOnBoundary |
tests interpolate for rank 2 Data onto the FunctionOnBoundary |
43719 |
|
|
43720 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
43721 |
""" |
""" |
43815 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
43816 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
43817 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
43818 |
def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank3(self): |
43819 |
""" |
""" |
43820 |
tests interpolation for rank 3 Data onto the FunctionOnBoundary |
tests interpolate for rank 3 Data onto the FunctionOnBoundary |
43821 |
|
|
43822 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
43823 |
""" |
""" |
43933 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
43934 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
43935 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
43936 |
def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank4(self): |
43937 |
""" |
""" |
43938 |
tests interpolation for rank 4 Data onto the FunctionOnBoundary |
tests interpolate for rank 4 Data onto the FunctionOnBoundary |
43939 |
|
|
43940 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
43941 |
""" |
""" |
44435 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
44436 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
44437 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
44438 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank0(self): |
44439 |
""" |
""" |
44440 |
tests interpolation for rank 0 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 0 Symbol onto the FunctionOnBoundary |
44441 |
|
|
44442 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
44443 |
""" |
""" |
44463 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
44464 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
44465 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
44466 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank1(self): |
44467 |
""" |
""" |
44468 |
tests interpolation for rank 1 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 1 Symbol onto the FunctionOnBoundary |
44469 |
|
|
44470 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
44471 |
""" |
""" |
44495 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
44496 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
44497 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
44498 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank2(self): |
44499 |
""" |
""" |
44500 |
tests interpolation for rank 2 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 2 Symbol onto the FunctionOnBoundary |
44501 |
|
|
44502 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
44503 |
""" |
""" |
44599 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
44600 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
44601 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
44602 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank3(self): |
44603 |
""" |
""" |
44604 |
tests interpolation for rank 3 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 3 Symbol onto the FunctionOnBoundary |
44605 |
|
|
44606 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
44607 |
""" |
""" |
44719 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
44720 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
44721 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
44722 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank4(self): |
44723 |
""" |
""" |
44724 |
tests interpolation for rank 4 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 4 Symbol onto the FunctionOnBoundary |
44725 |
|
|
44726 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary |
44727 |
""" |
""" |
45223 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
45224 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
45225 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
45226 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank0(self): |
45227 |
""" |
""" |
45228 |
tests interpolation for rank 0 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 0 Symbol onto the FunctionOnBoundary |
45229 |
|
|
45230 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
45231 |
""" |
""" |
45251 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
45252 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
45253 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
45254 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank1(self): |
45255 |
""" |
""" |
45256 |
tests interpolation for rank 1 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 1 Symbol onto the FunctionOnBoundary |
45257 |
|
|
45258 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
45259 |
""" |
""" |
45283 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
45284 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
45285 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
45286 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank2(self): |
45287 |
""" |
""" |
45288 |
tests interpolation for rank 2 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 2 Symbol onto the FunctionOnBoundary |
45289 |
|
|
45290 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
45291 |
""" |
""" |
45387 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
45388 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
45389 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
45390 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank3(self): |
45391 |
""" |
""" |
45392 |
tests interpolation for rank 3 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 3 Symbol onto the FunctionOnBoundary |
45393 |
|
|
45394 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
45395 |
""" |
""" |
45507 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
45508 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
45509 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
45510 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank4(self): |
45511 |
""" |
""" |
45512 |
tests interpolation for rank 4 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 4 Symbol onto the FunctionOnBoundary |
45513 |
|
|
45514 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary |
45515 |
""" |
""" |
46011 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
46012 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46013 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46014 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank0(self): |
46015 |
""" |
""" |
46016 |
tests interpolation for rank 0 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 0 Symbol onto the FunctionOnBoundary |
46017 |
|
|
46018 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
46019 |
""" |
""" |
46039 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
46040 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46041 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46042 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank1(self): |
46043 |
""" |
""" |
46044 |
tests interpolation for rank 1 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 1 Symbol onto the FunctionOnBoundary |
46045 |
|
|
46046 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
46047 |
""" |
""" |
46071 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
46072 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46073 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46074 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank2(self): |
46075 |
""" |
""" |
46076 |
tests interpolation for rank 2 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 2 Symbol onto the FunctionOnBoundary |
46077 |
|
|
46078 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
46079 |
""" |
""" |
46175 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
46176 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46177 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46178 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank3(self): |
46179 |
""" |
""" |
46180 |
tests interpolation for rank 3 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 3 Symbol onto the FunctionOnBoundary |
46181 |
|
|
46182 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
46183 |
""" |
""" |
46295 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
46296 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46297 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46298 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank4(self): |
46299 |
""" |
""" |
46300 |
tests interpolation for rank 4 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 4 Symbol onto the FunctionOnBoundary |
46301 |
|
|
46302 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary |
46303 |
""" |
""" |
46799 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
46800 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46801 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46802 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank0(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank0(self): |
46803 |
""" |
""" |
46804 |
tests interpolation for rank 0 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 0 Symbol onto the FunctionOnBoundary |
46805 |
|
|
46806 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
46807 |
""" |
""" |
46827 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
46828 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46829 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46830 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank1(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank1(self): |
46831 |
""" |
""" |
46832 |
tests interpolation for rank 1 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 1 Symbol onto the FunctionOnBoundary |
46833 |
|
|
46834 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
46835 |
""" |
""" |
46859 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
46860 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46861 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46862 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank2(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank2(self): |
46863 |
""" |
""" |
46864 |
tests interpolation for rank 2 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 2 Symbol onto the FunctionOnBoundary |
46865 |
|
|
46866 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
46867 |
""" |
""" |
46963 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
46964 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
46965 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
46966 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank3(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank3(self): |
46967 |
""" |
""" |
46968 |
tests interpolation for rank 3 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 3 Symbol onto the FunctionOnBoundary |
46969 |
|
|
46970 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
46971 |
""" |
""" |
47083 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
47084 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
47085 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
47086 |
def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank4(self): |
def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank4(self): |
47087 |
""" |
""" |
47088 |
tests interpolation for rank 4 Symbol onto the FunctionOnBoundary |
tests interpolate for rank 4 Symbol onto the FunctionOnBoundary |
47089 |
|
|
47090 |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary |
47091 |
""" |
""" |
47587 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
47588 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
47589 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
47590 |
def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank0(self): |
47591 |
""" |
""" |
47592 |
tests interpolation for rank 0 Data onto the FunctionOnContactZero |
tests interpolate for rank 0 Data onto the FunctionOnContactZero |
47593 |
|
|
47594 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
47595 |
""" |
""" |
47613 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
47614 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
47615 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
47616 |
def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank1(self): |
47617 |
""" |
""" |
47618 |
tests interpolation for rank 1 Data onto the FunctionOnContactZero |
tests interpolate for rank 1 Data onto the FunctionOnContactZero |
47619 |
|
|
47620 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
47621 |
""" |
""" |
47643 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
47644 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
47645 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
47646 |
def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank2(self): |
47647 |
""" |
""" |
47648 |
tests interpolation for rank 2 Data onto the FunctionOnContactZero |
tests interpolate for rank 2 Data onto the FunctionOnContactZero |
47649 |
|
|
47650 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
47651 |
""" |
""" |
47745 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
47746 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
47747 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
47748 |
def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank3(self): |
47749 |
""" |
""" |
47750 |
tests interpolation for rank 3 Data onto the FunctionOnContactZero |
tests interpolate for rank 3 Data onto the FunctionOnContactZero |
47751 |
|
|
47752 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
47753 |
""" |
""" |
47863 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
47864 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
47865 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
47866 |
def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank4(self): |
47867 |
""" |
""" |
47868 |
tests interpolation for rank 4 Data onto the FunctionOnContactZero |
tests interpolate for rank 4 Data onto the FunctionOnContactZero |
47869 |
|
|
47870 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
47871 |
""" |
""" |
48365 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
48366 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
48367 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
48368 |
def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank0(self): |
48369 |
""" |
""" |
48370 |
tests interpolation for rank 0 Data onto the FunctionOnContactZero |
tests interpolate for rank 0 Data onto the FunctionOnContactZero |
48371 |
|
|
48372 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
48373 |
""" |
""" |
48391 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
48392 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
48393 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
48394 |
def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank1(self): |
48395 |
""" |
""" |
48396 |
tests interpolation for rank 1 Data onto the FunctionOnContactZero |
tests interpolate for rank 1 Data onto the FunctionOnContactZero |
48397 |
|
|
48398 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
48399 |
""" |
""" |
48421 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
48422 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
48423 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
48424 |
def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank2(self): |
48425 |
""" |
""" |
48426 |
tests interpolation for rank 2 Data onto the FunctionOnContactZero |
tests interpolate for rank 2 Data onto the FunctionOnContactZero |
48427 |
|
|
48428 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
48429 |
""" |
""" |
48523 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
48524 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
48525 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
48526 |
def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank3(self): |
48527 |
""" |
""" |
48528 |
tests interpolation for rank 3 Data onto the FunctionOnContactZero |
tests interpolate for rank 3 Data onto the FunctionOnContactZero |
48529 |
|
|
48530 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
48531 |
""" |
""" |
48641 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
48642 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
48643 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
48644 |
def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank4(self): |
48645 |
""" |
""" |
48646 |
tests interpolation for rank 4 Data onto the FunctionOnContactZero |
tests interpolate for rank 4 Data onto the FunctionOnContactZero |
48647 |
|
|
48648 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
48649 |
""" |
""" |
49143 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
49144 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49145 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49146 |
def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank0(self): |
49147 |
""" |
""" |
49148 |
tests interpolation for rank 0 Data onto the FunctionOnContactZero |
tests interpolate for rank 0 Data onto the FunctionOnContactZero |
49149 |
|
|
49150 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
49151 |
""" |
""" |
49169 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
49170 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49171 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49172 |
def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank1(self): |
49173 |
""" |
""" |
49174 |
tests interpolation for rank 1 Data onto the FunctionOnContactZero |
tests interpolate for rank 1 Data onto the FunctionOnContactZero |
49175 |
|
|
49176 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
49177 |
""" |
""" |
49199 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
49200 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49201 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49202 |
def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank2(self): |
49203 |
""" |
""" |
49204 |
tests interpolation for rank 2 Data onto the FunctionOnContactZero |
tests interpolate for rank 2 Data onto the FunctionOnContactZero |
49205 |
|
|
49206 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
49207 |
""" |
""" |
49301 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
49302 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49303 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49304 |
def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank3(self): |
49305 |
""" |
""" |
49306 |
tests interpolation for rank 3 Data onto the FunctionOnContactZero |
tests interpolate for rank 3 Data onto the FunctionOnContactZero |
49307 |
|
|
49308 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
49309 |
""" |
""" |
49419 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
49420 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49421 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49422 |
def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank4(self): |
49423 |
""" |
""" |
49424 |
tests interpolation for rank 4 Data onto the FunctionOnContactZero |
tests interpolate for rank 4 Data onto the FunctionOnContactZero |
49425 |
|
|
49426 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
49427 |
""" |
""" |
49921 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
49922 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49923 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49924 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank0(self): |
49925 |
""" |
""" |
49926 |
tests interpolation for rank 0 Data onto the FunctionOnContactZero |
tests interpolate for rank 0 Data onto the FunctionOnContactZero |
49927 |
|
|
49928 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
49929 |
""" |
""" |
49947 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
49948 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49949 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49950 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank1(self): |
49951 |
""" |
""" |
49952 |
tests interpolation for rank 1 Data onto the FunctionOnContactZero |
tests interpolate for rank 1 Data onto the FunctionOnContactZero |
49953 |
|
|
49954 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
49955 |
""" |
""" |
49977 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
49978 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
49979 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
49980 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank2(self): |
49981 |
""" |
""" |
49982 |
tests interpolation for rank 2 Data onto the FunctionOnContactZero |
tests interpolate for rank 2 Data onto the FunctionOnContactZero |
49983 |
|
|
49984 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
49985 |
""" |
""" |
50079 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
50080 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
50081 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
50082 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank3(self): |
50083 |
""" |
""" |
50084 |
tests interpolation for rank 3 Data onto the FunctionOnContactZero |
tests interpolate for rank 3 Data onto the FunctionOnContactZero |
50085 |
|
|
50086 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
50087 |
""" |
""" |
50197 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
50198 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
50199 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
50200 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank4(self): |
50201 |
""" |
""" |
50202 |
tests interpolation for rank 4 Data onto the FunctionOnContactZero |
tests interpolate for rank 4 Data onto the FunctionOnContactZero |
50203 |
|
|
50204 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
50205 |
""" |
""" |
50699 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
50700 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
50701 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
50702 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank0(self): |
50703 |
""" |
""" |
50704 |
tests interpolation for rank 0 Data onto the FunctionOnContactZero |
tests interpolate for rank 0 Data onto the FunctionOnContactZero |
50705 |
|
|
50706 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
50707 |
""" |
""" |
50725 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
50726 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
50727 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
50728 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank1(self): |
50729 |
""" |
""" |
50730 |
tests interpolation for rank 1 Data onto the FunctionOnContactZero |
tests interpolate for rank 1 Data onto the FunctionOnContactZero |
50731 |
|
|
50732 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
50733 |
""" |
""" |
50755 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
50756 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
50757 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
50758 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank2(self): |
50759 |
""" |
""" |
50760 |
tests interpolation for rank 2 Data onto the FunctionOnContactZero |
tests interpolate for rank 2 Data onto the FunctionOnContactZero |
50761 |
|
|
50762 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
50763 |
""" |
""" |
50857 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
50858 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
50859 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
50860 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank3(self): |
50861 |
""" |
""" |
50862 |
tests interpolation for rank 3 Data onto the FunctionOnContactZero |
tests interpolate for rank 3 Data onto the FunctionOnContactZero |
50863 |
|
|
50864 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
50865 |
""" |
""" |
50975 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
50976 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
50977 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
50978 |
def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank4(self): |
50979 |
""" |
""" |
50980 |
tests interpolation for rank 4 Data onto the FunctionOnContactZero |
tests interpolate for rank 4 Data onto the FunctionOnContactZero |
50981 |
|
|
50982 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
50983 |
""" |
""" |
51477 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
51478 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
51479 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
51480 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank0(self): |
51481 |
""" |
""" |
51482 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 0 Symbol onto the FunctionOnContactZero |
51483 |
|
|
51484 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
51485 |
""" |
""" |
51505 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
51506 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
51507 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
51508 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank1(self): |
51509 |
""" |
""" |
51510 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 1 Symbol onto the FunctionOnContactZero |
51511 |
|
|
51512 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
51513 |
""" |
""" |
51537 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
51538 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
51539 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
51540 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank2(self): |
51541 |
""" |
""" |
51542 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 2 Symbol onto the FunctionOnContactZero |
51543 |
|
|
51544 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
51545 |
""" |
""" |
51641 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
51642 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
51643 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
51644 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank3(self): |
51645 |
""" |
""" |
51646 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 3 Symbol onto the FunctionOnContactZero |
51647 |
|
|
51648 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
51649 |
""" |
""" |
51761 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
51762 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
51763 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
51764 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank4(self): |
51765 |
""" |
""" |
51766 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 4 Symbol onto the FunctionOnContactZero |
51767 |
|
|
51768 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero |
51769 |
""" |
""" |
52265 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
52266 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
52267 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
52268 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank0(self): |
52269 |
""" |
""" |
52270 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 0 Symbol onto the FunctionOnContactZero |
52271 |
|
|
52272 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
52273 |
""" |
""" |
52293 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
52294 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
52295 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
52296 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank1(self): |
52297 |
""" |
""" |
52298 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 1 Symbol onto the FunctionOnContactZero |
52299 |
|
|
52300 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
52301 |
""" |
""" |
52325 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
52326 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
52327 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
52328 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank2(self): |
52329 |
""" |
""" |
52330 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 2 Symbol onto the FunctionOnContactZero |
52331 |
|
|
52332 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
52333 |
""" |
""" |
52429 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
52430 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
52431 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
52432 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank3(self): |
52433 |
""" |
""" |
52434 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 3 Symbol onto the FunctionOnContactZero |
52435 |
|
|
52436 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
52437 |
""" |
""" |
52549 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
52550 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
52551 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
52552 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank4(self): |
52553 |
""" |
""" |
52554 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 4 Symbol onto the FunctionOnContactZero |
52555 |
|
|
52556 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero |
52557 |
""" |
""" |
53053 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
53054 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53055 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53056 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank0(self): |
53057 |
""" |
""" |
53058 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 0 Symbol onto the FunctionOnContactZero |
53059 |
|
|
53060 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
53061 |
""" |
""" |
53081 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
53082 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53083 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53084 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank1(self): |
53085 |
""" |
""" |
53086 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 1 Symbol onto the FunctionOnContactZero |
53087 |
|
|
53088 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
53089 |
""" |
""" |
53113 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
53114 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53115 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53116 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank2(self): |
53117 |
""" |
""" |
53118 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 2 Symbol onto the FunctionOnContactZero |
53119 |
|
|
53120 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
53121 |
""" |
""" |
53217 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
53218 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53219 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53220 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank3(self): |
53221 |
""" |
""" |
53222 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 3 Symbol onto the FunctionOnContactZero |
53223 |
|
|
53224 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
53225 |
""" |
""" |
53337 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
53338 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53339 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53340 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank4(self): |
53341 |
""" |
""" |
53342 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 4 Symbol onto the FunctionOnContactZero |
53343 |
|
|
53344 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero |
53345 |
""" |
""" |
53841 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
53842 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53843 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53844 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank0(self): |
53845 |
""" |
""" |
53846 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 0 Symbol onto the FunctionOnContactZero |
53847 |
|
|
53848 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
53849 |
""" |
""" |
53869 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
53870 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53871 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53872 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank1(self): |
53873 |
""" |
""" |
53874 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 1 Symbol onto the FunctionOnContactZero |
53875 |
|
|
53876 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
53877 |
""" |
""" |
53901 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
53902 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
53903 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
53904 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank2(self): |
53905 |
""" |
""" |
53906 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 2 Symbol onto the FunctionOnContactZero |
53907 |
|
|
53908 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
53909 |
""" |
""" |
54005 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
54006 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
54007 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
54008 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank3(self): |
54009 |
""" |
""" |
54010 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 3 Symbol onto the FunctionOnContactZero |
54011 |
|
|
54012 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
54013 |
""" |
""" |
54125 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
54126 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
54127 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
54128 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank4(self): |
54129 |
""" |
""" |
54130 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 4 Symbol onto the FunctionOnContactZero |
54131 |
|
|
54132 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero |
54133 |
""" |
""" |
54629 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
54630 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
54631 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
54632 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank0(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank0(self): |
54633 |
""" |
""" |
54634 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 0 Symbol onto the FunctionOnContactZero |
54635 |
|
|
54636 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
54637 |
""" |
""" |
54657 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
54658 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
54659 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
54660 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank1(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank1(self): |
54661 |
""" |
""" |
54662 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 1 Symbol onto the FunctionOnContactZero |
54663 |
|
|
54664 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
54665 |
""" |
""" |
54689 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
54690 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
54691 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
54692 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank2(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank2(self): |
54693 |
""" |
""" |
54694 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 2 Symbol onto the FunctionOnContactZero |
54695 |
|
|
54696 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
54697 |
""" |
""" |
54793 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
54794 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
54795 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
54796 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank3(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank3(self): |
54797 |
""" |
""" |
54798 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 3 Symbol onto the FunctionOnContactZero |
54799 |
|
|
54800 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
54801 |
""" |
""" |
54913 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
54914 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
54915 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
54916 |
def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank4(self): |
def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank4(self): |
54917 |
""" |
""" |
54918 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactZero |
tests interpolate for rank 4 Symbol onto the FunctionOnContactZero |
54919 |
|
|
54920 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero |
54921 |
""" |
""" |
55417 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
55418 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
55419 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
55420 |
def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank0(self): |
55421 |
""" |
""" |
55422 |
tests interpolation for rank 0 Data onto the FunctionOnContactOne |
tests interpolate for rank 0 Data onto the FunctionOnContactOne |
55423 |
|
|
55424 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
55425 |
""" |
""" |
55443 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
55444 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
55445 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
55446 |
def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank1(self): |
55447 |
""" |
""" |
55448 |
tests interpolation for rank 1 Data onto the FunctionOnContactOne |
tests interpolate for rank 1 Data onto the FunctionOnContactOne |
55449 |
|
|
55450 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
55451 |
""" |
""" |
55473 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
55474 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
55475 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
55476 |
def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank2(self): |
55477 |
""" |
""" |
55478 |
tests interpolation for rank 2 Data onto the FunctionOnContactOne |
tests interpolate for rank 2 Data onto the FunctionOnContactOne |
55479 |
|
|
55480 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
55481 |
""" |
""" |
55575 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
55576 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
55577 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
55578 |
def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank3(self): |
55579 |
""" |
""" |
55580 |
tests interpolation for rank 3 Data onto the FunctionOnContactOne |
tests interpolate for rank 3 Data onto the FunctionOnContactOne |
55581 |
|
|
55582 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
55583 |
""" |
""" |
55693 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
55694 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
55695 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
55696 |
def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank4(self): |
55697 |
""" |
""" |
55698 |
tests interpolation for rank 4 Data onto the FunctionOnContactOne |
tests interpolate for rank 4 Data onto the FunctionOnContactOne |
55699 |
|
|
55700 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
55701 |
""" |
""" |
56195 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
56196 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
56197 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56198 |
def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank0(self): |
56199 |
""" |
""" |
56200 |
tests interpolation for rank 0 Data onto the FunctionOnContactOne |
tests interpolate for rank 0 Data onto the FunctionOnContactOne |
56201 |
|
|
56202 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
56203 |
""" |
""" |
56221 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
56222 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
56223 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56224 |
def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank1(self): |
56225 |
""" |
""" |
56226 |
tests interpolation for rank 1 Data onto the FunctionOnContactOne |
tests interpolate for rank 1 Data onto the FunctionOnContactOne |
56227 |
|
|
56228 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
56229 |
""" |
""" |
56251 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
56252 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
56253 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56254 |
def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank2(self): |
56255 |
""" |
""" |
56256 |
tests interpolation for rank 2 Data onto the FunctionOnContactOne |
tests interpolate for rank 2 Data onto the FunctionOnContactOne |
56257 |
|
|
56258 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
56259 |
""" |
""" |
56353 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
56354 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
56355 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56356 |
def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank3(self): |
56357 |
""" |
""" |
56358 |
tests interpolation for rank 3 Data onto the FunctionOnContactOne |
tests interpolate for rank 3 Data onto the FunctionOnContactOne |
56359 |
|
|
56360 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
56361 |
""" |
""" |
56471 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
56472 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
56473 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56474 |
def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank4(self): |
56475 |
""" |
""" |
56476 |
tests interpolation for rank 4 Data onto the FunctionOnContactOne |
tests interpolate for rank 4 Data onto the FunctionOnContactOne |
56477 |
|
|
56478 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
56479 |
""" |
""" |
56973 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
56974 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
56975 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56976 |
def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank0(self): |
56977 |
""" |
""" |
56978 |
tests interpolation for rank 0 Data onto the FunctionOnContactOne |
tests interpolate for rank 0 Data onto the FunctionOnContactOne |
56979 |
|
|
56980 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
56981 |
""" |
""" |
56999 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
57000 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57001 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57002 |
def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank1(self): |
57003 |
""" |
""" |
57004 |
tests interpolation for rank 1 Data onto the FunctionOnContactOne |
tests interpolate for rank 1 Data onto the FunctionOnContactOne |
57005 |
|
|
57006 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
57007 |
""" |
""" |
57029 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
57030 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57031 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57032 |
def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank2(self): |
57033 |
""" |
""" |
57034 |
tests interpolation for rank 2 Data onto the FunctionOnContactOne |
tests interpolate for rank 2 Data onto the FunctionOnContactOne |
57035 |
|
|
57036 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
57037 |
""" |
""" |
57131 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
57132 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57133 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57134 |
def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank3(self): |
57135 |
""" |
""" |
57136 |
tests interpolation for rank 3 Data onto the FunctionOnContactOne |
tests interpolate for rank 3 Data onto the FunctionOnContactOne |
57137 |
|
|
57138 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
57139 |
""" |
""" |
57249 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
57250 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57251 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57252 |
def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank4(self): |
57253 |
""" |
""" |
57254 |
tests interpolation for rank 4 Data onto the FunctionOnContactOne |
tests interpolate for rank 4 Data onto the FunctionOnContactOne |
57255 |
|
|
57256 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
57257 |
""" |
""" |
57751 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
57752 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57753 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57754 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank0(self): |
57755 |
""" |
""" |
57756 |
tests interpolation for rank 0 Data onto the FunctionOnContactOne |
tests interpolate for rank 0 Data onto the FunctionOnContactOne |
57757 |
|
|
57758 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
57759 |
""" |
""" |
57777 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
57778 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57779 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57780 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank1(self): |
57781 |
""" |
""" |
57782 |
tests interpolation for rank 1 Data onto the FunctionOnContactOne |
tests interpolate for rank 1 Data onto the FunctionOnContactOne |
57783 |
|
|
57784 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
57785 |
""" |
""" |
57807 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
57808 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57809 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57810 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank2(self): |
57811 |
""" |
""" |
57812 |
tests interpolation for rank 2 Data onto the FunctionOnContactOne |
tests interpolate for rank 2 Data onto the FunctionOnContactOne |
57813 |
|
|
57814 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
57815 |
""" |
""" |
57909 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
57910 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
57911 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
57912 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank3(self): |
57913 |
""" |
""" |
57914 |
tests interpolation for rank 3 Data onto the FunctionOnContactOne |
tests interpolate for rank 3 Data onto the FunctionOnContactOne |
57915 |
|
|
57916 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
57917 |
""" |
""" |
58027 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
58028 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
58029 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
58030 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank4(self): |
58031 |
""" |
""" |
58032 |
tests interpolation for rank 4 Data onto the FunctionOnContactOne |
tests interpolate for rank 4 Data onto the FunctionOnContactOne |
58033 |
|
|
58034 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
58035 |
""" |
""" |
58529 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
58530 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
58531 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
58532 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank0(self): |
58533 |
""" |
""" |
58534 |
tests interpolation for rank 0 Data onto the FunctionOnContactOne |
tests interpolate for rank 0 Data onto the FunctionOnContactOne |
58535 |
|
|
58536 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
58537 |
""" |
""" |
58555 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
58556 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
58557 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
58558 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank1(self): |
58559 |
""" |
""" |
58560 |
tests interpolation for rank 1 Data onto the FunctionOnContactOne |
tests interpolate for rank 1 Data onto the FunctionOnContactOne |
58561 |
|
|
58562 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
58563 |
""" |
""" |
58585 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
58586 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
58587 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
58588 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank2(self): |
58589 |
""" |
""" |
58590 |
tests interpolation for rank 2 Data onto the FunctionOnContactOne |
tests interpolate for rank 2 Data onto the FunctionOnContactOne |
58591 |
|
|
58592 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
58593 |
""" |
""" |
58687 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
58688 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
58689 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
58690 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank3(self): |
58691 |
""" |
""" |
58692 |
tests interpolation for rank 3 Data onto the FunctionOnContactOne |
tests interpolate for rank 3 Data onto the FunctionOnContactOne |
58693 |
|
|
58694 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
58695 |
""" |
""" |
58805 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
58806 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
58807 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
58808 |
def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank4(self): |
58809 |
""" |
""" |
58810 |
tests interpolation for rank 4 Data onto the FunctionOnContactOne |
tests interpolate for rank 4 Data onto the FunctionOnContactOne |
58811 |
|
|
58812 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
58813 |
""" |
""" |
59307 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
59308 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
59309 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
59310 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank0(self): |
59311 |
""" |
""" |
59312 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 0 Symbol onto the FunctionOnContactOne |
59313 |
|
|
59314 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
59315 |
""" |
""" |
59335 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
59336 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
59337 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
59338 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank1(self): |
59339 |
""" |
""" |
59340 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 1 Symbol onto the FunctionOnContactOne |
59341 |
|
|
59342 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
59343 |
""" |
""" |
59367 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
59368 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
59369 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
59370 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank2(self): |
59371 |
""" |
""" |
59372 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 2 Symbol onto the FunctionOnContactOne |
59373 |
|
|
59374 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
59375 |
""" |
""" |
59471 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
59472 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
59473 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
59474 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank3(self): |
59475 |
""" |
""" |
59476 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 3 Symbol onto the FunctionOnContactOne |
59477 |
|
|
59478 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
59479 |
""" |
""" |
59591 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
59592 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
59593 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
59594 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank4(self): |
59595 |
""" |
""" |
59596 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 4 Symbol onto the FunctionOnContactOne |
59597 |
|
|
59598 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne |
59599 |
""" |
""" |
60095 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
60096 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60097 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60098 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank0(self): |
60099 |
""" |
""" |
60100 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 0 Symbol onto the FunctionOnContactOne |
60101 |
|
|
60102 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
60103 |
""" |
""" |
60123 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
60124 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60125 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60126 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank1(self): |
60127 |
""" |
""" |
60128 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 1 Symbol onto the FunctionOnContactOne |
60129 |
|
|
60130 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
60131 |
""" |
""" |
60155 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
60156 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60157 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60158 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank2(self): |
60159 |
""" |
""" |
60160 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 2 Symbol onto the FunctionOnContactOne |
60161 |
|
|
60162 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
60163 |
""" |
""" |
60259 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
60260 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60261 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60262 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank3(self): |
60263 |
""" |
""" |
60264 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 3 Symbol onto the FunctionOnContactOne |
60265 |
|
|
60266 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
60267 |
""" |
""" |
60379 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
60380 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60381 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60382 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank4(self): |
60383 |
""" |
""" |
60384 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 4 Symbol onto the FunctionOnContactOne |
60385 |
|
|
60386 |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne |
60387 |
""" |
""" |
60883 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
60884 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60885 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60886 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank0(self): |
60887 |
""" |
""" |
60888 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 0 Symbol onto the FunctionOnContactOne |
60889 |
|
|
60890 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
60891 |
""" |
""" |
60911 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
60912 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60913 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60914 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank1(self): |
60915 |
""" |
""" |
60916 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 1 Symbol onto the FunctionOnContactOne |
60917 |
|
|
60918 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
60919 |
""" |
""" |
60943 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
60944 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
60945 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
60946 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank2(self): |
60947 |
""" |
""" |
60948 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 2 Symbol onto the FunctionOnContactOne |
60949 |
|
|
60950 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
60951 |
""" |
""" |
61047 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
61048 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
61049 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
61050 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank3(self): |
61051 |
""" |
""" |
61052 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 3 Symbol onto the FunctionOnContactOne |
61053 |
|
|
61054 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
61055 |
""" |
""" |
61167 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
61168 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
61169 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
61170 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank4(self): |
61171 |
""" |
""" |
61172 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 4 Symbol onto the FunctionOnContactOne |
61173 |
|
|
61174 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne |
61175 |
""" |
""" |
61671 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
61672 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
61673 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
61674 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank0(self): |
61675 |
""" |
""" |
61676 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 0 Symbol onto the FunctionOnContactOne |
61677 |
|
|
61678 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
61679 |
""" |
""" |
61699 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
61700 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
61701 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
61702 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank1(self): |
61703 |
""" |
""" |
61704 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 1 Symbol onto the FunctionOnContactOne |
61705 |
|
|
61706 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
61707 |
""" |
""" |
61731 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
61732 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
61733 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
61734 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank2(self): |
61735 |
""" |
""" |
61736 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 2 Symbol onto the FunctionOnContactOne |
61737 |
|
|
61738 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
61739 |
""" |
""" |
61835 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
61836 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
61837 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
61838 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank3(self): |
61839 |
""" |
""" |
61840 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 3 Symbol onto the FunctionOnContactOne |
61841 |
|
|
61842 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
61843 |
""" |
""" |
61955 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
61956 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
61957 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
61958 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank4(self): |
61959 |
""" |
""" |
61960 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 4 Symbol onto the FunctionOnContactOne |
61961 |
|
|
61962 |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne |
61963 |
""" |
""" |
62459 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
62460 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
62461 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
62462 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank0(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank0(self): |
62463 |
""" |
""" |
62464 |
tests interpolation for rank 0 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 0 Symbol onto the FunctionOnContactOne |
62465 |
|
|
62466 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
62467 |
""" |
""" |
62487 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
62488 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
62489 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
62490 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank1(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank1(self): |
62491 |
""" |
""" |
62492 |
tests interpolation for rank 1 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 1 Symbol onto the FunctionOnContactOne |
62493 |
|
|
62494 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
62495 |
""" |
""" |
62519 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
62520 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
62521 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
62522 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank2(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank2(self): |
62523 |
""" |
""" |
62524 |
tests interpolation for rank 2 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 2 Symbol onto the FunctionOnContactOne |
62525 |
|
|
62526 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
62527 |
""" |
""" |
62623 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
62624 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
62625 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
62626 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank3(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank3(self): |
62627 |
""" |
""" |
62628 |
tests interpolation for rank 3 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 3 Symbol onto the FunctionOnContactOne |
62629 |
|
|
62630 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
62631 |
""" |
""" |
62743 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
62744 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
62745 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
62746 |
def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank4(self): |
def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank4(self): |
62747 |
""" |
""" |
62748 |
tests interpolation for rank 4 Symbol onto the FunctionOnContactOne |
tests interpolate for rank 4 Symbol onto the FunctionOnContactOne |
62749 |
|
|
62750 |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne |
62751 |
""" |
""" |
63247 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
63248 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
63249 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
63250 |
def test_interpolation_onSolution_fromData_ContinuousFunction_rank0(self): |
def test_interpolate_onSolution_fromData_ContinuousFunction_rank0(self): |
63251 |
""" |
""" |
63252 |
tests interpolation for rank 0 Data onto the Solution |
tests interpolate for rank 0 Data onto the Solution |
63253 |
|
|
63254 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
63255 |
""" |
""" |
63273 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
63274 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
63275 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
63276 |
def test_interpolation_onSolution_fromData_ContinuousFunction_rank1(self): |
def test_interpolate_onSolution_fromData_ContinuousFunction_rank1(self): |
63277 |
""" |
""" |
63278 |
tests interpolation for rank 1 Data onto the Solution |
tests interpolate for rank 1 Data onto the Solution |
63279 |
|
|
63280 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
63281 |
""" |
""" |
63303 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
63304 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
63305 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
63306 |
def test_interpolation_onSolution_fromData_ContinuousFunction_rank2(self): |
def test_interpolate_onSolution_fromData_ContinuousFunction_rank2(self): |
63307 |
""" |
""" |
63308 |
tests interpolation for rank 2 Data onto the Solution |
tests interpolate for rank 2 Data onto the Solution |
63309 |
|
|
63310 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
63311 |
""" |
""" |
63405 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
63406 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
63407 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
63408 |
def test_interpolation_onSolution_fromData_ContinuousFunction_rank3(self): |
def test_interpolate_onSolution_fromData_ContinuousFunction_rank3(self): |
63409 |
""" |
""" |
63410 |
tests interpolation for rank 3 Data onto the Solution |
tests interpolate for rank 3 Data onto the Solution |
63411 |
|
|
63412 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
63413 |
""" |
""" |
63523 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
63524 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
63525 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
63526 |
def test_interpolation_onSolution_fromData_ContinuousFunction_rank4(self): |
def test_interpolate_onSolution_fromData_ContinuousFunction_rank4(self): |
63527 |
""" |
""" |
63528 |
tests interpolation for rank 4 Data onto the Solution |
tests interpolate for rank 4 Data onto the Solution |
63529 |
|
|
63530 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
63531 |
""" |
""" |
64025 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
64026 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64027 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64028 |
def test_interpolation_onSolution_fromData_Solution_rank0(self): |
def test_interpolate_onSolution_fromData_Solution_rank0(self): |
64029 |
""" |
""" |
64030 |
tests interpolation for rank 0 Data onto the Solution |
tests interpolate for rank 0 Data onto the Solution |
64031 |
|
|
64032 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
64033 |
""" |
""" |
64051 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
64052 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64053 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64054 |
def test_interpolation_onSolution_fromData_Solution_rank1(self): |
def test_interpolate_onSolution_fromData_Solution_rank1(self): |
64055 |
""" |
""" |
64056 |
tests interpolation for rank 1 Data onto the Solution |
tests interpolate for rank 1 Data onto the Solution |
64057 |
|
|
64058 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
64059 |
""" |
""" |
64081 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
64082 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64083 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64084 |
def test_interpolation_onSolution_fromData_Solution_rank2(self): |
def test_interpolate_onSolution_fromData_Solution_rank2(self): |
64085 |
""" |
""" |
64086 |
tests interpolation for rank 2 Data onto the Solution |
tests interpolate for rank 2 Data onto the Solution |
64087 |
|
|
64088 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
64089 |
""" |
""" |
64183 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
64184 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64185 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64186 |
def test_interpolation_onSolution_fromData_Solution_rank3(self): |
def test_interpolate_onSolution_fromData_Solution_rank3(self): |
64187 |
""" |
""" |
64188 |
tests interpolation for rank 3 Data onto the Solution |
tests interpolate for rank 3 Data onto the Solution |
64189 |
|
|
64190 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
64191 |
""" |
""" |
64301 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
64302 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64303 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64304 |
def test_interpolation_onSolution_fromData_Solution_rank4(self): |
def test_interpolate_onSolution_fromData_Solution_rank4(self): |
64305 |
""" |
""" |
64306 |
tests interpolation for rank 4 Data onto the Solution |
tests interpolate for rank 4 Data onto the Solution |
64307 |
|
|
64308 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
64309 |
""" |
""" |
64803 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
64804 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64805 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64806 |
def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank0(self): |
def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank0(self): |
64807 |
""" |
""" |
64808 |
tests interpolation for rank 0 Symbol onto the Solution |
tests interpolate for rank 0 Symbol onto the Solution |
64809 |
|
|
64810 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
64811 |
""" |
""" |
64831 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
64832 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64833 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64834 |
def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank1(self): |
def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank1(self): |
64835 |
""" |
""" |
64836 |
tests interpolation for rank 1 Symbol onto the Solution |
tests interpolate for rank 1 Symbol onto the Solution |
64837 |
|
|
64838 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
64839 |
""" |
""" |
64863 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
64864 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64865 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64866 |
def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank2(self): |
def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank2(self): |
64867 |
""" |
""" |
64868 |
tests interpolation for rank 2 Symbol onto the Solution |
tests interpolate for rank 2 Symbol onto the Solution |
64869 |
|
|
64870 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
64871 |
""" |
""" |
64967 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
64968 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
64969 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
64970 |
def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank3(self): |
def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank3(self): |
64971 |
""" |
""" |
64972 |
tests interpolation for rank 3 Symbol onto the Solution |
tests interpolate for rank 3 Symbol onto the Solution |
64973 |
|
|
64974 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
64975 |
""" |
""" |
65087 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
65088 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
65089 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
65090 |
def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank4(self): |
def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank4(self): |
65091 |
""" |
""" |
65092 |
tests interpolation for rank 4 Symbol onto the Solution |
tests interpolate for rank 4 Symbol onto the Solution |
65093 |
|
|
65094 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution |
65095 |
""" |
""" |
65591 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
65592 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
65593 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
65594 |
def test_interpolation_onSolution_fromSymbol_Solution_rank0(self): |
def test_interpolate_onSolution_fromSymbol_Solution_rank0(self): |
65595 |
""" |
""" |
65596 |
tests interpolation for rank 0 Symbol onto the Solution |
tests interpolate for rank 0 Symbol onto the Solution |
65597 |
|
|
65598 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
65599 |
""" |
""" |
65619 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
65620 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
65621 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
65622 |
def test_interpolation_onSolution_fromSymbol_Solution_rank1(self): |
def test_interpolate_onSolution_fromSymbol_Solution_rank1(self): |
65623 |
""" |
""" |
65624 |
tests interpolation for rank 1 Symbol onto the Solution |
tests interpolate for rank 1 Symbol onto the Solution |
65625 |
|
|
65626 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
65627 |
""" |
""" |
65651 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
65652 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
65653 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
65654 |
def test_interpolation_onSolution_fromSymbol_Solution_rank2(self): |
def test_interpolate_onSolution_fromSymbol_Solution_rank2(self): |
65655 |
""" |
""" |
65656 |
tests interpolation for rank 2 Symbol onto the Solution |
tests interpolate for rank 2 Symbol onto the Solution |
65657 |
|
|
65658 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
65659 |
""" |
""" |
65755 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
65756 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
65757 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
65758 |
def test_interpolation_onSolution_fromSymbol_Solution_rank3(self): |
def test_interpolate_onSolution_fromSymbol_Solution_rank3(self): |
65759 |
""" |
""" |
65760 |
tests interpolation for rank 3 Symbol onto the Solution |
tests interpolate for rank 3 Symbol onto the Solution |
65761 |
|
|
65762 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
65763 |
""" |
""" |
65875 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
65876 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
65877 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
65878 |
def test_interpolation_onSolution_fromSymbol_Solution_rank4(self): |
def test_interpolate_onSolution_fromSymbol_Solution_rank4(self): |
65879 |
""" |
""" |
65880 |
tests interpolation for rank 4 Symbol onto the Solution |
tests interpolate for rank 4 Symbol onto the Solution |
65881 |
|
|
65882 |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
assumptions: self.domain supports inpterpolation from Solution onto Solution |
65883 |
""" |
""" |
66379 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
66380 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
66381 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
66382 |
def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank0(self): |
def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank0(self): |
66383 |
""" |
""" |
66384 |
tests interpolation for rank 0 Data onto the ReducedSolution |
tests interpolate for rank 0 Data onto the ReducedSolution |
66385 |
|
|
66386 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
66387 |
""" |
""" |
66405 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
66406 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
66407 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
66408 |
def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank1(self): |
def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank1(self): |
66409 |
""" |
""" |
66410 |
tests interpolation for rank 1 Data onto the ReducedSolution |
tests interpolate for rank 1 Data onto the ReducedSolution |
66411 |
|
|
66412 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
66413 |
""" |
""" |
66435 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
66436 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
66437 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
66438 |
def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank2(self): |
def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank2(self): |
66439 |
""" |
""" |
66440 |
tests interpolation for rank 2 Data onto the ReducedSolution |
tests interpolate for rank 2 Data onto the ReducedSolution |
66441 |
|
|
66442 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
66443 |
""" |
""" |
66537 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
66538 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
66539 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
66540 |
def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank3(self): |
def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank3(self): |
66541 |
""" |
""" |
66542 |
tests interpolation for rank 3 Data onto the ReducedSolution |
tests interpolate for rank 3 Data onto the ReducedSolution |
66543 |
|
|
66544 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
66545 |
""" |
""" |
66655 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
66656 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
66657 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
66658 |
def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank4(self): |
def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank4(self): |
66659 |
""" |
""" |
66660 |
tests interpolation for rank 4 Data onto the ReducedSolution |
tests interpolate for rank 4 Data onto the ReducedSolution |
66661 |
|
|
66662 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
66663 |
""" |
""" |
67157 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
67158 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67159 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67160 |
def test_interpolation_onReducedSolution_fromData_Solution_rank0(self): |
def test_interpolate_onReducedSolution_fromData_Solution_rank0(self): |
67161 |
""" |
""" |
67162 |
tests interpolation for rank 0 Data onto the ReducedSolution |
tests interpolate for rank 0 Data onto the ReducedSolution |
67163 |
|
|
67164 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
67165 |
""" |
""" |
67183 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
67184 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67185 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67186 |
def test_interpolation_onReducedSolution_fromData_Solution_rank1(self): |
def test_interpolate_onReducedSolution_fromData_Solution_rank1(self): |
67187 |
""" |
""" |
67188 |
tests interpolation for rank 1 Data onto the ReducedSolution |
tests interpolate for rank 1 Data onto the ReducedSolution |
67189 |
|
|
67190 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
67191 |
""" |
""" |
67213 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
67214 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67215 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67216 |
def test_interpolation_onReducedSolution_fromData_Solution_rank2(self): |
def test_interpolate_onReducedSolution_fromData_Solution_rank2(self): |
67217 |
""" |
""" |
67218 |
tests interpolation for rank 2 Data onto the ReducedSolution |
tests interpolate for rank 2 Data onto the ReducedSolution |
67219 |
|
|
67220 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
67221 |
""" |
""" |
67315 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
67316 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67317 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67318 |
def test_interpolation_onReducedSolution_fromData_Solution_rank3(self): |
def test_interpolate_onReducedSolution_fromData_Solution_rank3(self): |
67319 |
""" |
""" |
67320 |
tests interpolation for rank 3 Data onto the ReducedSolution |
tests interpolate for rank 3 Data onto the ReducedSolution |
67321 |
|
|
67322 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
67323 |
""" |
""" |
67433 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
67434 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67435 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67436 |
def test_interpolation_onReducedSolution_fromData_Solution_rank4(self): |
def test_interpolate_onReducedSolution_fromData_Solution_rank4(self): |
67437 |
""" |
""" |
67438 |
tests interpolation for rank 4 Data onto the ReducedSolution |
tests interpolate for rank 4 Data onto the ReducedSolution |
67439 |
|
|
67440 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
67441 |
""" |
""" |
67935 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
67936 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67937 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67938 |
def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank0(self): |
def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank0(self): |
67939 |
""" |
""" |
67940 |
tests interpolation for rank 0 Data onto the ReducedSolution |
tests interpolate for rank 0 Data onto the ReducedSolution |
67941 |
|
|
67942 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
67943 |
""" |
""" |
67961 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
67962 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67963 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67964 |
def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank1(self): |
def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank1(self): |
67965 |
""" |
""" |
67966 |
tests interpolation for rank 1 Data onto the ReducedSolution |
tests interpolate for rank 1 Data onto the ReducedSolution |
67967 |
|
|
67968 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
67969 |
""" |
""" |
67991 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
67992 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
67993 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
67994 |
def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank2(self): |
def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank2(self): |
67995 |
""" |
""" |
67996 |
tests interpolation for rank 2 Data onto the ReducedSolution |
tests interpolate for rank 2 Data onto the ReducedSolution |
67997 |
|
|
67998 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
67999 |
""" |
""" |
68093 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
68094 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
68095 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
68096 |
def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank3(self): |
def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank3(self): |
68097 |
""" |
""" |
68098 |
tests interpolation for rank 3 Data onto the ReducedSolution |
tests interpolate for rank 3 Data onto the ReducedSolution |
68099 |
|
|
68100 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
68101 |
""" |
""" |
68211 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
68212 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
68213 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
68214 |
def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank4(self): |
def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank4(self): |
68215 |
""" |
""" |
68216 |
tests interpolation for rank 4 Data onto the ReducedSolution |
tests interpolate for rank 4 Data onto the ReducedSolution |
68217 |
|
|
68218 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
68219 |
""" |
""" |
68713 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
68714 |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
68715 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
68716 |
def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank0(self): |
def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank0(self): |
68717 |
""" |
""" |
68718 |
tests interpolation for rank 0 Symbol onto the ReducedSolution |
tests interpolate for rank 0 Symbol onto the ReducedSolution |
68719 |
|
|
68720 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
68721 |
""" |
""" |
68741 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
68742 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
68743 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
68744 |
def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank1(self): |
def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank1(self): |
68745 |
""" |
""" |
68746 |
tests interpolation for rank 1 Symbol onto the ReducedSolution |
tests interpolate for rank 1 Symbol onto the ReducedSolution |
68747 |
|
|
68748 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
68749 |
""" |
""" |
68773 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
68774 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
68775 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
68776 |
def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank2(self): |
def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank2(self): |
68777 |
""" |
""" |
68778 |
tests interpolation for rank 2 Symbol onto the ReducedSolution |
tests interpolate for rank 2 Symbol onto the ReducedSolution |
68779 |
|
|
68780 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
68781 |
""" |
""" |
68877 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
68878 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
68879 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
68880 |
def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank3(self): |
def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank3(self): |
68881 |
""" |
""" |
68882 |
tests interpolation for rank 3 Symbol onto the ReducedSolution |
tests interpolate for rank 3 Symbol onto the ReducedSolution |
68883 |
|
|
68884 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
68885 |
""" |
""" |
68997 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
68998 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
68999 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
69000 |
def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank4(self): |
def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank4(self): |
69001 |
""" |
""" |
69002 |
tests interpolation for rank 4 Symbol onto the ReducedSolution |
tests interpolate for rank 4 Symbol onto the ReducedSolution |
69003 |
|
|
69004 |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution |
69005 |
""" |
""" |
69501 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
69502 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
69503 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
69504 |
def test_interpolation_onReducedSolution_fromSymbol_Solution_rank0(self): |
def test_interpolate_onReducedSolution_fromSymbol_Solution_rank0(self): |
69505 |
""" |
""" |
69506 |
tests interpolation for rank 0 Symbol onto the ReducedSolution |
tests interpolate for rank 0 Symbol onto the ReducedSolution |
69507 |
|
|
69508 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
69509 |
""" |
""" |
69529 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
69530 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
69531 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
69532 |
def test_interpolation_onReducedSolution_fromSymbol_Solution_rank1(self): |
def test_interpolate_onReducedSolution_fromSymbol_Solution_rank1(self): |
69533 |
""" |
""" |
69534 |
tests interpolation for rank 1 Symbol onto the ReducedSolution |
tests interpolate for rank 1 Symbol onto the ReducedSolution |
69535 |
|
|
69536 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
69537 |
""" |
""" |
69561 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
69562 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
69563 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
69564 |
def test_interpolation_onReducedSolution_fromSymbol_Solution_rank2(self): |
def test_interpolate_onReducedSolution_fromSymbol_Solution_rank2(self): |
69565 |
""" |
""" |
69566 |
tests interpolation for rank 2 Symbol onto the ReducedSolution |
tests interpolate for rank 2 Symbol onto the ReducedSolution |
69567 |
|
|
69568 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
69569 |
""" |
""" |
69665 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
69666 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
69667 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
69668 |
def test_interpolation_onReducedSolution_fromSymbol_Solution_rank3(self): |
def test_interpolate_onReducedSolution_fromSymbol_Solution_rank3(self): |
69669 |
""" |
""" |
69670 |
tests interpolation for rank 3 Symbol onto the ReducedSolution |
tests interpolate for rank 3 Symbol onto the ReducedSolution |
69671 |
|
|
69672 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
69673 |
""" |
""" |
69785 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
69786 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
69787 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
69788 |
def test_interpolation_onReducedSolution_fromSymbol_Solution_rank4(self): |
def test_interpolate_onReducedSolution_fromSymbol_Solution_rank4(self): |
69789 |
""" |
""" |
69790 |
tests interpolation for rank 4 Symbol onto the ReducedSolution |
tests interpolate for rank 4 Symbol onto the ReducedSolution |
69791 |
|
|
69792 |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution |
69793 |
""" |
""" |
70289 |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.") |
70290 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
70291 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
70292 |
def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank0(self): |
def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank0(self): |
70293 |
""" |
""" |
70294 |
tests interpolation for rank 0 Symbol onto the ReducedSolution |
tests interpolate for rank 0 Symbol onto the ReducedSolution |
70295 |
|
|
70296 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
70297 |
""" |
""" |
70317 |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(),"wrong shape of result.") |
70318 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
70319 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
70320 |
def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank1(self): |
def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank1(self): |
70321 |
""" |
""" |
70322 |
tests interpolation for rank 1 Symbol onto the ReducedSolution |
tests interpolate for rank 1 Symbol onto the ReducedSolution |
70323 |
|
|
70324 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
70325 |
""" |
""" |
70349 |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.") |
70350 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
70351 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
70352 |
def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank2(self): |
def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank2(self): |
70353 |
""" |
""" |
70354 |
tests interpolation for rank 2 Symbol onto the ReducedSolution |
tests interpolate for rank 2 Symbol onto the ReducedSolution |
70355 |
|
|
70356 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
70357 |
""" |
""" |
70453 |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.") |
70454 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
70455 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
70456 |
def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank3(self): |
def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank3(self): |
70457 |
""" |
""" |
70458 |
tests interpolation for rank 3 Symbol onto the ReducedSolution |
tests interpolate for rank 3 Symbol onto the ReducedSolution |
70459 |
|
|
70460 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
70461 |
""" |
""" |
70573 |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.") |
70574 |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result") |
70575 |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
70576 |
def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank4(self): |
def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank4(self): |
70577 |
""" |
""" |
70578 |
tests interpolation for rank 4 Symbol onto the ReducedSolution |
tests interpolate for rank 4 Symbol onto the ReducedSolution |
70579 |
|
|
70580 |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution |
70581 |
""" |
""" |