/[escript]/branches/intelc_win32/escript/test/python/test_util_spatial_functions.py
ViewVC logotype

Diff of /branches/intelc_win32/escript/test/python/test_util_spatial_functions.py

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

trunk/escript/py_src/test_util_spatial_functions.py revision 439 by gross, Fri Jan 20 01:46:22 2006 UTC trunk/escript/test/python/test_util_spatial_functions.py revision 700 by gross, Thu Apr 6 00:13:40 2006 UTC
# Line 7  it is assumed that the domain is the usi Line 7  it is assumed that the domain is the usi
7  not all these test will run for all domains. check the doc string for the assumptions of a particular test  not all these test will run for all domains. check the doc string for the assumptions of a particular test
8    
9  @var __author__: name of author  @var __author__: name of author
10  @var __licence__: licence agreement  @var __copyright__: copyrights
11    @var __license__: licence agreement
12  @var __url__: url entry point on documentation  @var __url__: url entry point on documentation
13  @var __version__: version  @var __version__: version
14  @var __date__: date of the version  @var __date__: date of the version
15  """  """
16  __author__="Lutz Gross, l.gross@uq.edu.au"  __author__="Lutz Gross, l.gross@uq.edu.au"
17  __licence__="contact: esys@access.uq.edu.au"  __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
18                        http://www.access.edu.au
19                    Primary Business: Queensland, Australia"""
20    __license__="""Licensed under the Open Software License version 3.0
21                 http://www.opensource.org/licenses/osl-3.0.php"""
22  __url__="http://www.iservo.edu.au/esys/escript"  __url__="http://www.iservo.edu.au/esys/escript"
23  __version__="$Revision$"  __version__="$Revision$"
24  __date__="$Date$"  __date__="$Date$"
# Line 24  from numarray import array Line 29  from numarray import array
29    
30  class Test_Util_SpatialFunctions(unittest.TestCase):  class Test_Util_SpatialFunctions(unittest.TestCase):
31     RES_TOL=1.e-8     RES_TOL=1.e-8
32       def test_x_ofDomain(self):
33         """
34         test getX() of the domain to be in the [0,1]^dim box
35         """
36         dim=self.domain.getDim()
37         x=self.domain.getX()
38         self.failUnlessEqual(x.getShape(),(dim,),"wrong shape of result.")
39         self.failUnlessAlmostEqual(inf(x[0]),0.,int(-log10(self.RES_TOL)),"min x0 wrong")
40         self.failUnlessAlmostEqual(sup(x[0]),1.,int(-log10(self.RES_TOL)),"max x0 wrong")
41         self.failUnlessAlmostEqual(inf(x[1]),0.,int(-log10(self.RES_TOL)),"min x1 wrong")
42         self.failUnlessAlmostEqual(sup(x[1]),1.,int(-log10(self.RES_TOL)),"max x1 wrong")
43         if dim>2:
44           self.failUnlessAlmostEqual(inf(x[2]),0.,int(-log10(self.RES_TOL)),"min x2 wrong")
45           self.failUnlessAlmostEqual(sup(x[2]),1.,int(-log10(self.RES_TOL)),"max x2 wrong")
46    
47       def test_normal_FunctionOnBoundary(self):
48         """
49         test getNormal() on boundary
50    
51         assumptions: FunctionOnBoundary(self.domain) exists
52         """
53         dim=self.domain.getDim()
54         f=FunctionOnBoundary(self.domain)
55         x=f.getX()
56         ref=Vector(0.,what=f)
57         if dim==3:
58             ref+=whereZero(x[0]-1.,tol=self.RES_TOL)*[1,0,0]
59             ref+=whereZero(x[0],tol=self.RES_TOL)*[-1,0,0]
60             ref+=whereZero(x[1]-1.,tol=self.RES_TOL)*[0,1,0]
61             ref+=whereZero(x[1],tol=self.RES_TOL)*[0,-1,0]
62             ref+=whereZero(x[2]-1.,tol=self.RES_TOL)*[0,0,1]
63             ref+=whereZero(x[2],tol=self.RES_TOL)*[0,0,-1]
64         else:
65             ref+=whereZero(x[0]-1.,tol=self.RES_TOL)*[1,0]
66             ref+=whereZero(x[0],tol=self.RES_TOL)*[-1,0]
67             ref+=whereZero(x[1]-1.,tol=self.RES_TOL)*[0,1]
68             ref+=whereZero(x[1],tol=self.RES_TOL)*[0,-1]
69    
70         res=f.getNormal()
71         self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.")
72         self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.")
73         self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result")
74    
75       def test_normal_onFunctionOnContactZero(self):
76         """
77         test getNormal() on cotact side 0
78    
79         assumptions: FunctionOnContactZero(self.domain) exists
80         """
81         dim=self.domain.getDim()
82         f=FunctionOnContactZero(self.domain)
83         x=f.getX()
84         ref=Vector(0.,what=f)
85         if dim==3:
86             ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[1,0,0]
87         else:
88             ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[1,0]
89    
90         res=f.getNormal()
91         self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.")
92         self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.")
93         self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result")
94    
95       def test_normal_onFunctionOnContactOne(self):
96         """
97         test getNormal() on cotact side 1
98    
99         assumptions: FunctionOnContactOne(self.domain) exists
100         """
101         dim=self.domain.getDim()
102         f=FunctionOnContactOne(self.domain)
103         x=f.getX()
104         ref=Vector(0.,what=f)
105         if dim==3:
106             ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[-1,0,0]
107         else:
108             ref+=whereZero(x[0]-0.5,tol=self.RES_TOL)*[-1,0]
109    
110         res=f.getNormal()
111         self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.")
112         self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.")
113         self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result")
114     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
115     def test_integrate_onFunction_fromData_ContinuousFunction_rank0(self):     def test_integrate_onFunction_fromData_ContinuousFunction_rank0(self):
116        """        """
# Line 34977  class Test_Util_SpatialFunctions(unittes Line 35064  class Test_Util_SpatialFunctions(unittes
35064        self.failUnlessEqual(res.getShape(),(6, 2, 2)+(dim,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2)+(dim,),"wrong shape of result.")
35065        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35066     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35067     def test_interpolation_onFunction_fromData_ContinuousFunction_rank0(self):     def test_interpolate_onFunction_fromData_ContinuousFunction_rank0(self):
35068        """        """
35069        tests interpolation for rank 0 Data onto the Function        tests interpolate for rank 0 Data onto the Function
35070    
35071        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
35072        """        """
# Line 35003  class Test_Util_SpatialFunctions(unittes Line 35090  class Test_Util_SpatialFunctions(unittes
35090        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
35091        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35092     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35093     def test_interpolation_onFunction_fromData_ContinuousFunction_rank1(self):     def test_interpolate_onFunction_fromData_ContinuousFunction_rank1(self):
35094        """        """
35095        tests interpolation for rank 1 Data onto the Function        tests interpolate for rank 1 Data onto the Function
35096    
35097        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
35098        """        """
# Line 35033  class Test_Util_SpatialFunctions(unittes Line 35120  class Test_Util_SpatialFunctions(unittes
35120        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
35121        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35122     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35123     def test_interpolation_onFunction_fromData_ContinuousFunction_rank2(self):     def test_interpolate_onFunction_fromData_ContinuousFunction_rank2(self):
35124        """        """
35125        tests interpolation for rank 2 Data onto the Function        tests interpolate for rank 2 Data onto the Function
35126    
35127        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
35128        """        """
# Line 35135  class Test_Util_SpatialFunctions(unittes Line 35222  class Test_Util_SpatialFunctions(unittes
35222        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
35223        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35224     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35225     def test_interpolation_onFunction_fromData_ContinuousFunction_rank3(self):     def test_interpolate_onFunction_fromData_ContinuousFunction_rank3(self):
35226        """        """
35227        tests interpolation for rank 3 Data onto the Function        tests interpolate for rank 3 Data onto the Function
35228    
35229        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
35230        """        """
# Line 35253  class Test_Util_SpatialFunctions(unittes Line 35340  class Test_Util_SpatialFunctions(unittes
35340        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
35341        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35342     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35343     def test_interpolation_onFunction_fromData_ContinuousFunction_rank4(self):     def test_interpolate_onFunction_fromData_ContinuousFunction_rank4(self):
35344        """        """
35345        tests interpolation for rank 4 Data onto the Function        tests interpolate for rank 4 Data onto the Function
35346    
35347        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
35348        """        """
# Line 35755  class Test_Util_SpatialFunctions(unittes Line 35842  class Test_Util_SpatialFunctions(unittes
35842        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
35843        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35844     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35845     def test_interpolation_onFunction_fromData_Solution_rank0(self):     def test_interpolate_onFunction_fromData_Solution_rank0(self):
35846        """        """
35847        tests interpolation for rank 0 Data onto the Function        tests interpolate for rank 0 Data onto the Function
35848    
35849        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
35850        """        """
# Line 35781  class Test_Util_SpatialFunctions(unittes Line 35868  class Test_Util_SpatialFunctions(unittes
35868        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
35869        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35870     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35871     def test_interpolation_onFunction_fromData_Solution_rank1(self):     def test_interpolate_onFunction_fromData_Solution_rank1(self):
35872        """        """
35873        tests interpolation for rank 1 Data onto the Function        tests interpolate for rank 1 Data onto the Function
35874    
35875        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
35876        """        """
# Line 35811  class Test_Util_SpatialFunctions(unittes Line 35898  class Test_Util_SpatialFunctions(unittes
35898        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
35899        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
35900     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35901     def test_interpolation_onFunction_fromData_Solution_rank2(self):     def test_interpolate_onFunction_fromData_Solution_rank2(self):
35902        """        """
35903        tests interpolation for rank 2 Data onto the Function        tests interpolate for rank 2 Data onto the Function
35904    
35905        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
35906        """        """
# Line 35913  class Test_Util_SpatialFunctions(unittes Line 36000  class Test_Util_SpatialFunctions(unittes
36000        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
36001        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
36002     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36003     def test_interpolation_onFunction_fromData_Solution_rank3(self):     def test_interpolate_onFunction_fromData_Solution_rank3(self):
36004        """        """
36005        tests interpolation for rank 3 Data onto the Function        tests interpolate for rank 3 Data onto the Function
36006    
36007        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
36008        """        """
# Line 36031  class Test_Util_SpatialFunctions(unittes Line 36118  class Test_Util_SpatialFunctions(unittes
36118        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
36119        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
36120     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36121     def test_interpolation_onFunction_fromData_Solution_rank4(self):     def test_interpolate_onFunction_fromData_Solution_rank4(self):
36122        """        """
36123        tests interpolation for rank 4 Data onto the Function        tests interpolate for rank 4 Data onto the Function
36124    
36125        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
36126        """        """
# Line 36533  class Test_Util_SpatialFunctions(unittes Line 36620  class Test_Util_SpatialFunctions(unittes
36620        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
36621        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
36622     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36623     def test_interpolation_onFunction_fromData_ReducedSolution_rank0(self):     def test_interpolate_onFunction_fromData_ReducedSolution_rank0(self):
36624        """        """
36625        tests interpolation for rank 0 Data onto the Function        tests interpolate for rank 0 Data onto the Function
36626    
36627        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
36628        """        """
# Line 36559  class Test_Util_SpatialFunctions(unittes Line 36646  class Test_Util_SpatialFunctions(unittes
36646        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
36647        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
36648     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36649     def test_interpolation_onFunction_fromData_ReducedSolution_rank1(self):     def test_interpolate_onFunction_fromData_ReducedSolution_rank1(self):
36650        """        """
36651        tests interpolation for rank 1 Data onto the Function        tests interpolate for rank 1 Data onto the Function
36652    
36653        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
36654        """        """
# Line 36589  class Test_Util_SpatialFunctions(unittes Line 36676  class Test_Util_SpatialFunctions(unittes
36676        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
36677        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
36678     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36679     def test_interpolation_onFunction_fromData_ReducedSolution_rank2(self):     def test_interpolate_onFunction_fromData_ReducedSolution_rank2(self):
36680        """        """
36681        tests interpolation for rank 2 Data onto the Function        tests interpolate for rank 2 Data onto the Function
36682    
36683        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
36684        """        """
# Line 36691  class Test_Util_SpatialFunctions(unittes Line 36778  class Test_Util_SpatialFunctions(unittes
36778        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
36779        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
36780     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36781     def test_interpolation_onFunction_fromData_ReducedSolution_rank3(self):     def test_interpolate_onFunction_fromData_ReducedSolution_rank3(self):
36782        """        """
36783        tests interpolation for rank 3 Data onto the Function        tests interpolate for rank 3 Data onto the Function
36784    
36785        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
36786        """        """
# Line 36809  class Test_Util_SpatialFunctions(unittes Line 36896  class Test_Util_SpatialFunctions(unittes
36896        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
36897        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
36898     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36899     def test_interpolation_onFunction_fromData_ReducedSolution_rank4(self):     def test_interpolate_onFunction_fromData_ReducedSolution_rank4(self):
36900        """        """
36901        tests interpolation for rank 4 Data onto the Function        tests interpolate for rank 4 Data onto the Function
36902    
36903        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
36904        """        """
# Line 37311  class Test_Util_SpatialFunctions(unittes Line 37398  class Test_Util_SpatialFunctions(unittes
37398        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
37399        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
37400     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
37401     def test_interpolation_onFunction_fromData_Function_rank0(self):     def test_interpolate_onFunction_fromData_Function_rank0(self):
37402        """        """
37403        tests interpolation for rank 0 Data onto the Function        tests interpolate for rank 0 Data onto the Function
37404    
37405        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
37406        """        """
# Line 37337  class Test_Util_SpatialFunctions(unittes Line 37424  class Test_Util_SpatialFunctions(unittes
37424        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
37425        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
37426     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
37427     def test_interpolation_onFunction_fromData_Function_rank1(self):     def test_interpolate_onFunction_fromData_Function_rank1(self):
37428        """        """
37429        tests interpolation for rank 1 Data onto the Function        tests interpolate for rank 1 Data onto the Function
37430    
37431        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
37432        """        """
# Line 37367  class Test_Util_SpatialFunctions(unittes Line 37454  class Test_Util_SpatialFunctions(unittes
37454        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
37455        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
37456     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
37457     def test_interpolation_onFunction_fromData_Function_rank2(self):     def test_interpolate_onFunction_fromData_Function_rank2(self):
37458        """        """
37459        tests interpolation for rank 2 Data onto the Function        tests interpolate for rank 2 Data onto the Function
37460    
37461        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
37462        """        """
# Line 37469  class Test_Util_SpatialFunctions(unittes Line 37556  class Test_Util_SpatialFunctions(unittes
37556        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
37557        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
37558     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
37559     def test_interpolation_onFunction_fromData_Function_rank3(self):     def test_interpolate_onFunction_fromData_Function_rank3(self):
37560        """        """
37561        tests interpolation for rank 3 Data onto the Function        tests interpolate for rank 3 Data onto the Function
37562    
37563        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
37564        """        """
# Line 37587  class Test_Util_SpatialFunctions(unittes Line 37674  class Test_Util_SpatialFunctions(unittes
37674        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
37675        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
37676     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
37677     def test_interpolation_onFunction_fromData_Function_rank4(self):     def test_interpolate_onFunction_fromData_Function_rank4(self):
37678        """        """
37679        tests interpolation for rank 4 Data onto the Function        tests interpolate for rank 4 Data onto the Function
37680    
37681        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
37682        """        """
# Line 38089  class Test_Util_SpatialFunctions(unittes Line 38176  class Test_Util_SpatialFunctions(unittes
38176        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
38177        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
38178     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38179     def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank0(self):     def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank0(self):
38180        """        """
38181        tests interpolation for rank 0 Symbol onto the Function        tests interpolate for rank 0 Symbol onto the Function
38182    
38183        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
38184        """        """
# Line 38117  class Test_Util_SpatialFunctions(unittes Line 38204  class Test_Util_SpatialFunctions(unittes
38204        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
38205        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
38206     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38207     def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank1(self):     def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank1(self):
38208        """        """
38209        tests interpolation for rank 1 Symbol onto the Function        tests interpolate for rank 1 Symbol onto the Function
38210    
38211        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
38212        """        """
# Line 38149  class Test_Util_SpatialFunctions(unittes Line 38236  class Test_Util_SpatialFunctions(unittes
38236        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
38237        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
38238     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38239     def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank2(self):     def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank2(self):
38240        """        """
38241        tests interpolation for rank 2 Symbol onto the Function        tests interpolate for rank 2 Symbol onto the Function
38242    
38243        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
38244        """        """
# Line 38253  class Test_Util_SpatialFunctions(unittes Line 38340  class Test_Util_SpatialFunctions(unittes
38340        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
38341        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
38342     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38343     def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank3(self):     def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank3(self):
38344        """        """
38345        tests interpolation for rank 3 Symbol onto the Function        tests interpolate for rank 3 Symbol onto the Function
38346    
38347        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
38348        """        """
# Line 38373  class Test_Util_SpatialFunctions(unittes Line 38460  class Test_Util_SpatialFunctions(unittes
38460        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
38461        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
38462     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38463     def test_interpolation_onFunction_fromSymbol_ContinuousFunction_rank4(self):     def test_interpolate_onFunction_fromSymbol_ContinuousFunction_rank4(self):
38464        """        """
38465        tests interpolation for rank 4 Symbol onto the Function        tests interpolate for rank 4 Symbol onto the Function
38466    
38467        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Function
38468        """        """
# Line 38877  class Test_Util_SpatialFunctions(unittes Line 38964  class Test_Util_SpatialFunctions(unittes
38964        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
38965        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
38966     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38967     def test_interpolation_onFunction_fromSymbol_Solution_rank0(self):     def test_interpolate_onFunction_fromSymbol_Solution_rank0(self):
38968        """        """
38969        tests interpolation for rank 0 Symbol onto the Function        tests interpolate for rank 0 Symbol onto the Function
38970    
38971        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
38972        """        """
# Line 38905  class Test_Util_SpatialFunctions(unittes Line 38992  class Test_Util_SpatialFunctions(unittes
38992        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
38993        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
38994     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38995     def test_interpolation_onFunction_fromSymbol_Solution_rank1(self):     def test_interpolate_onFunction_fromSymbol_Solution_rank1(self):
38996        """        """
38997        tests interpolation for rank 1 Symbol onto the Function        tests interpolate for rank 1 Symbol onto the Function
38998    
38999        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
39000        """        """
# Line 38937  class Test_Util_SpatialFunctions(unittes Line 39024  class Test_Util_SpatialFunctions(unittes
39024        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
39025        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
39026     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
39027     def test_interpolation_onFunction_fromSymbol_Solution_rank2(self):     def test_interpolate_onFunction_fromSymbol_Solution_rank2(self):
39028        """        """
39029        tests interpolation for rank 2 Symbol onto the Function        tests interpolate for rank 2 Symbol onto the Function
39030    
39031        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
39032        """        """
# Line 39041  class Test_Util_SpatialFunctions(unittes Line 39128  class Test_Util_SpatialFunctions(unittes
39128        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
39129        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
39130     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
39131     def test_interpolation_onFunction_fromSymbol_Solution_rank3(self):     def test_interpolate_onFunction_fromSymbol_Solution_rank3(self):
39132        """        """
39133        tests interpolation for rank 3 Symbol onto the Function        tests interpolate for rank 3 Symbol onto the Function
39134    
39135        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
39136        """        """
# Line 39161  class Test_Util_SpatialFunctions(unittes Line 39248  class Test_Util_SpatialFunctions(unittes
39248        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
39249        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
39250     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
39251     def test_interpolation_onFunction_fromSymbol_Solution_rank4(self):     def test_interpolate_onFunction_fromSymbol_Solution_rank4(self):
39252        """        """
39253        tests interpolation for rank 4 Symbol onto the Function        tests interpolate for rank 4 Symbol onto the Function
39254    
39255        assumptions: self.domain supports inpterpolation from Solution onto Function        assumptions: self.domain supports inpterpolation from Solution onto Function
39256        """        """
# Line 39665  class Test_Util_SpatialFunctions(unittes Line 39752  class Test_Util_SpatialFunctions(unittes
39752        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
39753        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
39754     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
39755     def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank0(self):     def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank0(self):
39756        """        """
39757        tests interpolation for rank 0 Symbol onto the Function        tests interpolate for rank 0 Symbol onto the Function
39758    
39759        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
39760        """        """
# Line 39693  class Test_Util_SpatialFunctions(unittes Line 39780  class Test_Util_SpatialFunctions(unittes
39780        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
39781        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
39782     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
39783     def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank1(self):     def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank1(self):
39784        """        """
39785        tests interpolation for rank 1 Symbol onto the Function        tests interpolate for rank 1 Symbol onto the Function
39786    
39787        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
39788        """        """
# Line 39725  class Test_Util_SpatialFunctions(unittes Line 39812  class Test_Util_SpatialFunctions(unittes
39812        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
39813        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
39814     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
39815     def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank2(self):     def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank2(self):
39816        """        """
39817        tests interpolation for rank 2 Symbol onto the Function        tests interpolate for rank 2 Symbol onto the Function
39818    
39819        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
39820        """        """
# Line 39829  class Test_Util_SpatialFunctions(unittes Line 39916  class Test_Util_SpatialFunctions(unittes
39916        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
39917        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
39918     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
39919     def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank3(self):     def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank3(self):
39920        """        """
39921        tests interpolation for rank 3 Symbol onto the Function        tests interpolate for rank 3 Symbol onto the Function
39922    
39923        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
39924        """        """
# Line 39949  class Test_Util_SpatialFunctions(unittes Line 40036  class Test_Util_SpatialFunctions(unittes
40036        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
40037        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
40038     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
40039     def test_interpolation_onFunction_fromSymbol_ReducedSolution_rank4(self):     def test_interpolate_onFunction_fromSymbol_ReducedSolution_rank4(self):
40040        """        """
40041        tests interpolation for rank 4 Symbol onto the Function        tests interpolate for rank 4 Symbol onto the Function
40042    
40043        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function        assumptions: self.domain supports inpterpolation from ReducedSolution onto Function
40044        """        """
# Line 40453  class Test_Util_SpatialFunctions(unittes Line 40540  class Test_Util_SpatialFunctions(unittes
40540        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
40541        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
40542     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
40543     def test_interpolation_onFunction_fromSymbol_Function_rank0(self):     def test_interpolate_onFunction_fromSymbol_Function_rank0(self):
40544        """        """
40545        tests interpolation for rank 0 Symbol onto the Function        tests interpolate for rank 0 Symbol onto the Function
40546    
40547        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
40548        """        """
# Line 40481  class Test_Util_SpatialFunctions(unittes Line 40568  class Test_Util_SpatialFunctions(unittes
40568        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
40569        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
40570     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
40571     def test_interpolation_onFunction_fromSymbol_Function_rank1(self):     def test_interpolate_onFunction_fromSymbol_Function_rank1(self):
40572        """        """
40573        tests interpolation for rank 1 Symbol onto the Function        tests interpolate for rank 1 Symbol onto the Function
40574    
40575        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
40576        """        """
# Line 40513  class Test_Util_SpatialFunctions(unittes Line 40600  class Test_Util_SpatialFunctions(unittes
40600        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
40601        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
40602     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
40603     def test_interpolation_onFunction_fromSymbol_Function_rank2(self):     def test_interpolate_onFunction_fromSymbol_Function_rank2(self):
40604        """        """
40605        tests interpolation for rank 2 Symbol onto the Function        tests interpolate for rank 2 Symbol onto the Function
40606    
40607        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
40608        """        """
# Line 40617  class Test_Util_SpatialFunctions(unittes Line 40704  class Test_Util_SpatialFunctions(unittes
40704        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
40705        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
40706     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
40707     def test_interpolation_onFunction_fromSymbol_Function_rank3(self):     def test_interpolate_onFunction_fromSymbol_Function_rank3(self):
40708        """        """
40709        tests interpolation for rank 3 Symbol onto the Function        tests interpolate for rank 3 Symbol onto the Function
40710    
40711        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
40712        """        """
# Line 40737  class Test_Util_SpatialFunctions(unittes Line 40824  class Test_Util_SpatialFunctions(unittes
40824        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
40825        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
40826     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
40827     def test_interpolation_onFunction_fromSymbol_Function_rank4(self):     def test_interpolate_onFunction_fromSymbol_Function_rank4(self):
40828        """        """
40829        tests interpolation for rank 4 Symbol onto the Function        tests interpolate for rank 4 Symbol onto the Function
40830    
40831        assumptions: self.domain supports inpterpolation from Function onto Function        assumptions: self.domain supports inpterpolation from Function onto Function
40832        """        """
# Line 41241  class Test_Util_SpatialFunctions(unittes Line 41328  class Test_Util_SpatialFunctions(unittes
41328        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
41329        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
41330     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
41331     def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank0(self):
41332        """        """
41333        tests interpolation for rank 0 Data onto the FunctionOnBoundary        tests interpolate for rank 0 Data onto the FunctionOnBoundary
41334    
41335        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
41336        """        """
# Line 41267  class Test_Util_SpatialFunctions(unittes Line 41354  class Test_Util_SpatialFunctions(unittes
41354        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
41355        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
41356     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
41357     def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank1(self):
41358        """        """
41359        tests interpolation for rank 1 Data onto the FunctionOnBoundary        tests interpolate for rank 1 Data onto the FunctionOnBoundary
41360    
41361        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
41362        """        """
# Line 41297  class Test_Util_SpatialFunctions(unittes Line 41384  class Test_Util_SpatialFunctions(unittes
41384        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
41385        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
41386     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
41387     def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank2(self):
41388        """        """
41389        tests interpolation for rank 2 Data onto the FunctionOnBoundary        tests interpolate for rank 2 Data onto the FunctionOnBoundary
41390    
41391        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
41392        """        """
# Line 41399  class Test_Util_SpatialFunctions(unittes Line 41486  class Test_Util_SpatialFunctions(unittes
41486        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
41487        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
41488     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
41489     def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank3(self):
41490        """        """
41491        tests interpolation for rank 3 Data onto the FunctionOnBoundary        tests interpolate for rank 3 Data onto the FunctionOnBoundary
41492    
41493        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
41494        """        """
# Line 41517  class Test_Util_SpatialFunctions(unittes Line 41604  class Test_Util_SpatialFunctions(unittes
41604        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
41605        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
41606     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
41607     def test_interpolation_onFunctionOnBoundary_fromData_ContinuousFunction_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromData_ContinuousFunction_rank4(self):
41608        """        """
41609        tests interpolation for rank 4 Data onto the FunctionOnBoundary        tests interpolate for rank 4 Data onto the FunctionOnBoundary
41610    
41611        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
41612        """        """
# Line 42019  class Test_Util_SpatialFunctions(unittes Line 42106  class Test_Util_SpatialFunctions(unittes
42106        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
42107        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42108     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42109     def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank0(self):
42110        """        """
42111        tests interpolation for rank 0 Data onto the FunctionOnBoundary        tests interpolate for rank 0 Data onto the FunctionOnBoundary
42112    
42113        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
42114        """        """
# Line 42045  class Test_Util_SpatialFunctions(unittes Line 42132  class Test_Util_SpatialFunctions(unittes
42132        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
42133        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42134     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42135     def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank1(self):
42136        """        """
42137        tests interpolation for rank 1 Data onto the FunctionOnBoundary        tests interpolate for rank 1 Data onto the FunctionOnBoundary
42138    
42139        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
42140        """        """
# Line 42075  class Test_Util_SpatialFunctions(unittes Line 42162  class Test_Util_SpatialFunctions(unittes
42162        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
42163        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42164     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42165     def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank2(self):
42166        """        """
42167        tests interpolation for rank 2 Data onto the FunctionOnBoundary        tests interpolate for rank 2 Data onto the FunctionOnBoundary
42168    
42169        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
42170        """        """
# Line 42177  class Test_Util_SpatialFunctions(unittes Line 42264  class Test_Util_SpatialFunctions(unittes
42264        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
42265        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42266     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42267     def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank3(self):
42268        """        """
42269        tests interpolation for rank 3 Data onto the FunctionOnBoundary        tests interpolate for rank 3 Data onto the FunctionOnBoundary
42270    
42271        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
42272        """        """
# Line 42295  class Test_Util_SpatialFunctions(unittes Line 42382  class Test_Util_SpatialFunctions(unittes
42382        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
42383        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42384     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42385     def test_interpolation_onFunctionOnBoundary_fromData_Solution_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromData_Solution_rank4(self):
42386        """        """
42387        tests interpolation for rank 4 Data onto the FunctionOnBoundary        tests interpolate for rank 4 Data onto the FunctionOnBoundary
42388    
42389        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
42390        """        """
# Line 42797  class Test_Util_SpatialFunctions(unittes Line 42884  class Test_Util_SpatialFunctions(unittes
42884        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
42885        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42886     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42887     def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank0(self):
42888        """        """
42889        tests interpolation for rank 0 Data onto the FunctionOnBoundary        tests interpolate for rank 0 Data onto the FunctionOnBoundary
42890    
42891        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
42892        """        """
# Line 42823  class Test_Util_SpatialFunctions(unittes Line 42910  class Test_Util_SpatialFunctions(unittes
42910        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
42911        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42912     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42913     def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank1(self):
42914        """        """
42915        tests interpolation for rank 1 Data onto the FunctionOnBoundary        tests interpolate for rank 1 Data onto the FunctionOnBoundary
42916    
42917        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
42918        """        """
# Line 42853  class Test_Util_SpatialFunctions(unittes Line 42940  class Test_Util_SpatialFunctions(unittes
42940        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
42941        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
42942     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
42943     def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank2(self):
42944        """        """
42945        tests interpolation for rank 2 Data onto the FunctionOnBoundary        tests interpolate for rank 2 Data onto the FunctionOnBoundary
42946    
42947        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
42948        """        """
# Line 42955  class Test_Util_SpatialFunctions(unittes Line 43042  class Test_Util_SpatialFunctions(unittes
43042        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
43043        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
43044     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43045     def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank3(self):
43046        """        """
43047        tests interpolation for rank 3 Data onto the FunctionOnBoundary        tests interpolate for rank 3 Data onto the FunctionOnBoundary
43048    
43049        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
43050        """        """
# Line 43073  class Test_Util_SpatialFunctions(unittes Line 43160  class Test_Util_SpatialFunctions(unittes
43160        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
43161        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
43162     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43163     def test_interpolation_onFunctionOnBoundary_fromData_ReducedSolution_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromData_ReducedSolution_rank4(self):
43164        """        """
43165        tests interpolation for rank 4 Data onto the FunctionOnBoundary        tests interpolate for rank 4 Data onto the FunctionOnBoundary
43166    
43167        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
43168        """        """
# Line 43575  class Test_Util_SpatialFunctions(unittes Line 43662  class Test_Util_SpatialFunctions(unittes
43662        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
43663        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
43664     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43665     def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank0(self):
43666        """        """
43667        tests interpolation for rank 0 Data onto the FunctionOnBoundary        tests interpolate for rank 0 Data onto the FunctionOnBoundary
43668    
43669        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
43670        """        """
# Line 43601  class Test_Util_SpatialFunctions(unittes Line 43688  class Test_Util_SpatialFunctions(unittes
43688        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
43689        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
43690     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43691     def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank1(self):
43692        """        """
43693        tests interpolation for rank 1 Data onto the FunctionOnBoundary        tests interpolate for rank 1 Data onto the FunctionOnBoundary
43694    
43695        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
43696        """        """
# Line 43631  class Test_Util_SpatialFunctions(unittes Line 43718  class Test_Util_SpatialFunctions(unittes
43718        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
43719        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
43720     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43721     def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank2(self):
43722        """        """
43723        tests interpolation for rank 2 Data onto the FunctionOnBoundary        tests interpolate for rank 2 Data onto the FunctionOnBoundary
43724    
43725        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
43726        """        """
# Line 43733  class Test_Util_SpatialFunctions(unittes Line 43820  class Test_Util_SpatialFunctions(unittes
43820        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
43821        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
43822     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43823     def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank3(self):
43824        """        """
43825        tests interpolation for rank 3 Data onto the FunctionOnBoundary        tests interpolate for rank 3 Data onto the FunctionOnBoundary
43826    
43827        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
43828        """        """
# Line 43851  class Test_Util_SpatialFunctions(unittes Line 43938  class Test_Util_SpatialFunctions(unittes
43938        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
43939        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
43940     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43941     def test_interpolation_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromData_FunctionOnBoundary_rank4(self):
43942        """        """
43943        tests interpolation for rank 4 Data onto the FunctionOnBoundary        tests interpolate for rank 4 Data onto the FunctionOnBoundary
43944    
43945        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
43946        """        """
# Line 44353  class Test_Util_SpatialFunctions(unittes Line 44440  class Test_Util_SpatialFunctions(unittes
44440        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
44441        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
44442     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
44443     def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank0(self):
44444        """        """
44445        tests interpolation for rank 0 Symbol onto the FunctionOnBoundary        tests interpolate for rank 0 Symbol onto the FunctionOnBoundary
44446    
44447        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
44448        """        """
# Line 44381  class Test_Util_SpatialFunctions(unittes Line 44468  class Test_Util_SpatialFunctions(unittes
44468        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
44469        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
44470     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
44471     def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank1(self):
44472        """        """
44473        tests interpolation for rank 1 Symbol onto the FunctionOnBoundary        tests interpolate for rank 1 Symbol onto the FunctionOnBoundary
44474    
44475        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
44476        """        """
# Line 44413  class Test_Util_SpatialFunctions(unittes Line 44500  class Test_Util_SpatialFunctions(unittes
44500        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
44501        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
44502     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
44503     def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank2(self):
44504        """        """
44505        tests interpolation for rank 2 Symbol onto the FunctionOnBoundary        tests interpolate for rank 2 Symbol onto the FunctionOnBoundary
44506    
44507        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
44508        """        """
# Line 44517  class Test_Util_SpatialFunctions(unittes Line 44604  class Test_Util_SpatialFunctions(unittes
44604        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
44605        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
44606     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
44607     def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank3(self):
44608        """        """
44609        tests interpolation for rank 3 Symbol onto the FunctionOnBoundary        tests interpolate for rank 3 Symbol onto the FunctionOnBoundary
44610    
44611        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
44612        """        """
# Line 44637  class Test_Util_SpatialFunctions(unittes Line 44724  class Test_Util_SpatialFunctions(unittes
44724        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
44725        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
44726     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
44727     def test_interpolation_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ContinuousFunction_rank4(self):
44728        """        """
44729        tests interpolation for rank 4 Symbol onto the FunctionOnBoundary        tests interpolate for rank 4 Symbol onto the FunctionOnBoundary
44730    
44731        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnBoundary
44732        """        """
# Line 45141  class Test_Util_SpatialFunctions(unittes Line 45228  class Test_Util_SpatialFunctions(unittes
45228        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
45229        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
45230     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
45231     def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank0(self):
45232        """        """
45233        tests interpolation for rank 0 Symbol onto the FunctionOnBoundary        tests interpolate for rank 0 Symbol onto the FunctionOnBoundary
45234    
45235        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
45236        """        """
# Line 45169  class Test_Util_SpatialFunctions(unittes Line 45256  class Test_Util_SpatialFunctions(unittes
45256        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
45257        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
45258     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
45259     def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank1(self):
45260        """        """
45261        tests interpolation for rank 1 Symbol onto the FunctionOnBoundary        tests interpolate for rank 1 Symbol onto the FunctionOnBoundary
45262    
45263        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
45264        """        """
# Line 45201  class Test_Util_SpatialFunctions(unittes Line 45288  class Test_Util_SpatialFunctions(unittes
45288        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
45289        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
45290     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
45291     def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank2(self):
45292        """        """
45293        tests interpolation for rank 2 Symbol onto the FunctionOnBoundary        tests interpolate for rank 2 Symbol onto the FunctionOnBoundary
45294    
45295        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
45296        """        """
# Line 45305  class Test_Util_SpatialFunctions(unittes Line 45392  class Test_Util_SpatialFunctions(unittes
45392        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
45393        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
45394     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
45395     def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank3(self):
45396        """        """
45397        tests interpolation for rank 3 Symbol onto the FunctionOnBoundary        tests interpolate for rank 3 Symbol onto the FunctionOnBoundary
45398    
45399        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
45400        """        """
# Line 45425  class Test_Util_SpatialFunctions(unittes Line 45512  class Test_Util_SpatialFunctions(unittes
45512        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
45513        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
45514     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
45515     def test_interpolation_onFunctionOnBoundary_fromSymbol_Solution_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_Solution_rank4(self):
45516        """        """
45517        tests interpolation for rank 4 Symbol onto the FunctionOnBoundary        tests interpolate for rank 4 Symbol onto the FunctionOnBoundary
45518    
45519        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnBoundary
45520        """        """
# Line 45929  class Test_Util_SpatialFunctions(unittes Line 46016  class Test_Util_SpatialFunctions(unittes
46016        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
46017        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46018     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46019     def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank0(self):
46020        """        """
46021        tests interpolation for rank 0 Symbol onto the FunctionOnBoundary        tests interpolate for rank 0 Symbol onto the FunctionOnBoundary
46022    
46023        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
46024        """        """
# Line 45957  class Test_Util_SpatialFunctions(unittes Line 46044  class Test_Util_SpatialFunctions(unittes
46044        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
46045        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46046     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46047     def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank1(self):
46048        """        """
46049        tests interpolation for rank 1 Symbol onto the FunctionOnBoundary        tests interpolate for rank 1 Symbol onto the FunctionOnBoundary
46050    
46051        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
46052        """        """
# Line 45989  class Test_Util_SpatialFunctions(unittes Line 46076  class Test_Util_SpatialFunctions(unittes
46076        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
46077        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46078     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46079     def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank2(self):
46080        """        """
46081        tests interpolation for rank 2 Symbol onto the FunctionOnBoundary        tests interpolate for rank 2 Symbol onto the FunctionOnBoundary
46082    
46083        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
46084        """        """
# Line 46093  class Test_Util_SpatialFunctions(unittes Line 46180  class Test_Util_SpatialFunctions(unittes
46180        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
46181        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46182     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46183     def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank3(self):
46184        """        """
46185        tests interpolation for rank 3 Symbol onto the FunctionOnBoundary        tests interpolate for rank 3 Symbol onto the FunctionOnBoundary
46186    
46187        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
46188        """        """
# Line 46213  class Test_Util_SpatialFunctions(unittes Line 46300  class Test_Util_SpatialFunctions(unittes
46300        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
46301        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46302     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46303     def test_interpolation_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_ReducedSolution_rank4(self):
46304        """        """
46305        tests interpolation for rank 4 Symbol onto the FunctionOnBoundary        tests interpolate for rank 4 Symbol onto the FunctionOnBoundary
46306    
46307        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnBoundary
46308        """        """
# Line 46717  class Test_Util_SpatialFunctions(unittes Line 46804  class Test_Util_SpatialFunctions(unittes
46804        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
46805        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46806     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46807     def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank0(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank0(self):
46808        """        """
46809        tests interpolation for rank 0 Symbol onto the FunctionOnBoundary        tests interpolate for rank 0 Symbol onto the FunctionOnBoundary
46810    
46811        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
46812        """        """
# Line 46745  class Test_Util_SpatialFunctions(unittes Line 46832  class Test_Util_SpatialFunctions(unittes
46832        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
46833        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46834     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46835     def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank1(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank1(self):
46836        """        """
46837        tests interpolation for rank 1 Symbol onto the FunctionOnBoundary        tests interpolate for rank 1 Symbol onto the FunctionOnBoundary
46838    
46839        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
46840        """        """
# Line 46777  class Test_Util_SpatialFunctions(unittes Line 46864  class Test_Util_SpatialFunctions(unittes
46864        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
46865        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46866     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46867     def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank2(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank2(self):
46868        """        """
46869        tests interpolation for rank 2 Symbol onto the FunctionOnBoundary        tests interpolate for rank 2 Symbol onto the FunctionOnBoundary
46870    
46871        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
46872        """        """
# Line 46881  class Test_Util_SpatialFunctions(unittes Line 46968  class Test_Util_SpatialFunctions(unittes
46968        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
46969        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
46970     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46971     def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank3(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank3(self):
46972        """        """
46973        tests interpolation for rank 3 Symbol onto the FunctionOnBoundary        tests interpolate for rank 3 Symbol onto the FunctionOnBoundary
46974    
46975        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
46976        """        """
# Line 47001  class Test_Util_SpatialFunctions(unittes Line 47088  class Test_Util_SpatialFunctions(unittes
47088        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
47089        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
47090     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
47091     def test_interpolation_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank4(self):     def test_interpolate_onFunctionOnBoundary_fromSymbol_FunctionOnBoundary_rank4(self):
47092        """        """
47093        tests interpolation for rank 4 Symbol onto the FunctionOnBoundary        tests interpolate for rank 4 Symbol onto the FunctionOnBoundary
47094    
47095        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary        assumptions: self.domain supports inpterpolation from FunctionOnBoundary onto FunctionOnBoundary
47096        """        """
# Line 47505  class Test_Util_SpatialFunctions(unittes Line 47592  class Test_Util_SpatialFunctions(unittes
47592        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
47593        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
47594     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
47595     def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank0(self):
47596        """        """
47597        tests interpolation for rank 0 Data onto the FunctionOnContactZero        tests interpolate for rank 0 Data onto the FunctionOnContactZero
47598    
47599        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
47600        """        """
# Line 47531  class Test_Util_SpatialFunctions(unittes Line 47618  class Test_Util_SpatialFunctions(unittes
47618        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
47619        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
47620     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
47621     def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank1(self):
47622        """        """
47623        tests interpolation for rank 1 Data onto the FunctionOnContactZero        tests interpolate for rank 1 Data onto the FunctionOnContactZero
47624    
47625        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
47626        """        """
# Line 47561  class Test_Util_SpatialFunctions(unittes Line 47648  class Test_Util_SpatialFunctions(unittes
47648        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
47649        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
47650     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
47651     def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank2(self):
47652        """        """
47653        tests interpolation for rank 2 Data onto the FunctionOnContactZero        tests interpolate for rank 2 Data onto the FunctionOnContactZero
47654    
47655        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
47656        """        """
# Line 47663  class Test_Util_SpatialFunctions(unittes Line 47750  class Test_Util_SpatialFunctions(unittes
47750        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
47751        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
47752     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
47753     def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank3(self):
47754        """        """
47755        tests interpolation for rank 3 Data onto the FunctionOnContactZero        tests interpolate for rank 3 Data onto the FunctionOnContactZero
47756    
47757        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
47758        """        """
# Line 47781  class Test_Util_SpatialFunctions(unittes Line 47868  class Test_Util_SpatialFunctions(unittes
47868        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
47869        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
47870     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
47871     def test_interpolation_onFunctionOnContactZero_fromData_ContinuousFunction_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromData_ContinuousFunction_rank4(self):
47872        """        """
47873        tests interpolation for rank 4 Data onto the FunctionOnContactZero        tests interpolate for rank 4 Data onto the FunctionOnContactZero
47874    
47875        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
47876        """        """
# Line 48283  class Test_Util_SpatialFunctions(unittes Line 48370  class Test_Util_SpatialFunctions(unittes
48370        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
48371        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
48372     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
48373     def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank0(self):
48374        """        """
48375        tests interpolation for rank 0 Data onto the FunctionOnContactZero        tests interpolate for rank 0 Data onto the FunctionOnContactZero
48376    
48377        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
48378        """        """
# Line 48309  class Test_Util_SpatialFunctions(unittes Line 48396  class Test_Util_SpatialFunctions(unittes
48396        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
48397        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
48398     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
48399     def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank1(self):
48400        """        """
48401        tests interpolation for rank 1 Data onto the FunctionOnContactZero        tests interpolate for rank 1 Data onto the FunctionOnContactZero
48402    
48403        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
48404        """        """
# Line 48339  class Test_Util_SpatialFunctions(unittes Line 48426  class Test_Util_SpatialFunctions(unittes
48426        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
48427        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
48428     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
48429     def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank2(self):
48430        """        """
48431        tests interpolation for rank 2 Data onto the FunctionOnContactZero        tests interpolate for rank 2 Data onto the FunctionOnContactZero
48432    
48433        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
48434        """        """
# Line 48441  class Test_Util_SpatialFunctions(unittes Line 48528  class Test_Util_SpatialFunctions(unittes
48528        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
48529        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
48530     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
48531     def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank3(self):
48532        """        """
48533        tests interpolation for rank 3 Data onto the FunctionOnContactZero        tests interpolate for rank 3 Data onto the FunctionOnContactZero
48534    
48535        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
48536        """        """
# Line 48559  class Test_Util_SpatialFunctions(unittes Line 48646  class Test_Util_SpatialFunctions(unittes
48646        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
48647        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
48648     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
48649     def test_interpolation_onFunctionOnContactZero_fromData_Solution_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromData_Solution_rank4(self):
48650        """        """
48651        tests interpolation for rank 4 Data onto the FunctionOnContactZero        tests interpolate for rank 4 Data onto the FunctionOnContactZero
48652    
48653        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
48654        """        """
# Line 49061  class Test_Util_SpatialFunctions(unittes Line 49148  class Test_Util_SpatialFunctions(unittes
49148        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
49149        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49150     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49151     def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank0(self):
49152        """        """
49153        tests interpolation for rank 0 Data onto the FunctionOnContactZero        tests interpolate for rank 0 Data onto the FunctionOnContactZero
49154    
49155        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
49156        """        """
# Line 49087  class Test_Util_SpatialFunctions(unittes Line 49174  class Test_Util_SpatialFunctions(unittes
49174        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
49175        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49176     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49177     def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank1(self):
49178        """        """
49179        tests interpolation for rank 1 Data onto the FunctionOnContactZero        tests interpolate for rank 1 Data onto the FunctionOnContactZero
49180    
49181        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
49182        """        """
# Line 49117  class Test_Util_SpatialFunctions(unittes Line 49204  class Test_Util_SpatialFunctions(unittes
49204        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
49205        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49206     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49207     def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank2(self):
49208        """        """
49209        tests interpolation for rank 2 Data onto the FunctionOnContactZero        tests interpolate for rank 2 Data onto the FunctionOnContactZero
49210    
49211        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
49212        """        """
# Line 49219  class Test_Util_SpatialFunctions(unittes Line 49306  class Test_Util_SpatialFunctions(unittes
49306        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
49307        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49308     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49309     def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank3(self):
49310        """        """
49311        tests interpolation for rank 3 Data onto the FunctionOnContactZero        tests interpolate for rank 3 Data onto the FunctionOnContactZero
49312    
49313        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
49314        """        """
# Line 49337  class Test_Util_SpatialFunctions(unittes Line 49424  class Test_Util_SpatialFunctions(unittes
49424        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
49425        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49426     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49427     def test_interpolation_onFunctionOnContactZero_fromData_ReducedSolution_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromData_ReducedSolution_rank4(self):
49428        """        """
49429        tests interpolation for rank 4 Data onto the FunctionOnContactZero        tests interpolate for rank 4 Data onto the FunctionOnContactZero
49430    
49431        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
49432        """        """
# Line 49839  class Test_Util_SpatialFunctions(unittes Line 49926  class Test_Util_SpatialFunctions(unittes
49926        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
49927        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49928     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49929     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank0(self):
49930        """        """
49931        tests interpolation for rank 0 Data onto the FunctionOnContactZero        tests interpolate for rank 0 Data onto the FunctionOnContactZero
49932    
49933        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
49934        """        """
# Line 49865  class Test_Util_SpatialFunctions(unittes Line 49952  class Test_Util_SpatialFunctions(unittes
49952        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
49953        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49954     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49955     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank1(self):
49956        """        """
49957        tests interpolation for rank 1 Data onto the FunctionOnContactZero        tests interpolate for rank 1 Data onto the FunctionOnContactZero
49958    
49959        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
49960        """        """
# Line 49895  class Test_Util_SpatialFunctions(unittes Line 49982  class Test_Util_SpatialFunctions(unittes
49982        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
49983        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
49984     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
49985     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank2(self):
49986        """        """
49987        tests interpolation for rank 2 Data onto the FunctionOnContactZero        tests interpolate for rank 2 Data onto the FunctionOnContactZero
49988    
49989        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
49990        """        """
# Line 49997  class Test_Util_SpatialFunctions(unittes Line 50084  class Test_Util_SpatialFunctions(unittes
50084        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
50085        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
50086     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
50087     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank3(self):
50088        """        """
50089        tests interpolation for rank 3 Data onto the FunctionOnContactZero        tests interpolate for rank 3 Data onto the FunctionOnContactZero
50090    
50091        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
50092        """        """
# Line 50115  class Test_Util_SpatialFunctions(unittes Line 50202  class Test_Util_SpatialFunctions(unittes
50202        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
50203        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
50204     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
50205     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactZero_rank4(self):
50206        """        """
50207        tests interpolation for rank 4 Data onto the FunctionOnContactZero        tests interpolate for rank 4 Data onto the FunctionOnContactZero
50208    
50209        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
50210        """        """
# Line 50617  class Test_Util_SpatialFunctions(unittes Line 50704  class Test_Util_SpatialFunctions(unittes
50704        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
50705        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
50706     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
50707     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank0(self):
50708        """        """
50709        tests interpolation for rank 0 Data onto the FunctionOnContactZero        tests interpolate for rank 0 Data onto the FunctionOnContactZero
50710    
50711        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
50712        """        """
# Line 50643  class Test_Util_SpatialFunctions(unittes Line 50730  class Test_Util_SpatialFunctions(unittes
50730        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
50731        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
50732     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
50733     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank1(self):
50734        """        """
50735        tests interpolation for rank 1 Data onto the FunctionOnContactZero        tests interpolate for rank 1 Data onto the FunctionOnContactZero
50736    
50737        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
50738        """        """
# Line 50673  class Test_Util_SpatialFunctions(unittes Line 50760  class Test_Util_SpatialFunctions(unittes
50760        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
50761        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
50762     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
50763     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank2(self):
50764        """        """
50765        tests interpolation for rank 2 Data onto the FunctionOnContactZero        tests interpolate for rank 2 Data onto the FunctionOnContactZero
50766    
50767        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
50768        """        """
# Line 50775  class Test_Util_SpatialFunctions(unittes Line 50862  class Test_Util_SpatialFunctions(unittes
50862        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
50863        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
50864     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
50865     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank3(self):
50866        """        """
50867        tests interpolation for rank 3 Data onto the FunctionOnContactZero        tests interpolate for rank 3 Data onto the FunctionOnContactZero
50868    
50869        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
50870        """        """
# Line 50893  class Test_Util_SpatialFunctions(unittes Line 50980  class Test_Util_SpatialFunctions(unittes
50980        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
50981        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
50982     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
50983     def test_interpolation_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromData_FunctionOnContactOne_rank4(self):
50984        """        """
50985        tests interpolation for rank 4 Data onto the FunctionOnContactZero        tests interpolate for rank 4 Data onto the FunctionOnContactZero
50986    
50987        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
50988        """        """
# Line 51395  class Test_Util_SpatialFunctions(unittes Line 51482  class Test_Util_SpatialFunctions(unittes
51482        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
51483        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
51484     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
51485     def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank0(self):
51486        """        """
51487        tests interpolation for rank 0 Symbol onto the FunctionOnContactZero        tests interpolate for rank 0 Symbol onto the FunctionOnContactZero
51488    
51489        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
51490        """        """
# Line 51423  class Test_Util_SpatialFunctions(unittes Line 51510  class Test_Util_SpatialFunctions(unittes
51510        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
51511        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
51512     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
51513     def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank1(self):
51514        """        """
51515        tests interpolation for rank 1 Symbol onto the FunctionOnContactZero        tests interpolate for rank 1 Symbol onto the FunctionOnContactZero
51516    
51517        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
51518        """        """
# Line 51455  class Test_Util_SpatialFunctions(unittes Line 51542  class Test_Util_SpatialFunctions(unittes
51542        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
51543        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
51544     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
51545     def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank2(self):
51546        """        """
51547        tests interpolation for rank 2 Symbol onto the FunctionOnContactZero        tests interpolate for rank 2 Symbol onto the FunctionOnContactZero
51548    
51549        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
51550        """        """
# Line 51559  class Test_Util_SpatialFunctions(unittes Line 51646  class Test_Util_SpatialFunctions(unittes
51646        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
51647        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
51648     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
51649     def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank3(self):
51650        """        """
51651        tests interpolation for rank 3 Symbol onto the FunctionOnContactZero        tests interpolate for rank 3 Symbol onto the FunctionOnContactZero
51652    
51653        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
51654        """        """
# Line 51679  class Test_Util_SpatialFunctions(unittes Line 51766  class Test_Util_SpatialFunctions(unittes
51766        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
51767        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
51768     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
51769     def test_interpolation_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ContinuousFunction_rank4(self):
51770        """        """
51771        tests interpolation for rank 4 Symbol onto the FunctionOnContactZero        tests interpolate for rank 4 Symbol onto the FunctionOnContactZero
51772    
51773        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactZero
51774        """        """
# Line 52183  class Test_Util_SpatialFunctions(unittes Line 52270  class Test_Util_SpatialFunctions(unittes
52270        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
52271        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
52272     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
52273     def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank0(self):
52274        """        """
52275        tests interpolation for rank 0 Symbol onto the FunctionOnContactZero        tests interpolate for rank 0 Symbol onto the FunctionOnContactZero
52276    
52277        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
52278        """        """
# Line 52211  class Test_Util_SpatialFunctions(unittes Line 52298  class Test_Util_SpatialFunctions(unittes
52298        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
52299        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
52300     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
52301     def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank1(self):
52302        """        """
52303        tests interpolation for rank 1 Symbol onto the FunctionOnContactZero        tests interpolate for rank 1 Symbol onto the FunctionOnContactZero
52304    
52305        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
52306        """        """
# Line 52243  class Test_Util_SpatialFunctions(unittes Line 52330  class Test_Util_SpatialFunctions(unittes
52330        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
52331        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
52332     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
52333     def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank2(self):
52334        """        """
52335        tests interpolation for rank 2 Symbol onto the FunctionOnContactZero        tests interpolate for rank 2 Symbol onto the FunctionOnContactZero
52336    
52337        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
52338        """        """
# Line 52347  class Test_Util_SpatialFunctions(unittes Line 52434  class Test_Util_SpatialFunctions(unittes
52434        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
52435        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
52436     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
52437     def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank3(self):
52438        """        """
52439        tests interpolation for rank 3 Symbol onto the FunctionOnContactZero        tests interpolate for rank 3 Symbol onto the FunctionOnContactZero
52440    
52441        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
52442        """        """
# Line 52467  class Test_Util_SpatialFunctions(unittes Line 52554  class Test_Util_SpatialFunctions(unittes
52554        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
52555        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
52556     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
52557     def test_interpolation_onFunctionOnContactZero_fromSymbol_Solution_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_Solution_rank4(self):
52558        """        """
52559        tests interpolation for rank 4 Symbol onto the FunctionOnContactZero        tests interpolate for rank 4 Symbol onto the FunctionOnContactZero
52560    
52561        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactZero
52562        """        """
# Line 52971  class Test_Util_SpatialFunctions(unittes Line 53058  class Test_Util_SpatialFunctions(unittes
53058        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
53059        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53060     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53061     def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank0(self):
53062        """        """
53063        tests interpolation for rank 0 Symbol onto the FunctionOnContactZero        tests interpolate for rank 0 Symbol onto the FunctionOnContactZero
53064    
53065        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
53066        """        """
# Line 52999  class Test_Util_SpatialFunctions(unittes Line 53086  class Test_Util_SpatialFunctions(unittes
53086        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
53087        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53088     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53089     def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank1(self):
53090        """        """
53091        tests interpolation for rank 1 Symbol onto the FunctionOnContactZero        tests interpolate for rank 1 Symbol onto the FunctionOnContactZero
53092    
53093        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
53094        """        """
# Line 53031  class Test_Util_SpatialFunctions(unittes Line 53118  class Test_Util_SpatialFunctions(unittes
53118        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
53119        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53120     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53121     def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank2(self):
53122        """        """
53123        tests interpolation for rank 2 Symbol onto the FunctionOnContactZero        tests interpolate for rank 2 Symbol onto the FunctionOnContactZero
53124    
53125        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
53126        """        """
# Line 53135  class Test_Util_SpatialFunctions(unittes Line 53222  class Test_Util_SpatialFunctions(unittes
53222        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
53223        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53224     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53225     def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank3(self):
53226        """        """
53227        tests interpolation for rank 3 Symbol onto the FunctionOnContactZero        tests interpolate for rank 3 Symbol onto the FunctionOnContactZero
53228    
53229        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
53230        """        """
# Line 53255  class Test_Util_SpatialFunctions(unittes Line 53342  class Test_Util_SpatialFunctions(unittes
53342        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
53343        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53344     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53345     def test_interpolation_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_ReducedSolution_rank4(self):
53346        """        """
53347        tests interpolation for rank 4 Symbol onto the FunctionOnContactZero        tests interpolate for rank 4 Symbol onto the FunctionOnContactZero
53348    
53349        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactZero
53350        """        """
# Line 53759  class Test_Util_SpatialFunctions(unittes Line 53846  class Test_Util_SpatialFunctions(unittes
53846        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
53847        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53848     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53849     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank0(self):
53850        """        """
53851        tests interpolation for rank 0 Symbol onto the FunctionOnContactZero        tests interpolate for rank 0 Symbol onto the FunctionOnContactZero
53852    
53853        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
53854        """        """
# Line 53787  class Test_Util_SpatialFunctions(unittes Line 53874  class Test_Util_SpatialFunctions(unittes
53874        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
53875        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53876     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53877     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank1(self):
53878        """        """
53879        tests interpolation for rank 1 Symbol onto the FunctionOnContactZero        tests interpolate for rank 1 Symbol onto the FunctionOnContactZero
53880    
53881        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
53882        """        """
# Line 53819  class Test_Util_SpatialFunctions(unittes Line 53906  class Test_Util_SpatialFunctions(unittes
53906        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
53907        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
53908     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
53909     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank2(self):
53910        """        """
53911        tests interpolation for rank 2 Symbol onto the FunctionOnContactZero        tests interpolate for rank 2 Symbol onto the FunctionOnContactZero
53912    
53913        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
53914        """        """
# Line 53923  class Test_Util_SpatialFunctions(unittes Line 54010  class Test_Util_SpatialFunctions(unittes
54010        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
54011        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
54012     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54013     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank3(self):
54014        """        """
54015        tests interpolation for rank 3 Symbol onto the FunctionOnContactZero        tests interpolate for rank 3 Symbol onto the FunctionOnContactZero
54016    
54017        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
54018        """        """
# Line 54043  class Test_Util_SpatialFunctions(unittes Line 54130  class Test_Util_SpatialFunctions(unittes
54130        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
54131        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
54132     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54133     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactZero_rank4(self):
54134        """        """
54135        tests interpolation for rank 4 Symbol onto the FunctionOnContactZero        tests interpolate for rank 4 Symbol onto the FunctionOnContactZero
54136    
54137        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactZero
54138        """        """
# Line 54547  class Test_Util_SpatialFunctions(unittes Line 54634  class Test_Util_SpatialFunctions(unittes
54634        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
54635        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
54636     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54637     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank0(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank0(self):
54638        """        """
54639        tests interpolation for rank 0 Symbol onto the FunctionOnContactZero        tests interpolate for rank 0 Symbol onto the FunctionOnContactZero
54640    
54641        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
54642        """        """
# Line 54575  class Test_Util_SpatialFunctions(unittes Line 54662  class Test_Util_SpatialFunctions(unittes
54662        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
54663        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
54664     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54665     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank1(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank1(self):
54666        """        """
54667        tests interpolation for rank 1 Symbol onto the FunctionOnContactZero        tests interpolate for rank 1 Symbol onto the FunctionOnContactZero
54668    
54669        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
54670        """        """
# Line 54607  class Test_Util_SpatialFunctions(unittes Line 54694  class Test_Util_SpatialFunctions(unittes
54694        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
54695        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
54696     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54697     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank2(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank2(self):
54698        """        """
54699        tests interpolation for rank 2 Symbol onto the FunctionOnContactZero        tests interpolate for rank 2 Symbol onto the FunctionOnContactZero
54700    
54701        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
54702        """        """
# Line 54711  class Test_Util_SpatialFunctions(unittes Line 54798  class Test_Util_SpatialFunctions(unittes
54798        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
54799        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
54800     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54801     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank3(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank3(self):
54802        """        """
54803        tests interpolation for rank 3 Symbol onto the FunctionOnContactZero        tests interpolate for rank 3 Symbol onto the FunctionOnContactZero
54804    
54805        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
54806        """        """
# Line 54831  class Test_Util_SpatialFunctions(unittes Line 54918  class Test_Util_SpatialFunctions(unittes
54918        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
54919        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
54920     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
54921     def test_interpolation_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank4(self):     def test_interpolate_onFunctionOnContactZero_fromSymbol_FunctionOnContactOne_rank4(self):
54922        """        """
54923        tests interpolation for rank 4 Symbol onto the FunctionOnContactZero        tests interpolate for rank 4 Symbol onto the FunctionOnContactZero
54924    
54925        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactZero
54926        """        """
# Line 55335  class Test_Util_SpatialFunctions(unittes Line 55422  class Test_Util_SpatialFunctions(unittes
55422        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
55423        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
55424     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
55425     def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank0(self):
55426        """        """
55427        tests interpolation for rank 0 Data onto the FunctionOnContactOne        tests interpolate for rank 0 Data onto the FunctionOnContactOne
55428    
55429        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
55430        """        """
# Line 55361  class Test_Util_SpatialFunctions(unittes Line 55448  class Test_Util_SpatialFunctions(unittes
55448        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
55449        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
55450     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
55451     def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank1(self):
55452        """        """
55453        tests interpolation for rank 1 Data onto the FunctionOnContactOne        tests interpolate for rank 1 Data onto the FunctionOnContactOne
55454    
55455        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
55456        """        """
# Line 55391  class Test_Util_SpatialFunctions(unittes Line 55478  class Test_Util_SpatialFunctions(unittes
55478        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
55479        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
55480     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
55481     def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank2(self):
55482        """        """
55483        tests interpolation for rank 2 Data onto the FunctionOnContactOne        tests interpolate for rank 2 Data onto the FunctionOnContactOne
55484    
55485        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
55486        """        """
# Line 55493  class Test_Util_SpatialFunctions(unittes Line 55580  class Test_Util_SpatialFunctions(unittes
55580        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
55581        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
55582     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
55583     def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank3(self):
55584        """        """
55585        tests interpolation for rank 3 Data onto the FunctionOnContactOne        tests interpolate for rank 3 Data onto the FunctionOnContactOne
55586    
55587        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
55588        """        """
# Line 55611  class Test_Util_SpatialFunctions(unittes Line 55698  class Test_Util_SpatialFunctions(unittes
55698        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
55699        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
55700     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
55701     def test_interpolation_onFunctionOnContactOne_fromData_ContinuousFunction_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromData_ContinuousFunction_rank4(self):
55702        """        """
55703        tests interpolation for rank 4 Data onto the FunctionOnContactOne        tests interpolate for rank 4 Data onto the FunctionOnContactOne
55704    
55705        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
55706        """        """
# Line 56113  class Test_Util_SpatialFunctions(unittes Line 56200  class Test_Util_SpatialFunctions(unittes
56200        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
56201        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
56202     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56203     def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank0(self):
56204        """        """
56205        tests interpolation for rank 0 Data onto the FunctionOnContactOne        tests interpolate for rank 0 Data onto the FunctionOnContactOne
56206    
56207        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
56208        """        """
# Line 56139  class Test_Util_SpatialFunctions(unittes Line 56226  class Test_Util_SpatialFunctions(unittes
56226        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
56227        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
56228     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56229     def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank1(self):
56230        """        """
56231        tests interpolation for rank 1 Data onto the FunctionOnContactOne        tests interpolate for rank 1 Data onto the FunctionOnContactOne
56232    
56233        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
56234        """        """
# Line 56169  class Test_Util_SpatialFunctions(unittes Line 56256  class Test_Util_SpatialFunctions(unittes
56256        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
56257        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
56258     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56259     def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank2(self):
56260        """        """
56261        tests interpolation for rank 2 Data onto the FunctionOnContactOne        tests interpolate for rank 2 Data onto the FunctionOnContactOne
56262    
56263        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
56264        """        """
# Line 56271  class Test_Util_SpatialFunctions(unittes Line 56358  class Test_Util_SpatialFunctions(unittes
56358        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
56359        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
56360     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56361     def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank3(self):
56362        """        """
56363        tests interpolation for rank 3 Data onto the FunctionOnContactOne        tests interpolate for rank 3 Data onto the FunctionOnContactOne
56364    
56365        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
56366        """        """
# Line 56389  class Test_Util_SpatialFunctions(unittes Line 56476  class Test_Util_SpatialFunctions(unittes
56476        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
56477        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
56478     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56479     def test_interpolation_onFunctionOnContactOne_fromData_Solution_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromData_Solution_rank4(self):
56480        """        """
56481        tests interpolation for rank 4 Data onto the FunctionOnContactOne        tests interpolate for rank 4 Data onto the FunctionOnContactOne
56482    
56483        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
56484        """        """
# Line 56891  class Test_Util_SpatialFunctions(unittes Line 56978  class Test_Util_SpatialFunctions(unittes
56978        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
56979        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
56980     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56981     def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank0(self):
56982        """        """
56983        tests interpolation for rank 0 Data onto the FunctionOnContactOne        tests interpolate for rank 0 Data onto the FunctionOnContactOne
56984    
56985        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
56986        """        """
# Line 56917  class Test_Util_SpatialFunctions(unittes Line 57004  class Test_Util_SpatialFunctions(unittes
57004        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
57005        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57006     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57007     def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank1(self):
57008        """        """
57009        tests interpolation for rank 1 Data onto the FunctionOnContactOne        tests interpolate for rank 1 Data onto the FunctionOnContactOne
57010    
57011        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
57012        """        """
# Line 56947  class Test_Util_SpatialFunctions(unittes Line 57034  class Test_Util_SpatialFunctions(unittes
57034        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
57035        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57036     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57037     def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank2(self):
57038        """        """
57039        tests interpolation for rank 2 Data onto the FunctionOnContactOne        tests interpolate for rank 2 Data onto the FunctionOnContactOne
57040    
57041        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
57042        """        """
# Line 57049  class Test_Util_SpatialFunctions(unittes Line 57136  class Test_Util_SpatialFunctions(unittes
57136        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
57137        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57138     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57139     def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank3(self):
57140        """        """
57141        tests interpolation for rank 3 Data onto the FunctionOnContactOne        tests interpolate for rank 3 Data onto the FunctionOnContactOne
57142    
57143        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
57144        """        """
# Line 57167  class Test_Util_SpatialFunctions(unittes Line 57254  class Test_Util_SpatialFunctions(unittes
57254        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
57255        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57256     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57257     def test_interpolation_onFunctionOnContactOne_fromData_ReducedSolution_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromData_ReducedSolution_rank4(self):
57258        """        """
57259        tests interpolation for rank 4 Data onto the FunctionOnContactOne        tests interpolate for rank 4 Data onto the FunctionOnContactOne
57260    
57261        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
57262        """        """
# Line 57669  class Test_Util_SpatialFunctions(unittes Line 57756  class Test_Util_SpatialFunctions(unittes
57756        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
57757        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57758     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57759     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank0(self):
57760        """        """
57761        tests interpolation for rank 0 Data onto the FunctionOnContactOne        tests interpolate for rank 0 Data onto the FunctionOnContactOne
57762    
57763        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
57764        """        """
# Line 57695  class Test_Util_SpatialFunctions(unittes Line 57782  class Test_Util_SpatialFunctions(unittes
57782        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
57783        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57784     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57785     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank1(self):
57786        """        """
57787        tests interpolation for rank 1 Data onto the FunctionOnContactOne        tests interpolate for rank 1 Data onto the FunctionOnContactOne
57788    
57789        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
57790        """        """
# Line 57725  class Test_Util_SpatialFunctions(unittes Line 57812  class Test_Util_SpatialFunctions(unittes
57812        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
57813        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57814     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57815     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank2(self):
57816        """        """
57817        tests interpolation for rank 2 Data onto the FunctionOnContactOne        tests interpolate for rank 2 Data onto the FunctionOnContactOne
57818    
57819        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
57820        """        """
# Line 57827  class Test_Util_SpatialFunctions(unittes Line 57914  class Test_Util_SpatialFunctions(unittes
57914        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
57915        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
57916     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
57917     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank3(self):
57918        """        """
57919        tests interpolation for rank 3 Data onto the FunctionOnContactOne        tests interpolate for rank 3 Data onto the FunctionOnContactOne
57920    
57921        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
57922        """        """
# Line 57945  class Test_Util_SpatialFunctions(unittes Line 58032  class Test_Util_SpatialFunctions(unittes
58032        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
58033        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
58034     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58035     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactZero_rank4(self):
58036        """        """
58037        tests interpolation for rank 4 Data onto the FunctionOnContactOne        tests interpolate for rank 4 Data onto the FunctionOnContactOne
58038    
58039        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
58040        """        """
# Line 58447  class Test_Util_SpatialFunctions(unittes Line 58534  class Test_Util_SpatialFunctions(unittes
58534        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
58535        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
58536     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58537     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank0(self):
58538        """        """
58539        tests interpolation for rank 0 Data onto the FunctionOnContactOne        tests interpolate for rank 0 Data onto the FunctionOnContactOne
58540    
58541        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
58542        """        """
# Line 58473  class Test_Util_SpatialFunctions(unittes Line 58560  class Test_Util_SpatialFunctions(unittes
58560        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
58561        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
58562     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58563     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank1(self):
58564        """        """
58565        tests interpolation for rank 1 Data onto the FunctionOnContactOne        tests interpolate for rank 1 Data onto the FunctionOnContactOne
58566    
58567        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
58568        """        """
# Line 58503  class Test_Util_SpatialFunctions(unittes Line 58590  class Test_Util_SpatialFunctions(unittes
58590        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
58591        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
58592     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58593     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank2(self):
58594        """        """
58595        tests interpolation for rank 2 Data onto the FunctionOnContactOne        tests interpolate for rank 2 Data onto the FunctionOnContactOne
58596    
58597        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
58598        """        """
# Line 58605  class Test_Util_SpatialFunctions(unittes Line 58692  class Test_Util_SpatialFunctions(unittes
58692        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
58693        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
58694     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58695     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank3(self):
58696        """        """
58697        tests interpolation for rank 3 Data onto the FunctionOnContactOne        tests interpolate for rank 3 Data onto the FunctionOnContactOne
58698    
58699        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
58700        """        """
# Line 58723  class Test_Util_SpatialFunctions(unittes Line 58810  class Test_Util_SpatialFunctions(unittes
58810        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
58811        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
58812     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
58813     def test_interpolation_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromData_FunctionOnContactOne_rank4(self):
58814        """        """
58815        tests interpolation for rank 4 Data onto the FunctionOnContactOne        tests interpolate for rank 4 Data onto the FunctionOnContactOne
58816    
58817        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
58818        """        """
# Line 59225  class Test_Util_SpatialFunctions(unittes Line 59312  class Test_Util_SpatialFunctions(unittes
59312        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
59313        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
59314     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
59315     def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank0(self):
59316        """        """
59317        tests interpolation for rank 0 Symbol onto the FunctionOnContactOne        tests interpolate for rank 0 Symbol onto the FunctionOnContactOne
59318    
59319        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
59320        """        """
# Line 59253  class Test_Util_SpatialFunctions(unittes Line 59340  class Test_Util_SpatialFunctions(unittes
59340        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
59341        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
59342     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
59343     def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank1(self):
59344        """        """
59345        tests interpolation for rank 1 Symbol onto the FunctionOnContactOne        tests interpolate for rank 1 Symbol onto the FunctionOnContactOne
59346    
59347        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
59348        """        """
# Line 59285  class Test_Util_SpatialFunctions(unittes Line 59372  class Test_Util_SpatialFunctions(unittes
59372        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
59373        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
59374     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
59375     def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank2(self):
59376        """        """
59377        tests interpolation for rank 2 Symbol onto the FunctionOnContactOne        tests interpolate for rank 2 Symbol onto the FunctionOnContactOne
59378    
59379        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
59380        """        """
# Line 59389  class Test_Util_SpatialFunctions(unittes Line 59476  class Test_Util_SpatialFunctions(unittes
59476        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
59477        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
59478     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
59479     def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank3(self):
59480        """        """
59481        tests interpolation for rank 3 Symbol onto the FunctionOnContactOne        tests interpolate for rank 3 Symbol onto the FunctionOnContactOne
59482    
59483        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
59484        """        """
# Line 59509  class Test_Util_SpatialFunctions(unittes Line 59596  class Test_Util_SpatialFunctions(unittes
59596        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
59597        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
59598     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
59599     def test_interpolation_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ContinuousFunction_rank4(self):
59600        """        """
59601        tests interpolation for rank 4 Symbol onto the FunctionOnContactOne        tests interpolate for rank 4 Symbol onto the FunctionOnContactOne
59602    
59603        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ContinuousFunction onto FunctionOnContactOne
59604        """        """
# Line 60013  class Test_Util_SpatialFunctions(unittes Line 60100  class Test_Util_SpatialFunctions(unittes
60100        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
60101        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60102     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60103     def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank0(self):
60104        """        """
60105        tests interpolation for rank 0 Symbol onto the FunctionOnContactOne        tests interpolate for rank 0 Symbol onto the FunctionOnContactOne
60106    
60107        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
60108        """        """
# Line 60041  class Test_Util_SpatialFunctions(unittes Line 60128  class Test_Util_SpatialFunctions(unittes
60128        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
60129        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60130     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60131     def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank1(self):
60132        """        """
60133        tests interpolation for rank 1 Symbol onto the FunctionOnContactOne        tests interpolate for rank 1 Symbol onto the FunctionOnContactOne
60134    
60135        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
60136        """        """
# Line 60073  class Test_Util_SpatialFunctions(unittes Line 60160  class Test_Util_SpatialFunctions(unittes
60160        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
60161        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60162     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60163     def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank2(self):
60164        """        """
60165        tests interpolation for rank 2 Symbol onto the FunctionOnContactOne        tests interpolate for rank 2 Symbol onto the FunctionOnContactOne
60166    
60167        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
60168        """        """
# Line 60177  class Test_Util_SpatialFunctions(unittes Line 60264  class Test_Util_SpatialFunctions(unittes
60264        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
60265        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60266     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60267     def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank3(self):
60268        """        """
60269        tests interpolation for rank 3 Symbol onto the FunctionOnContactOne        tests interpolate for rank 3 Symbol onto the FunctionOnContactOne
60270    
60271        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
60272        """        """
# Line 60297  class Test_Util_SpatialFunctions(unittes Line 60384  class Test_Util_SpatialFunctions(unittes
60384        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
60385        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60386     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60387     def test_interpolation_onFunctionOnContactOne_fromSymbol_Solution_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_Solution_rank4(self):
60388        """        """
60389        tests interpolation for rank 4 Symbol onto the FunctionOnContactOne        tests interpolate for rank 4 Symbol onto the FunctionOnContactOne
60390    
60391        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from Solution onto FunctionOnContactOne
60392        """        """
# Line 60801  class Test_Util_SpatialFunctions(unittes Line 60888  class Test_Util_SpatialFunctions(unittes
60888        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
60889        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60890     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60891     def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank0(self):
60892        """        """
60893        tests interpolation for rank 0 Symbol onto the FunctionOnContactOne        tests interpolate for rank 0 Symbol onto the FunctionOnContactOne
60894    
60895        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
60896        """        """
# Line 60829  class Test_Util_SpatialFunctions(unittes Line 60916  class Test_Util_SpatialFunctions(unittes
60916        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
60917        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60918     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60919     def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank1(self):
60920        """        """
60921        tests interpolation for rank 1 Symbol onto the FunctionOnContactOne        tests interpolate for rank 1 Symbol onto the FunctionOnContactOne
60922    
60923        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
60924        """        """
# Line 60861  class Test_Util_SpatialFunctions(unittes Line 60948  class Test_Util_SpatialFunctions(unittes
60948        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
60949        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
60950     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60951     def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank2(self):
60952        """        """
60953        tests interpolation for rank 2 Symbol onto the FunctionOnContactOne        tests interpolate for rank 2 Symbol onto the FunctionOnContactOne
60954    
60955        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
60956        """        """
# Line 60965  class Test_Util_SpatialFunctions(unittes Line 61052  class Test_Util_SpatialFunctions(unittes
61052        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
61053        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
61054     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61055     def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank3(self):
61056        """        """
61057        tests interpolation for rank 3 Symbol onto the FunctionOnContactOne        tests interpolate for rank 3 Symbol onto the FunctionOnContactOne
61058    
61059        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
61060        """        """
# Line 61085  class Test_Util_SpatialFunctions(unittes Line 61172  class Test_Util_SpatialFunctions(unittes
61172        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
61173        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
61174     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61175     def test_interpolation_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_ReducedSolution_rank4(self):
61176        """        """
61177        tests interpolation for rank 4 Symbol onto the FunctionOnContactOne        tests interpolate for rank 4 Symbol onto the FunctionOnContactOne
61178    
61179        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from ReducedSolution onto FunctionOnContactOne
61180        """        """
# Line 61589  class Test_Util_SpatialFunctions(unittes Line 61676  class Test_Util_SpatialFunctions(unittes
61676        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
61677        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
61678     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61679     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank0(self):
61680        """        """
61681        tests interpolation for rank 0 Symbol onto the FunctionOnContactOne        tests interpolate for rank 0 Symbol onto the FunctionOnContactOne
61682    
61683        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
61684        """        """
# Line 61617  class Test_Util_SpatialFunctions(unittes Line 61704  class Test_Util_SpatialFunctions(unittes
61704        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
61705        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
61706     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61707     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank1(self):
61708        """        """
61709        tests interpolation for rank 1 Symbol onto the FunctionOnContactOne        tests interpolate for rank 1 Symbol onto the FunctionOnContactOne
61710    
61711        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
61712        """        """
# Line 61649  class Test_Util_SpatialFunctions(unittes Line 61736  class Test_Util_SpatialFunctions(unittes
61736        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
61737        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
61738     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61739     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank2(self):
61740        """        """
61741        tests interpolation for rank 2 Symbol onto the FunctionOnContactOne        tests interpolate for rank 2 Symbol onto the FunctionOnContactOne
61742    
61743        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
61744        """        """
# Line 61753  class Test_Util_SpatialFunctions(unittes Line 61840  class Test_Util_SpatialFunctions(unittes
61840        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
61841        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
61842     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61843     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank3(self):
61844        """        """
61845        tests interpolation for rank 3 Symbol onto the FunctionOnContactOne        tests interpolate for rank 3 Symbol onto the FunctionOnContactOne
61846    
61847        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
61848        """        """
# Line 61873  class Test_Util_SpatialFunctions(unittes Line 61960  class Test_Util_SpatialFunctions(unittes
61960        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
61961        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
61962     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
61963     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactZero_rank4(self):
61964        """        """
61965        tests interpolation for rank 4 Symbol onto the FunctionOnContactOne        tests interpolate for rank 4 Symbol onto the FunctionOnContactOne
61966    
61967        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactZero onto FunctionOnContactOne
61968        """        """
# Line 62377  class Test_Util_SpatialFunctions(unittes Line 62464  class Test_Util_SpatialFunctions(unittes
62464        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
62465        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
62466     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62467     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank0(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank0(self):
62468        """        """
62469        tests interpolation for rank 0 Symbol onto the FunctionOnContactOne        tests interpolate for rank 0 Symbol onto the FunctionOnContactOne
62470    
62471        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
62472        """        """
# Line 62405  class Test_Util_SpatialFunctions(unittes Line 62492  class Test_Util_SpatialFunctions(unittes
62492        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
62493        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
62494     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62495     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank1(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank1(self):
62496        """        """
62497        tests interpolation for rank 1 Symbol onto the FunctionOnContactOne        tests interpolate for rank 1 Symbol onto the FunctionOnContactOne
62498    
62499        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
62500        """        """
# Line 62437  class Test_Util_SpatialFunctions(unittes Line 62524  class Test_Util_SpatialFunctions(unittes
62524        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
62525        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
62526     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62527     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank2(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank2(self):
62528        """        """
62529        tests interpolation for rank 2 Symbol onto the FunctionOnContactOne        tests interpolate for rank 2 Symbol onto the FunctionOnContactOne
62530    
62531        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
62532        """        """
# Line 62541  class Test_Util_SpatialFunctions(unittes Line 62628  class Test_Util_SpatialFunctions(unittes
62628        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
62629        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
62630     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62631     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank3(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank3(self):
62632        """        """
62633        tests interpolation for rank 3 Symbol onto the FunctionOnContactOne        tests interpolate for rank 3 Symbol onto the FunctionOnContactOne
62634    
62635        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
62636        """        """
# Line 62661  class Test_Util_SpatialFunctions(unittes Line 62748  class Test_Util_SpatialFunctions(unittes
62748        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
62749        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
62750     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62751     def test_interpolation_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank4(self):     def test_interpolate_onFunctionOnContactOne_fromSymbol_FunctionOnContactOne_rank4(self):
62752        """        """
62753        tests interpolation for rank 4 Symbol onto the FunctionOnContactOne        tests interpolate for rank 4 Symbol onto the FunctionOnContactOne
62754    
62755        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne        assumptions: self.domain supports inpterpolation from FunctionOnContactOne onto FunctionOnContactOne
62756        """        """
# Line 63165  class Test_Util_SpatialFunctions(unittes Line 63252  class Test_Util_SpatialFunctions(unittes
63252        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
63253        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
63254     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63255     def test_interpolation_onSolution_fromData_ContinuousFunction_rank0(self):     def test_interpolate_onSolution_fromData_ContinuousFunction_rank0(self):
63256        """        """
63257        tests interpolation for rank 0 Data onto the Solution        tests interpolate for rank 0 Data onto the Solution
63258    
63259        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
63260        """        """
# Line 63191  class Test_Util_SpatialFunctions(unittes Line 63278  class Test_Util_SpatialFunctions(unittes
63278        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
63279        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
63280     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63281     def test_interpolation_onSolution_fromData_ContinuousFunction_rank1(self):     def test_interpolate_onSolution_fromData_ContinuousFunction_rank1(self):
63282        """        """
63283        tests interpolation for rank 1 Data onto the Solution        tests interpolate for rank 1 Data onto the Solution
63284    
63285        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
63286        """        """
# Line 63221  class Test_Util_SpatialFunctions(unittes Line 63308  class Test_Util_SpatialFunctions(unittes
63308        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
63309        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
63310     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63311     def test_interpolation_onSolution_fromData_ContinuousFunction_rank2(self):     def test_interpolate_onSolution_fromData_ContinuousFunction_rank2(self):
63312        """        """
63313        tests interpolation for rank 2 Data onto the Solution        tests interpolate for rank 2 Data onto the Solution
63314    
63315        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
63316        """        """
# Line 63323  class Test_Util_SpatialFunctions(unittes Line 63410  class Test_Util_SpatialFunctions(unittes
63410        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
63411        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
63412     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63413     def test_interpolation_onSolution_fromData_ContinuousFunction_rank3(self):     def test_interpolate_onSolution_fromData_ContinuousFunction_rank3(self):
63414        """        """
63415        tests interpolation for rank 3 Data onto the Solution        tests interpolate for rank 3 Data onto the Solution
63416    
63417        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
63418        """        """
# Line 63441  class Test_Util_SpatialFunctions(unittes Line 63528  class Test_Util_SpatialFunctions(unittes
63528        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
63529        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
63530     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63531     def test_interpolation_onSolution_fromData_ContinuousFunction_rank4(self):     def test_interpolate_onSolution_fromData_ContinuousFunction_rank4(self):
63532        """        """
63533        tests interpolation for rank 4 Data onto the Solution        tests interpolate for rank 4 Data onto the Solution
63534    
63535        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
63536        """        """
# Line 63943  class Test_Util_SpatialFunctions(unittes Line 64030  class Test_Util_SpatialFunctions(unittes
64030        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
64031        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64032     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64033     def test_interpolation_onSolution_fromData_Solution_rank0(self):     def test_interpolate_onSolution_fromData_Solution_rank0(self):
64034        """        """
64035        tests interpolation for rank 0 Data onto the Solution        tests interpolate for rank 0 Data onto the Solution
64036    
64037        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
64038        """        """
# Line 63969  class Test_Util_SpatialFunctions(unittes Line 64056  class Test_Util_SpatialFunctions(unittes
64056        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
64057        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64058     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64059     def test_interpolation_onSolution_fromData_Solution_rank1(self):     def test_interpolate_onSolution_fromData_Solution_rank1(self):
64060        """        """
64061        tests interpolation for rank 1 Data onto the Solution        tests interpolate for rank 1 Data onto the Solution
64062    
64063        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
64064        """        """
# Line 63999  class Test_Util_SpatialFunctions(unittes Line 64086  class Test_Util_SpatialFunctions(unittes
64086        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
64087        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64088     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64089     def test_interpolation_onSolution_fromData_Solution_rank2(self):     def test_interpolate_onSolution_fromData_Solution_rank2(self):
64090        """        """
64091        tests interpolation for rank 2 Data onto the Solution        tests interpolate for rank 2 Data onto the Solution
64092    
64093        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
64094        """        """
# Line 64101  class Test_Util_SpatialFunctions(unittes Line 64188  class Test_Util_SpatialFunctions(unittes
64188        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
64189        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64190     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64191     def test_interpolation_onSolution_fromData_Solution_rank3(self):     def test_interpolate_onSolution_fromData_Solution_rank3(self):
64192        """        """
64193        tests interpolation for rank 3 Data onto the Solution        tests interpolate for rank 3 Data onto the Solution
64194    
64195        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
64196        """        """
# Line 64219  class Test_Util_SpatialFunctions(unittes Line 64306  class Test_Util_SpatialFunctions(unittes
64306        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
64307        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64308     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64309     def test_interpolation_onSolution_fromData_Solution_rank4(self):     def test_interpolate_onSolution_fromData_Solution_rank4(self):
64310        """        """
64311        tests interpolation for rank 4 Data onto the Solution        tests interpolate for rank 4 Data onto the Solution
64312    
64313        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
64314        """        """
# Line 64721  class Test_Util_SpatialFunctions(unittes Line 64808  class Test_Util_SpatialFunctions(unittes
64808        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
64809        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64810     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64811     def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank0(self):     def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank0(self):
64812        """        """
64813        tests interpolation for rank 0 Symbol onto the Solution        tests interpolate for rank 0 Symbol onto the Solution
64814    
64815        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
64816        """        """
# Line 64749  class Test_Util_SpatialFunctions(unittes Line 64836  class Test_Util_SpatialFunctions(unittes
64836        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
64837        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64838     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64839     def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank1(self):     def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank1(self):
64840        """        """
64841        tests interpolation for rank 1 Symbol onto the Solution        tests interpolate for rank 1 Symbol onto the Solution
64842    
64843        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
64844        """        """
# Line 64781  class Test_Util_SpatialFunctions(unittes Line 64868  class Test_Util_SpatialFunctions(unittes
64868        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
64869        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64870     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64871     def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank2(self):     def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank2(self):
64872        """        """
64873        tests interpolation for rank 2 Symbol onto the Solution        tests interpolate for rank 2 Symbol onto the Solution
64874    
64875        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
64876        """        """
# Line 64885  class Test_Util_SpatialFunctions(unittes Line 64972  class Test_Util_SpatialFunctions(unittes
64972        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
64973        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
64974     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
64975     def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank3(self):     def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank3(self):
64976        """        """
64977        tests interpolation for rank 3 Symbol onto the Solution        tests interpolate for rank 3 Symbol onto the Solution
64978    
64979        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
64980        """        """
# Line 65005  class Test_Util_SpatialFunctions(unittes Line 65092  class Test_Util_SpatialFunctions(unittes
65092        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
65093        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
65094     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
65095     def test_interpolation_onSolution_fromSymbol_ContinuousFunction_rank4(self):     def test_interpolate_onSolution_fromSymbol_ContinuousFunction_rank4(self):
65096        """        """
65097        tests interpolation for rank 4 Symbol onto the Solution        tests interpolate for rank 4 Symbol onto the Solution
65098    
65099        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto Solution
65100        """        """
# Line 65509  class Test_Util_SpatialFunctions(unittes Line 65596  class Test_Util_SpatialFunctions(unittes
65596        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
65597        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
65598     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
65599     def test_interpolation_onSolution_fromSymbol_Solution_rank0(self):     def test_interpolate_onSolution_fromSymbol_Solution_rank0(self):
65600        """        """
65601        tests interpolation for rank 0 Symbol onto the Solution        tests interpolate for rank 0 Symbol onto the Solution
65602    
65603        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
65604        """        """
# Line 65537  class Test_Util_SpatialFunctions(unittes Line 65624  class Test_Util_SpatialFunctions(unittes
65624        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
65625        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
65626     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
65627     def test_interpolation_onSolution_fromSymbol_Solution_rank1(self):     def test_interpolate_onSolution_fromSymbol_Solution_rank1(self):
65628        """        """
65629        tests interpolation for rank 1 Symbol onto the Solution        tests interpolate for rank 1 Symbol onto the Solution
65630    
65631        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
65632        """        """
# Line 65569  class Test_Util_SpatialFunctions(unittes Line 65656  class Test_Util_SpatialFunctions(unittes
65656        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
65657        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
65658     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
65659     def test_interpolation_onSolution_fromSymbol_Solution_rank2(self):     def test_interpolate_onSolution_fromSymbol_Solution_rank2(self):
65660        """        """
65661        tests interpolation for rank 2 Symbol onto the Solution        tests interpolate for rank 2 Symbol onto the Solution
65662    
65663        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
65664        """        """
# Line 65673  class Test_Util_SpatialFunctions(unittes Line 65760  class Test_Util_SpatialFunctions(unittes
65760        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
65761        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
65762     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
65763     def test_interpolation_onSolution_fromSymbol_Solution_rank3(self):     def test_interpolate_onSolution_fromSymbol_Solution_rank3(self):
65764        """        """
65765        tests interpolation for rank 3 Symbol onto the Solution        tests interpolate for rank 3 Symbol onto the Solution
65766    
65767        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
65768        """        """
# Line 65793  class Test_Util_SpatialFunctions(unittes Line 65880  class Test_Util_SpatialFunctions(unittes
65880        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
65881        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
65882     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
65883     def test_interpolation_onSolution_fromSymbol_Solution_rank4(self):     def test_interpolate_onSolution_fromSymbol_Solution_rank4(self):
65884        """        """
65885        tests interpolation for rank 4 Symbol onto the Solution        tests interpolate for rank 4 Symbol onto the Solution
65886    
65887        assumptions: self.domain supports inpterpolation from Solution onto Solution        assumptions: self.domain supports inpterpolation from Solution onto Solution
65888        """        """
# Line 66297  class Test_Util_SpatialFunctions(unittes Line 66384  class Test_Util_SpatialFunctions(unittes
66384        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
66385        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
66386     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66387     def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank0(self):     def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank0(self):
66388        """        """
66389        tests interpolation for rank 0 Data onto the ReducedSolution        tests interpolate for rank 0 Data onto the ReducedSolution
66390    
66391        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
66392        """        """
# Line 66323  class Test_Util_SpatialFunctions(unittes Line 66410  class Test_Util_SpatialFunctions(unittes
66410        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
66411        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
66412     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66413     def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank1(self):     def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank1(self):
66414        """        """
66415        tests interpolation for rank 1 Data onto the ReducedSolution        tests interpolate for rank 1 Data onto the ReducedSolution
66416    
66417        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
66418        """        """
# Line 66353  class Test_Util_SpatialFunctions(unittes Line 66440  class Test_Util_SpatialFunctions(unittes
66440        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
66441        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
66442     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66443     def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank2(self):     def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank2(self):
66444        """        """
66445        tests interpolation for rank 2 Data onto the ReducedSolution        tests interpolate for rank 2 Data onto the ReducedSolution
66446    
66447        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
66448        """        """
# Line 66455  class Test_Util_SpatialFunctions(unittes Line 66542  class Test_Util_SpatialFunctions(unittes
66542        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
66543        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
66544     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66545     def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank3(self):     def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank3(self):
66546        """        """
66547        tests interpolation for rank 3 Data onto the ReducedSolution        tests interpolate for rank 3 Data onto the ReducedSolution
66548    
66549        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
66550        """        """
# Line 66573  class Test_Util_SpatialFunctions(unittes Line 66660  class Test_Util_SpatialFunctions(unittes
66660        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
66661        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
66662     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66663     def test_interpolation_onReducedSolution_fromData_ContinuousFunction_rank4(self):     def test_interpolate_onReducedSolution_fromData_ContinuousFunction_rank4(self):
66664        """        """
66665        tests interpolation for rank 4 Data onto the ReducedSolution        tests interpolate for rank 4 Data onto the ReducedSolution
66666    
66667        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
66668        """        """
# Line 67075  class Test_Util_SpatialFunctions(unittes Line 67162  class Test_Util_SpatialFunctions(unittes
67162        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
67163        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67164     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67165     def test_interpolation_onReducedSolution_fromData_Solution_rank0(self):     def test_interpolate_onReducedSolution_fromData_Solution_rank0(self):
67166        """        """
67167        tests interpolation for rank 0 Data onto the ReducedSolution        tests interpolate for rank 0 Data onto the ReducedSolution
67168    
67169        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
67170        """        """
# Line 67101  class Test_Util_SpatialFunctions(unittes Line 67188  class Test_Util_SpatialFunctions(unittes
67188        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
67189        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67190     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67191     def test_interpolation_onReducedSolution_fromData_Solution_rank1(self):     def test_interpolate_onReducedSolution_fromData_Solution_rank1(self):
67192        """        """
67193        tests interpolation for rank 1 Data onto the ReducedSolution        tests interpolate for rank 1 Data onto the ReducedSolution
67194    
67195        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
67196        """        """
# Line 67131  class Test_Util_SpatialFunctions(unittes Line 67218  class Test_Util_SpatialFunctions(unittes
67218        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
67219        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67220     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67221     def test_interpolation_onReducedSolution_fromData_Solution_rank2(self):     def test_interpolate_onReducedSolution_fromData_Solution_rank2(self):
67222        """        """
67223        tests interpolation for rank 2 Data onto the ReducedSolution        tests interpolate for rank 2 Data onto the ReducedSolution
67224    
67225        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
67226        """        """
# Line 67233  class Test_Util_SpatialFunctions(unittes Line 67320  class Test_Util_SpatialFunctions(unittes
67320        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
67321        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67322     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67323     def test_interpolation_onReducedSolution_fromData_Solution_rank3(self):     def test_interpolate_onReducedSolution_fromData_Solution_rank3(self):
67324        """        """
67325        tests interpolation for rank 3 Data onto the ReducedSolution        tests interpolate for rank 3 Data onto the ReducedSolution
67326    
67327        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
67328        """        """
# Line 67351  class Test_Util_SpatialFunctions(unittes Line 67438  class Test_Util_SpatialFunctions(unittes
67438        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
67439        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67440     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67441     def test_interpolation_onReducedSolution_fromData_Solution_rank4(self):     def test_interpolate_onReducedSolution_fromData_Solution_rank4(self):
67442        """        """
67443        tests interpolation for rank 4 Data onto the ReducedSolution        tests interpolate for rank 4 Data onto the ReducedSolution
67444    
67445        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
67446        """        """
# Line 67853  class Test_Util_SpatialFunctions(unittes Line 67940  class Test_Util_SpatialFunctions(unittes
67940        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
67941        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67942     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67943     def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank0(self):     def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank0(self):
67944        """        """
67945        tests interpolation for rank 0 Data onto the ReducedSolution        tests interpolate for rank 0 Data onto the ReducedSolution
67946    
67947        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
67948        """        """
# Line 67879  class Test_Util_SpatialFunctions(unittes Line 67966  class Test_Util_SpatialFunctions(unittes
67966        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
67967        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67968     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67969     def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank1(self):     def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank1(self):
67970        """        """
67971        tests interpolation for rank 1 Data onto the ReducedSolution        tests interpolate for rank 1 Data onto the ReducedSolution
67972    
67973        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
67974        """        """
# Line 67909  class Test_Util_SpatialFunctions(unittes Line 67996  class Test_Util_SpatialFunctions(unittes
67996        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
67997        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
67998     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
67999     def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank2(self):     def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank2(self):
68000        """        """
68001        tests interpolation for rank 2 Data onto the ReducedSolution        tests interpolate for rank 2 Data onto the ReducedSolution
68002    
68003        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
68004        """        """
# Line 68011  class Test_Util_SpatialFunctions(unittes Line 68098  class Test_Util_SpatialFunctions(unittes
68098        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
68099        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
68100     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68101     def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank3(self):     def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank3(self):
68102        """        """
68103        tests interpolation for rank 3 Data onto the ReducedSolution        tests interpolate for rank 3 Data onto the ReducedSolution
68104    
68105        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
68106        """        """
# Line 68129  class Test_Util_SpatialFunctions(unittes Line 68216  class Test_Util_SpatialFunctions(unittes
68216        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
68217        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
68218     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68219     def test_interpolation_onReducedSolution_fromData_ReducedSolution_rank4(self):     def test_interpolate_onReducedSolution_fromData_ReducedSolution_rank4(self):
68220        """        """
68221        tests interpolation for rank 4 Data onto the ReducedSolution        tests interpolate for rank 4 Data onto the ReducedSolution
68222    
68223        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
68224        """        """
# Line 68631  class Test_Util_SpatialFunctions(unittes Line 68718  class Test_Util_SpatialFunctions(unittes
68718        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
68719        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
68720     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68721     def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank0(self):     def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank0(self):
68722        """        """
68723        tests interpolation for rank 0 Symbol onto the ReducedSolution        tests interpolate for rank 0 Symbol onto the ReducedSolution
68724    
68725        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
68726        """        """
# Line 68659  class Test_Util_SpatialFunctions(unittes Line 68746  class Test_Util_SpatialFunctions(unittes
68746        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
68747        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
68748     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68749     def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank1(self):     def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank1(self):
68750        """        """
68751        tests interpolation for rank 1 Symbol onto the ReducedSolution        tests interpolate for rank 1 Symbol onto the ReducedSolution
68752    
68753        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
68754        """        """
# Line 68691  class Test_Util_SpatialFunctions(unittes Line 68778  class Test_Util_SpatialFunctions(unittes
68778        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
68779        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
68780     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68781     def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank2(self):     def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank2(self):
68782        """        """
68783        tests interpolation for rank 2 Symbol onto the ReducedSolution        tests interpolate for rank 2 Symbol onto the ReducedSolution
68784    
68785        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
68786        """        """
# Line 68795  class Test_Util_SpatialFunctions(unittes Line 68882  class Test_Util_SpatialFunctions(unittes
68882        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
68883        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
68884     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
68885     def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank3(self):     def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank3(self):
68886        """        """
68887        tests interpolation for rank 3 Symbol onto the ReducedSolution        tests interpolate for rank 3 Symbol onto the ReducedSolution
68888    
68889        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
68890        """        """
# Line 68915  class Test_Util_SpatialFunctions(unittes Line 69002  class Test_Util_SpatialFunctions(unittes
69002        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
69003        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
69004     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
69005     def test_interpolation_onReducedSolution_fromSymbol_ContinuousFunction_rank4(self):     def test_interpolate_onReducedSolution_fromSymbol_ContinuousFunction_rank4(self):
69006        """        """
69007        tests interpolation for rank 4 Symbol onto the ReducedSolution        tests interpolate for rank 4 Symbol onto the ReducedSolution
69008    
69009        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution        assumptions: self.domain supports inpterpolation from ContinuousFunction onto ReducedSolution
69010        """        """
# Line 69419  class Test_Util_SpatialFunctions(unittes Line 69506  class Test_Util_SpatialFunctions(unittes
69506        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
69507        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
69508     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
69509     def test_interpolation_onReducedSolution_fromSymbol_Solution_rank0(self):     def test_interpolate_onReducedSolution_fromSymbol_Solution_rank0(self):
69510        """        """
69511        tests interpolation for rank 0 Symbol onto the ReducedSolution        tests interpolate for rank 0 Symbol onto the ReducedSolution
69512    
69513        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
69514        """        """
# Line 69447  class Test_Util_SpatialFunctions(unittes Line 69534  class Test_Util_SpatialFunctions(unittes
69534        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
69535        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
69536     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
69537     def test_interpolation_onReducedSolution_fromSymbol_Solution_rank1(self):     def test_interpolate_onReducedSolution_fromSymbol_Solution_rank1(self):
69538        """        """
69539        tests interpolation for rank 1 Symbol onto the ReducedSolution        tests interpolate for rank 1 Symbol onto the ReducedSolution
69540    
69541        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
69542        """        """
# Line 69479  class Test_Util_SpatialFunctions(unittes Line 69566  class Test_Util_SpatialFunctions(unittes
69566        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
69567        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
69568     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
69569     def test_interpolation_onReducedSolution_fromSymbol_Solution_rank2(self):     def test_interpolate_onReducedSolution_fromSymbol_Solution_rank2(self):
69570        """        """
69571        tests interpolation for rank 2 Symbol onto the ReducedSolution        tests interpolate for rank 2 Symbol onto the ReducedSolution
69572    
69573        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
69574        """        """
# Line 69583  class Test_Util_SpatialFunctions(unittes Line 69670  class Test_Util_SpatialFunctions(unittes
69670        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
69671        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
69672     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
69673     def test_interpolation_onReducedSolution_fromSymbol_Solution_rank3(self):     def test_interpolate_onReducedSolution_fromSymbol_Solution_rank3(self):
69674        """        """
69675        tests interpolation for rank 3 Symbol onto the ReducedSolution        tests interpolate for rank 3 Symbol onto the ReducedSolution
69676    
69677        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
69678        """        """
# Line 69703  class Test_Util_SpatialFunctions(unittes Line 69790  class Test_Util_SpatialFunctions(unittes
69790        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
69791        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
69792     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
69793     def test_interpolation_onReducedSolution_fromSymbol_Solution_rank4(self):     def test_interpolate_onReducedSolution_fromSymbol_Solution_rank4(self):
69794        """        """
69795        tests interpolation for rank 4 Symbol onto the ReducedSolution        tests interpolate for rank 4 Symbol onto the ReducedSolution
69796    
69797        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution        assumptions: self.domain supports inpterpolation from Solution onto ReducedSolution
69798        """        """
# Line 70207  class Test_Util_SpatialFunctions(unittes Line 70294  class Test_Util_SpatialFunctions(unittes
70294        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
70295        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
70296     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
70297     def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank0(self):     def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank0(self):
70298        """        """
70299        tests interpolation for rank 0 Symbol onto the ReducedSolution        tests interpolate for rank 0 Symbol onto the ReducedSolution
70300    
70301        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
70302        """        """
# Line 70235  class Test_Util_SpatialFunctions(unittes Line 70322  class Test_Util_SpatialFunctions(unittes
70322        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
70323        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
70324     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
70325     def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank1(self):     def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank1(self):
70326        """        """
70327        tests interpolation for rank 1 Symbol onto the ReducedSolution        tests interpolate for rank 1 Symbol onto the ReducedSolution
70328    
70329        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
70330        """        """
# Line 70267  class Test_Util_SpatialFunctions(unittes Line 70354  class Test_Util_SpatialFunctions(unittes
70354        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(2,),"wrong shape of result.")
70355        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
70356     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
70357     def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank2(self):     def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank2(self):
70358        """        """
70359        tests interpolation for rank 2 Symbol onto the ReducedSolution        tests interpolate for rank 2 Symbol onto the ReducedSolution
70360    
70361        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
70362        """        """
# Line 70371  class Test_Util_SpatialFunctions(unittes Line 70458  class Test_Util_SpatialFunctions(unittes
70458        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5),"wrong shape of result.")
70459        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
70460     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
70461     def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank3(self):     def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank3(self):
70462        """        """
70463        tests interpolation for rank 3 Symbol onto the ReducedSolution        tests interpolate for rank 3 Symbol onto the ReducedSolution
70464    
70465        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
70466        """        """
# Line 70491  class Test_Util_SpatialFunctions(unittes Line 70578  class Test_Util_SpatialFunctions(unittes
70578        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
70579        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
70580     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
70581     def test_interpolation_onReducedSolution_fromSymbol_ReducedSolution_rank4(self):     def test_interpolate_onReducedSolution_fromSymbol_ReducedSolution_rank4(self):
70582        """        """
70583        tests interpolation for rank 4 Symbol onto the ReducedSolution        tests interpolate for rank 4 Symbol onto the ReducedSolution
70584    
70585        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution        assumptions: self.domain supports inpterpolation from ReducedSolution onto ReducedSolution
70586        """        """
# Line 70994  class Test_Util_SpatialFunctions(unittes Line 71081  class Test_Util_SpatialFunctions(unittes
71081        self.failUnlessEqual(sub.getFunctionSpace(),w_ref,"wrong functionspace of result.")        self.failUnlessEqual(sub.getFunctionSpace(),w_ref,"wrong functionspace of result.")
71082        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")        self.failUnlessEqual(res.getShape(),(4, 5, 3, 2),"wrong shape of result.")
71083        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
71084       #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
71085       def test_div_onFunction_fromData_ContinuousFunction(self):
71086          """
71087          tests divergence of Data on the Function
71088    
71089          assumptions: ContinuousFunction(self.domain) exists
71090                       self.domain supports div on Function
71091          """
71092          o=self.order
71093          dim=self.domain.getDim()
71094          w_ref=Function(self.domain)
71095          x_ref=w_ref.getX()
71096          w=ContinuousFunction(self.domain)
71097          x=w.getX()
71098          arg=Vector(0,w)
71099          if dim==2:
71100            arg[0]=(-0.627139584179)*x[0]**o+(0.0871027334774)*x[0]+(-0.540784323698)*x[1]**o+(0.951143032871)*x[1]
71101            arg[1]=(-0.119239347115)*x[0]**o+(0.277154010744)*x[0]+(-0.0745557686973)*x[1]**o+(-0.15832879535)*x[1]
71102            ref=o*(-0.627139584179)*x_ref[0]**(o-1)+o*(-0.0745557686973)*x_ref[1]**(o-1)+(-0.0712260618722)
71103          else:
71104            arg[0]=(0.687070465546)*x[0]**o+(0.789237250884)*x[0]+(-0.00415360035876)*x[1]**o+(-0.809802614239)*x[1]+(0.418087966616)*x[2]**o+(0.730203229934)*x[2]
71105            arg[1]=(-0.0962217374268)*x[0]**o+(-0.180692492986)*x[0]+(-0.59921793179)*x[1]**o+(-0.799342788982)*x[1]+(0.421364766686)*x[2]**o+(-0.586211831795)*x[2]
71106            arg[2]=(0.774915504102)*x[0]**o+(-0.968436517935)*x[0]+(0.325821385033)*x[1]**o+(-0.159885723341)*x[1]+(0.411134413872)*x[2]**o+(0.083388357951)*x[2]
71107            ref=o*(0.687070465546)*x_ref[0]**(o-1)+o*(-0.59921793179)*x_ref[1]**(o-1)+o*(0.411134413872)*x_ref[2]**(o-1)+(0.0732828198535)
71108          res=div(arg,where=w_ref)
71109          self.failUnless(isinstance(res,Data),"wrong type of result.")
71110          self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
71111          self.failUnlessEqual(res.getFunctionSpace(),w_ref,"wrong function space of result.")
71112          self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
71113       #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
71114       def test_div_onFunction_fromData_Solution(self):
71115          """
71116          tests divergence of Data on the Function
71117    
71118          assumptions: Solution(self.domain) exists
71119                       self.domain supports div on Function
71120          """
71121          o=self.order
71122          dim=self.domain.getDim()
71123          w_ref=Function(self.domain)
71124          x_ref=w_ref.getX()
71125          w=Solution(self.domain)
71126          x=w.getX()
71127          arg=Vector(0,w)
71128          if dim==2:
71129            arg[0]=(-0.037254966228)*x[0]**o+(-0.175442318226)*x[0]+(-0.723089592066)*x[1]**o+(-0.487393332634)*x[1]
71130            arg[1]=(0.617589532887)*x[0]**o+(0.392126578405)*x[0]+(0.612110931251)*x[1]**o+(-0.932236829843)*x[1]
71131            ref=o*(-0.037254966228)*x_ref[0]**(o-1)+o*(0.612110931251)*x_ref[1]**(o-1)+(-1.10767914807)
71132          else:
71133            arg[0]=(-0.855344637098)*x[0]**o+(0.152992485241)*x[0]+(0.519809077415)*x[1]**o+(-0.0514985311411)*x[1]+(-0.473095642241)*x[2]**o+(-0.743711945025)*x[2]
71134            arg[1]=(0.629819444749)*x[0]**o+(-0.649277860811)*x[0]+(-0.382231371814)*x[1]**o+(-0.354475847319)*x[1]+(0.523961319618)*x[2]**o+(-0.0301027430993)*x[2]
71135            arg[2]=(0.489214433445)*x[0]**o+(-0.340824606014)*x[0]+(-0.78445257629)*x[1]**o+(-0.821498813523)*x[1]+(-0.147119976738)*x[2]**o+(0.464427291378)*x[2]
71136            ref=o*(-0.855344637098)*x_ref[0]**(o-1)+o*(-0.382231371814)*x_ref[1]**(o-1)+o*(-0.147119976738)*x_ref[2]**(o-1)+(0.2629439293)
71137          res=div(arg,where=w_ref)
71138          self.failUnless(isinstance(res,Data),"wrong type of result.")
71139          self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
71140          self.failUnlessEqual(res.getFunctionSpace(),w_ref,"wrong function space of result.")
71141          self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
71142       #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
71143       def test_div_onFunction_fromData_ReducedSolution(self):
71144          """
71145          tests divergence of Data on the Function
71146    
71147          assumptions: ReducedSolution(self.domain) exists
71148                       self.domain supports div on Function
71149          """
71150          o=1
71151          dim=self.domain.getDim()
71152          w_ref=Function(self.domain)
71153          x_ref=w_ref.getX()
71154          w=ReducedSolution(self.domain)
71155          x=w.getX()
71156          arg=Vector(0,w)
71157          if dim==2:
71158            arg[0]=(0.983549953155)*x[0]+(0.741104834322)*x[1]
71159            arg[1]=(0.548447952865)*x[0]+(-0.817326874507)*x[1]
71160            ref=(0.166223078648)
71161          else:
71162            arg[0]=(1.39002615085)*x[0]+(0.609245504565)*x[1]+(-1.06625041498)*x[2]
71163            arg[1]=(-1.13329921103)*x[0]+(0.160224729695)*x[1]+(0.408632198066)*x[2]
71164            arg[2]=(0.124694320475)*x[0]+(-1.53975404419)*x[1]+(1.00224340458)*x[2]
71165            ref=(2.55249428513)
71166          res=div(arg,where=w_ref)
71167          self.failUnless(isinstance(res,Data),"wrong type of result.")
71168          self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
71169          self.failUnlessEqual(res.getFunctionSpace(),w_ref,"wrong function space of result.")
71170          self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
71171       #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
71172       def test_div_onFunction_fromSymbol_ContinuousFunction(self):
71173          """
71174          tests divergence of Symbol on the Function
71175    
71176          assumptions: ContinuousFunction(self.domain) exists
71177                       self.domain supports div on Function
71178          """
71179          o=self.order
71180          dim=self.domain.getDim()
71181          w_ref=Function(self.domain)
71182          x_ref=w_ref.getX()
71183          w=ContinuousFunction(self.domain)
71184          x=w.getX()
71185          arg=Symbol(shape=(dim,),dim=dim)
71186          s=Vector(0,w)
71187          if dim==2:
71188            s[0]=(0.056440576841)*x[0]**o+(0.246232077047)*x[0]+(0.855071175271)*x[1]**o+(0.501469853761)*x[1]
71189            s[1]=(0.138795877959)*x[0]**o+(-0.272898431539)*x[0]+(0.446848353852)*x[1]**o+(0.590328561048)*x[1]
71190            ref=o*(0.056440576841)*x_ref[0]**(o-1)+o*(0.446848353852)*x_ref[1]**(o-1)+(0.836560638095)
71191          else:
71192            s[0]=(-0.50629608129)*x[0]**o+(-0.741872423345)*x[0]+(-0.386081173959)*x[1]**o+(0.318875107198)*x[1]+(-0.385714540576)*x[2]**o+(-0.628522049303)*x[2]
71193            s[1]=(-0.174000956733)*x[0]**o+(-0.883773784269)*x[0]+(-0.811120942906)*x[1]**o+(-0.16019437105)*x[1]+(-0.385051346205)*x[2]**o+(0.988540730072)*x[2]
71194            s[2]=(0.354661225031)*x[0]**o+(0.900659468106)*x[0]+(0.589271296273)*x[1]**o+(0.339143175651)*x[1]+(-0.50750318566)*x[2]**o+(0.934057146824)*x[2]
71195            ref=o*(-0.50629608129)*x_ref[0]**(o-1)+o*(-0.811120942906)*x_ref[1]**(o-1)+o*(-0.50750318566)*x_ref[2]**(o-1)+(0.0319903524287)
71196          res=div(arg,where=w_ref)
71197          sub=res.substitute({arg:s})
71198          self.failUnless(isinstance(res,Symbol),"wrong type of result.")
71199          self.failUnlessEqual(res.getShape(),(),"wrong shape of result.")
71200          self.failUnlessEqual(sub.getFunctionSpace(),w_ref,"wrong function space of result.")
71201          self.failUnless(Lsup(sub-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
71202       #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
71203       def test_div_onFunction_fromSymbol_Solution(self):
71204          """
71205          tests divergence of Symbol on the Function
71206    
71207          assumptions: Solution(self.domain) exists
71208                       self.domain supports div on Function
71209          """
71210          o=self.order
71211          dim=self.domain.getDim()
71212          w_ref=Function(self.domain)
71213          x_ref=w_ref.getX()
71214          w=Solution(self.domain)
71215          x=w.getX()
71216          arg=Symbol(shape=(dim,),dim=dim)
71217          s=Vector(0,w)
71218          if dim==2:
71219            s[0]=(-0.170850365394)*x[0]**o+(0.150036471084)*x[0]+(0.0923309607854)*x[1]**o+(-0.296802366309)*x[1]
71220            s[1]=(0.61420032995)*x[0]**o+(-0.430079619352)*x[0]+(0.0912728436628)*x[1]**o+(0.817677896693)*x[1]
71221            ref=o*(-0.170850365394)*x_ref[0]**(o-1)+o*(0.0912728436628)*x_ref[1]**(o-1)+(0.967714367777)
71222          else:
71223            s[0]=(-0.740025332388)*x[0]**o+(0.628542391186)*x[0]+(0.201133646437)*x[1]**o+(0.518904232415)*x[1]+(0.745948286476)*x[2]**o+(0.6146222318)*x[2]
71224            s[1]=(-0.646212542688)*x[0]**o+(-0.687137148869)*x[0]+(-0.162072841283)*x[1]**o+(0.627944920212)*x[1]+(-0.713818605572)*x[2]**o+(0.246460903592)*x[2]
71225            s[2]=(-0.736234793544)*x[0]**o+(-0.382762645761)*x[0]+(-0.837579788578)*x[1]**o+(-0.913690456246)*x[1]+(0.364622848764)*x[2]**o+(0.241650777953)*x[2]
71226            ref=o*(-0.740025332388)*x_ref[0]**(o-1)+o*(-0.162072841283)*x_ref[1]**(o-1)+o*(0.364622848764)*x_ref[2]**(o-1)+(1.49813808935)
71227          res=div(arg,where=w_ref)
71228          sub=res.substitute({arg:s})