/[escript]/trunk/escript/py_src/test_util_spatial_functions.py
ViewVC logotype

Diff of /trunk/escript/py_src/test_util_spatial_functions.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 439 by gross, Fri Jan 20 01:46:22 2006 UTC revision 440 by gross, Fri Jan 20 02:15:48 2006 UTC
# Line 24  from numarray import array Line 24  from numarray import array
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        """        """
# Line 34977  class Test_Util_SpatialFunctions(unittes Line 35059  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35003  class Test_Util_SpatialFunctions(unittes Line 35085  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35033  class Test_Util_SpatialFunctions(unittes Line 35115  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35135  class Test_Util_SpatialFunctions(unittes Line 35217  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35253  class Test_Util_SpatialFunctions(unittes Line 35335  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35755  class Test_Util_SpatialFunctions(unittes Line 35837  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35781  class Test_Util_SpatialFunctions(unittes Line 35863  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35811  class Test_Util_SpatialFunctions(unittes Line 35893  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 35913  class Test_Util_SpatialFunctions(unittes Line 35995  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 36031  class Test_Util_SpatialFunctions(unittes Line 36113  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 36533  class Test_Util_SpatialFunctions(unittes Line 36615  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 36559  class Test_Util_SpatialFunctions(unittes Line 36641  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 36589  class Test_Util_SpatialFunctions(unittes Line 36671  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 36691  class Test_Util_SpatialFunctions(unittes Line 36773  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 36809  class Test_Util_SpatialFunctions(unittes Line 36891  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 37311  class Test_Util_SpatialFunctions(unittes Line 37393  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 37337  class Test_Util_SpatialFunctions(unittes Line 37419  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 37367  class Test_Util_SpatialFunctions(unittes Line 37449  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 37469  class Test_Util_SpatialFunctions(unittes Line 37551  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 37587  class Test_Util_SpatialFunctions(unittes Line 37669  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38089  class Test_Util_SpatialFunctions(unittes Line 38171  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38117  class Test_Util_SpatialFunctions(unittes Line 38199  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38149  class Test_Util_SpatialFunctions(unittes Line 38231  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38253  class Test_Util_SpatialFunctions(unittes Line 38335  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38373  class Test_Util_SpatialFunctions(unittes Line 38455  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38877  class Test_Util_SpatialFunctions(unittes Line 38959  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38905  class Test_Util_SpatialFunctions(unittes Line 38987  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 38937  class Test_Util_SpatialFunctions(unittes Line 39019  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 39041  class Test_Util_SpatialFunctions(unittes Line 39123  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 39161  class Test_Util_SpatialFunctions(unittes Line 39243  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 39665  class Test_Util_SpatialFunctions(unittes Line 39747  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 39693  class Test_Util_SpatialFunctions(unittes Line 39775  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 39725  class Test_Util_SpatialFunctions(unittes Line 39807  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 39829  class Test_Util_SpatialFunctions(unittes Line 39911  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 39949  class Test_Util_SpatialFunctions(unittes Line 40031  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 40453  class Test_Util_SpatialFunctions(unittes Line 40535  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 40481  class Test_Util_SpatialFunctions(unittes Line 40563  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 40513  class Test_Util_SpatialFunctions(unittes Line 40595  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 40617  class Test_Util_SpatialFunctions(unittes Line 40699  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 40737  class Test_Util_SpatialFunctions(unittes Line 40819  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 41241  class Test_Util_SpatialFunctions(unittes Line 41323  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 41267  class Test_Util_SpatialFunctions(unittes Line 41349  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 41297  class Test_Util_SpatialFunctions(unittes Line 41379  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 41399  class Test_Util_SpatialFunctions(unittes Line 41481  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 41517  class Test_Util_SpatialFunctions(unittes Line 41599  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42019  class Test_Util_SpatialFunctions(unittes Line 42101  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42045  class Test_Util_SpatialFunctions(unittes Line 42127  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42075  class Test_Util_SpatialFunctions(unittes Line 42157  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42177  class Test_Util_SpatialFunctions(unittes Line 42259  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42295  class Test_Util_SpatialFunctions(unittes Line 42377  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42797  class Test_Util_SpatialFunctions(unittes Line 42879  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42823  class Test_Util_SpatialFunctions(unittes Line 42905  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42853  class Test_Util_SpatialFunctions(unittes Line 42935  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 42955  class Test_Util_SpatialFunctions(unittes Line 43037  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 43073  class Test_Util_SpatialFunctions(unittes Line 43155  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 43575  class Test_Util_SpatialFunctions(unittes Line 43657  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 43601  class Test_Util_SpatialFunctions(unittes Line 43683  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 43631  class Test_Util_SpatialFunctions(unittes Line 43713  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 43733  class Test_Util_SpatialFunctions(unittes Line 43815  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 43851  class Test_Util_SpatialFunctions(unittes Line 43933  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 44353  class Test_Util_SpatialFunctions(unittes Line 44435  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 44381  class Test_Util_SpatialFunctions(unittes Line 44463  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 44413  class Test_Util_SpatialFunctions(unittes Line 44495  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 44517  class Test_Util_SpatialFunctions(unittes Line 44599  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 44637  class Test_Util_SpatialFunctions(unittes Line 44719  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45141  class Test_Util_SpatialFunctions(unittes Line 45223  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45169  class Test_Util_SpatialFunctions(unittes Line 45251  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45201  class Test_Util_SpatialFunctions(unittes Line 45283  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45305  class Test_Util_SpatialFunctions(unittes Line 45387  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45425  class Test_Util_SpatialFunctions(unittes Line 45507  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45929  class Test_Util_SpatialFunctions(unittes Line 46011  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45957  class Test_Util_SpatialFunctions(unittes Line 46039  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 45989  class Test_Util_SpatialFunctions(unittes Line 46071  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 46093  class Test_Util_SpatialFunctions(unittes Line 46175  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 46213  class Test_Util_SpatialFunctions(unittes Line 46295  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 46717  class Test_Util_SpatialFunctions(unittes Line 46799  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 46745  class Test_Util_SpatialFunctions(unittes Line 46827  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 46777  class Test_Util_SpatialFunctions(unittes Line 46859  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 46881  class Test_Util_SpatialFunctions(unittes Line 46963  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 47001  class Test_Util_SpatialFunctions(unittes Line 47083  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 47505  class Test_Util_SpatialFunctions(unittes Line 47587  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 47531  class Test_Util_SpatialFunctions(unittes Line 47613  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 47561  class Test_Util_SpatialFunctions(unittes Line 47643  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 47663  class Test_Util_SpatialFunctions(unittes Line 47745  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 47781  class Test_Util_SpatialFunctions(unittes Line 47863  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 48283  class Test_Util_SpatialFunctions(unittes Line 48365  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 48309  class Test_Util_SpatialFunctions(unittes Line 48391  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 48339  class Test_Util_SpatialFunctions(unittes Line 48421  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 48441  class Test_Util_SpatialFunctions(unittes Line 48523  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 48559  class Test_Util_SpatialFunctions(unittes Line 48641  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49061  class Test_Util_SpatialFunctions(unittes Line 49143  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49087  class Test_Util_SpatialFunctions(unittes Line 49169  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49117  class Test_Util_SpatialFunctions(unittes Line 49199  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49219  class Test_Util_SpatialFunctions(unittes Line 49301  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49337  class Test_Util_SpatialFunctions(unittes Line 49419  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49839  class Test_Util_SpatialFunctions(unittes Line 49921  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49865  class Test_Util_SpatialFunctions(unittes Line 49947  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49895  class Test_Util_SpatialFunctions(unittes Line 49977  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 49997  class Test_Util_SpatialFunctions(unittes Line 50079  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 50115  class Test_Util_SpatialFunctions(unittes Line 50197  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 50617  class Test_Util_SpatialFunctions(unittes Line 50699  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 50643  class Test_Util_SpatialFunctions(unittes Line 50725  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 50673  class Test_Util_SpatialFunctions(unittes Line 50755  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 50775  class Test_Util_SpatialFunctions(unittes Line 50857  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 50893  class Test_Util_SpatialFunctions(unittes Line 50975  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 51395  class Test_Util_SpatialFunctions(unittes Line 51477  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 51423  class Test_Util_SpatialFunctions(unittes Line 51505  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 51455  class Test_Util_SpatialFunctions(unittes Line 51537  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 51559  class Test_Util_SpatialFunctions(unittes Line 51641  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 51679  class Test_Util_SpatialFunctions(unittes Line 51761  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 52183  class Test_Util_SpatialFunctions(unittes Line 52265  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 52211  class Test_Util_SpatialFunctions(unittes Line 52293  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 52243  class Test_Util_SpatialFunctions(unittes Line 52325  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 52347  class Test_Util_SpatialFunctions(unittes Line 52429  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 52467  class Test_Util_SpatialFunctions(unittes Line 52549  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 52971  class Test_Util_SpatialFunctions(unittes Line 53053  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 52999  class Test_Util_SpatialFunctions(unittes Line 53081  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 53031  class Test_Util_SpatialFunctions(unittes Line 53113  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 53135  class Test_Util_SpatialFunctions(unittes Line 53217  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 53255  class Test_Util_SpatialFunctions(unittes Line 53337  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 53759  class Test_Util_SpatialFunctions(unittes Line 53841  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 53787  class Test_Util_SpatialFunctions(unittes Line 53869  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 53819  class Test_Util_SpatialFunctions(unittes Line 53901  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 53923  class Test_Util_SpatialFunctions(unittes Line 54005  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 54043  class Test_Util_SpatialFunctions(unittes Line 54125  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 54547  class Test_Util_SpatialFunctions(unittes Line 54629  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 54575  class Test_Util_SpatialFunctions(unittes Line 54657  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 54607  class Test_Util_SpatialFunctions(unittes Line 54689  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 54711  class Test_Util_SpatialFunctions(unittes Line 54793  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 54831  class Test_Util_SpatialFunctions(unittes Line 54913  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 55335  class Test_Util_SpatialFunctions(unittes Line 55417  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 55361  class Test_Util_SpatialFunctions(unittes Line 55443  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 55391  class Test_Util_SpatialFunctions(unittes Line 55473  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 55493  class Test_Util_SpatialFunctions(unittes Line 55575  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 55611  class Test_Util_SpatialFunctions(unittes Line 55693  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56113  class Test_Util_SpatialFunctions(unittes Line 56195  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56139  class Test_Util_SpatialFunctions(unittes Line 56221  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56169  class Test_Util_SpatialFunctions(unittes Line 56251  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56271  class Test_Util_SpatialFunctions(unittes Line 56353  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56389  class Test_Util_SpatialFunctions(unittes Line 56471  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56891  class Test_Util_SpatialFunctions(unittes Line 56973  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56917  class Test_Util_SpatialFunctions(unittes Line 56999  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 56947  class Test_Util_SpatialFunctions(unittes Line 57029  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 57049  class Test_Util_SpatialFunctions(unittes Line 57131  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 57167  class Test_Util_SpatialFunctions(unittes Line 57249  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 57669  class Test_Util_SpatialFunctions(unittes Line 57751  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 57695  class Test_Util_SpatialFunctions(unittes Line 57777  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 57725  class Test_Util_SpatialFunctions(unittes Line 57807  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 57827  class Test_Util_SpatialFunctions(unittes Line 57909  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 57945  class Test_Util_SpatialFunctions(unittes Line 58027  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 58447  class Test_Util_SpatialFunctions(unittes Line 58529  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 58473  class Test_Util_SpatialFunctions(unittes Line 58555  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 58503  class Test_Util_SpatialFunctions(unittes Line 58585  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 58605  class Test_Util_SpatialFunctions(unittes Line 58687  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 58723  class Test_Util_SpatialFunctions(unittes Line 58805  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 59225  class Test_Util_SpatialFunctions(unittes Line 59307  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 59253  class Test_Util_SpatialFunctions(unittes Line 59335  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 59285  class Test_Util_SpatialFunctions(unittes Line 59367  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 59389  class Test_Util_SpatialFunctions(unittes Line 59471  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 59509  class Test_Util_SpatialFunctions(unittes Line 59591  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60013  class Test_Util_SpatialFunctions(unittes Line 60095  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60041  class Test_Util_SpatialFunctions(unittes Line 60123  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60073  class Test_Util_SpatialFunctions(unittes Line 60155  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60177  class Test_Util_SpatialFunctions(unittes Line 60259  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60297  class Test_Util_SpatialFunctions(unittes Line 60379  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60801  class Test_Util_SpatialFunctions(unittes Line 60883  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60829  class Test_Util_SpatialFunctions(unittes Line 60911  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60861  class Test_Util_SpatialFunctions(unittes Line 60943  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 60965  class Test_Util_SpatialFunctions(unittes Line 61047  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 61085  class Test_Util_SpatialFunctions(unittes Line 61167  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 61589  class Test_Util_SpatialFunctions(unittes Line 61671  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 61617  class Test_Util_SpatialFunctions(unittes Line 61699  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 61649  class Test_Util_SpatialFunctions(unittes Line 61731  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 61753  class Test_Util_SpatialFunctions(unittes Line 61835  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 61873  class Test_Util_SpatialFunctions(unittes Line 61955  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 62377  class Test_Util_SpatialFunctions(unittes Line 62459  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 62405  class Test_Util_SpatialFunctions(unittes Line 62487  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 62437  class Test_Util_SpatialFunctions(unittes Line 62519  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 62541  class Test_Util_SpatialFunctions(unittes Line 62623  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 62661  class Test_Util_SpatialFunctions(unittes Line 62743  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63165  class Test_Util_SpatialFunctions(unittes Line 63247  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63191  class Test_Util_SpatialFunctions(unittes Line 63273  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63221  class Test_Util_SpatialFunctions(unittes Line 63303  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63323  class Test_Util_SpatialFunctions(unittes Line 63405  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63441  class Test_Util_SpatialFunctions(unittes Line 63523  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63943  class Test_Util_SpatialFunctions(unittes Line 64025  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63969  class Test_Util_SpatialFunctions(unittes Line 64051  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 63999  class Test_Util_SpatialFunctions(unittes Line 64081  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 64101  class Test_Util_SpatialFunctions(unittes Line 64183  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 64219  class Test_Util_SpatialFunctions(unittes Line 64301  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 64721  class Test_Util_SpatialFunctions(unittes Line 64803  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 64749  class Test_Util_SpatialFunctions(unittes Line 64831  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 64781  class Test_Util_SpatialFunctions(unittes Line 64863  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 64885  class Test_Util_SpatialFunctions(unittes Line 64967  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 65005  class Test_Util_SpatialFunctions(unittes Line 65087  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 65509  class Test_Util_SpatialFunctions(unittes Line 65591  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 65537  class Test_Util_SpatialFunctions(unittes Line 65619  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 65569  class Test_Util_SpatialFunctions(unittes Line 65651  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 65673  class Test_Util_SpatialFunctions(unittes Line 65755  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 65793  class Test_Util_SpatialFunctions(unittes Line 65875  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 66297  class Test_Util_SpatialFunctions(unittes Line 66379  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 66323  class Test_Util_SpatialFunctions(unittes Line 66405  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 66353  class Test_Util_SpatialFunctions(unittes Line 66435  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 66455  class Test_Util_SpatialFunctions(unittes Line 66537  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 66573  class Test_Util_SpatialFunctions(unittes Line 66655  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67075  class Test_Util_SpatialFunctions(unittes Line 67157  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67101  class Test_Util_SpatialFunctions(unittes Line 67183  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67131  class Test_Util_SpatialFunctions(unittes Line 67213  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67233  class Test_Util_SpatialFunctions(unittes Line 67315  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67351  class Test_Util_SpatialFunctions(unittes Line 67433  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67853  class Test_Util_SpatialFunctions(unittes Line 67935  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67879  class Test_Util_SpatialFunctions(unittes Line 67961  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 67909  class Test_Util_SpatialFunctions(unittes Line 67991  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 68011  class Test_Util_SpatialFunctions(unittes Line 68093  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 68129  class Test_Util_SpatialFunctions(unittes Line 68211  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 68631  class Test_Util_SpatialFunctions(unittes Line 68713  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 68659  class Test_Util_SpatialFunctions(unittes Line 68741  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 68691  class Test_Util_SpatialFunctions(unittes Line 68773  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 68795  class Test_Util_SpatialFunctions(unittes Line 68877  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 68915  class Test_Util_SpatialFunctions(unittes Line 68997  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 69419  class Test_Util_SpatialFunctions(unittes Line 69501  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 69447  class Test_Util_SpatialFunctions(unittes Line 69529  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 69479  class Test_Util_SpatialFunctions(unittes Line 69561  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 69583  class Test_Util_SpatialFunctions(unittes Line 69665  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 69703  class Test_Util_SpatialFunctions(unittes Line 69785  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 70207  class Test_Util_SpatialFunctions(unittes Line 70289  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 70235  class Test_Util_SpatialFunctions(unittes Line 70317  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 70267  class Test_Util_SpatialFunctions(unittes Line 70349  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 70371  class Test_Util_SpatialFunctions(unittes Line 70453  class Test_Util_SpatialFunctions(unittes
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        """        """
# Line 70491  class Test_Util_SpatialFunctions(unittes Line 70573  class Test_Util_SpatialFunctions(unittes
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        """        """

Legend:
Removed from v.439  
changed lines
  Added in v.440

  ViewVC Help
Powered by ViewVC 1.1.26