/[escript]/trunk/escript/test/python/test_util_binary_with_tagged_data.py
ViewVC logotype

Diff of /trunk/escript/test/python/test_util_binary_with_tagged_data.py

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

revision 4083 by jfenwick, Fri Sep 21 02:47:54 2012 UTC revision 4084 by jfenwick, Tue Nov 20 06:22:07 2012 UTC
# Line 78  class Test_util_binary_with_tagged_data( Line 78  class Test_util_binary_with_tagged_data(
78        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
79     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
80     def test_inner_array_rank2_taggedData_rank2(self):     def test_inner_array_rank2_taggedData_rank2(self):
81        arg0=numpy.array([[0.28546214116183566, -0.25897102118715942, 0.22146243895717355, -0.2341748097231191, 0.55062645551197886], [0.15477233395592593, 0.6983214710376231, 0.082312765100553964, 0.88830487348434883, -0.35263700545380994], [-0.30422131569008792, -0.6752995720182402, -0.89033601042250776, -0.27533901644197178, -0.85228273014231459], [-0.27157032271746062, 0.22782516604067693, 0.69643942469578146, 0.21476478403738941, -0.95372841622315097]])        arg0=numpy.array([[0.28546214116183566, -0.25897102118715942, 0.22146243895717355, -0.2341748097231191,
82        arg1=Data(numpy.array([[-0.12475183486978714, -0.59085384957661913, -0.57768826874218804, 0.69002921217887692, 0.6146136290800055], [-0.76675274595793108, 0.096016036368918867, -0.72098517522278427, 0.60739975677450486, 0.20039340509437475], [-0.53106917471571125, 0.66808112301286671, -0.63653755160321879, -0.42121825850964556, -0.86625666223079612], [-0.14889283597580261, 0.61453496781922712, -0.037562334932733421, 0.59405710847032323, -0.15339609068293081]]),self.functionspace)  0.55062645551197886], [0.15477233395592593, 0.6983214710376231, 0.082312765100553964, 0.88830487348434883,
83        arg1.setTaggedValue(1,numpy.array([[0.74276855773761907, -0.64412463316166813, -0.59462268478785418, 0.49086072608194375, 0.12177039971317694], [-0.72919475767344633, 0.93923067996533427, -0.95425250771711911, 0.46032229575023731, -0.30203572196549966], [0.56279562163448782, 0.23249492420872153, 0.021543867282588725, -0.30407015194693954, -0.67749837500751253], [-0.48490284800976879, -0.20505188217693404, 0.49270997431831609, -0.60447551176070791, 0.24761094681266882]]))  -0.35263700545380994], [-0.30422131569008792, -0.6752995720182402, -0.89033601042250776, -0.27533901644197178,
84    -0.85228273014231459], [-0.27157032271746062, 0.22782516604067693, 0.69643942469578146, 0.21476478403738941,
85    -0.95372841622315097]])
86          arg1=Data(numpy.array([[-0.12475183486978714, -0.59085384957661913, -0.57768826874218804, 0.69002921217887692,
87    0.6146136290800055], [-0.76675274595793108, 0.096016036368918867, -0.72098517522278427, 0.60739975677450486,
88    0.20039340509437475], [-0.53106917471571125, 0.66808112301286671, -0.63653755160321879, -0.42121825850964556,
89    -0.86625666223079612], [-0.14889283597580261, 0.61453496781922712, -0.037562334932733421, 0.59405710847032323,
90    -0.15339609068293081]]),self.functionspace)
91          arg1.setTaggedValue(1,numpy.array([[0.74276855773761907, -0.64412463316166813, -0.59462268478785418, 0.49086072608194375,
92    0.12177039971317694], [-0.72919475767344633, 0.93923067996533427, -0.95425250771711911, 0.46032229575023731,
93    -0.30203572196549966], [0.56279562163448782, 0.23249492420872153, 0.021543867282588725, -0.30407015194693954,
94    -0.67749837500751253], [-0.48490284800976879, -0.20505188217693404, 0.49270997431831609, -0.60447551176070791,
95    0.24761094681266882]]))
96        res=inner(arg0,arg1)        res=inner(arg0,arg1)
97        ref=Data(2.0837982665,self.functionspace)        ref=Data(2.0837982665,self.functionspace)
98        ref.setTaggedValue(1,1.55503359669)        ref.setTaggedValue(1,1.55503359669)
# Line 89  class Test_util_binary_with_tagged_data( Line 101  class Test_util_binary_with_tagged_data(
101        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
102     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
103     def test_inner_array_rank3_taggedData_rank3(self):     def test_inner_array_rank3_taggedData_rank3(self):
104        arg0=numpy.array([[[-0.36965911393496653, 0.98091128998261667], [-0.77339818424681805, -0.12759468235415383]], [[0.85746330178302221, 0.53597813647549519], [0.42784310969022865, 0.66625125398782981]], [[-0.3272902988529407, -0.045146665394883767], [0.010477863144669808, 0.36591153971242574]], [[0.78418331466442814, -0.2680867565180145], [-0.82326919338393179, 0.331955227753574]], [[-0.73241891335179088, 0.13873093720146068], [-0.55672796708761174, -0.65553307432364538]], [[-0.91098505655985895, -0.041178931836881594], [-0.84850305096137357, 0.075790396228343937]]])        arg0=numpy.array([[[-0.36965911393496653, 0.98091128998261667], [-0.77339818424681805, -0.12759468235415383]],
105        arg1=Data(numpy.array([[[-0.045801260013890621, 0.050011452068426498], [0.12900776296788585, -0.72261296995481095]], [[-0.50810328798679771, -0.39652163006393115], [0.16632033579522254, -0.086016092943626221]], [[-0.52076314263072998, -0.28555894670684556], [-0.032774218742086081, -0.26414862258056804]], [[0.78155149305534199, -0.19538864556833069], [0.28091162566157446, 0.73222242328111409]], [[0.6600836851486287, -0.42668876810698309], [-0.79194290839233084, 0.96451261473614314]], [[-0.95480400656677245, 0.31956525371280509], [0.78360682059206876, 0.64161295312382882]]]),self.functionspace)  [[0.85746330178302221, 0.53597813647549519], [0.42784310969022865, 0.66625125398782981]], [[-0.3272902988529407,
106        arg1.setTaggedValue(1,numpy.array([[[-0.65422428312190717, -0.53976359988965394], [-0.052928480807738376, 0.24124608151737514]], [[0.034172873530292192, -0.43901996828862244], [0.48931220600808989, -0.41404722086870471]], [[-0.30993774327062162, -0.78232475467205198], [-0.90686194430041378, -0.21480804837303458]], [[0.8222242674345126, 0.53139548519319901], [0.70824891290441272, -0.82344959541323637]], [[0.87193618834414788, 0.69581301129047568], [-0.70465587143016051, 0.88104441331923589]], [[-0.79952576914512608, 0.26866616537225418], [0.30935236842782232, 0.7773523878110058]]]))  -0.045146665394883767], [0.010477863144669808, 0.36591153971242574]], [[0.78418331466442814, -0.2680867565180145],
107    [-0.82326919338393179, 0.331955227753574]], [[-0.73241891335179088, 0.13873093720146068], [-0.55672796708761174,
108    -0.65553307432364538]], [[-0.91098505655985895, -0.041178931836881594], [-0.84850305096137357, 0.075790396228343937]]])
109          arg1=Data(numpy.array([[[-0.045801260013890621, 0.050011452068426498], [0.12900776296788585, -0.72261296995481095]],
110    [[-0.50810328798679771, -0.39652163006393115], [0.16632033579522254, -0.086016092943626221]], [[-0.52076314263072998,
111    -0.28555894670684556], [-0.032774218742086081, -0.26414862258056804]], [[0.78155149305534199, -0.19538864556833069],
112    [0.28091162566157446, 0.73222242328111409]], [[0.6600836851486287, -0.42668876810698309], [-0.79194290839233084,
113    0.96451261473614314]], [[-0.95480400656677245, 0.31956525371280509], [0.78360682059206876,
114    0.64161295312382882]]]),self.functionspace)
115          arg1.setTaggedValue(1,numpy.array([[[-0.65422428312190717, -0.53976359988965394], [-0.052928480807738376,
116    0.24124608151737514]], [[0.034172873530292192, -0.43901996828862244], [0.48931220600808989, -0.41404722086870471]],
117    [[-0.30993774327062162, -0.78232475467205198], [-0.90686194430041378, -0.21480804837303458]], [[0.8222242674345126,
118    0.53139548519319901], [0.70824891290441272, -0.82344959541323637]], [[0.87193618834414788, 0.69581301129047568],
119    [-0.70465587143016051, 0.88104441331923589]], [[-0.79952576914512608, 0.26866616537225418], [0.30935236842782232,
120    0.7773523878110058]]]))
121        res=inner(arg0,arg1)        res=inner(arg0,arg1)
122        ref=Data(-0.306184779423,self.functionspace)        ref=Data(-0.306184779423,self.functionspace)
123        ref.setTaggedValue(1,-1.06905993572)        ref.setTaggedValue(1,-1.06905993572)
# Line 100  class Test_util_binary_with_tagged_data( Line 126  class Test_util_binary_with_tagged_data(
126        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
127     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
128     def test_inner_array_rank4_taggedData_rank4(self):     def test_inner_array_rank4_taggedData_rank4(self):
129        arg0=numpy.array([[[[0.7604938557994263, -0.2064171490048079, 0.0082224477660097772, 0.47661474451358177], [-0.016147095333721051, 0.92510969195222525, 0.36963882069134235, 0.7313344332761289], [-0.44349149295001022, 0.50038611389493015, 0.073989698187160835, 0.30213127319358435]], [[-0.085779312355246162, -0.6516617502626687, -0.58552435465049935, -0.54670802040975519], [-0.97149839070701294, 0.41188158744522307, 0.25718202606929053, -0.24291708491392328], [0.64570117640655855, -0.83614561582065616, 0.28699854951478798, -0.93312346950685754]]], [[[-0.0018734537112383709, 0.1051474428933783, -0.11005886066716353, 0.37962929610600193], [0.3126099665104769, 0.23100822254020681, -0.96283590668441099, -0.41440492034589926], [-0.42530572477680773, -0.79313343846577156, -0.89038637212946026, -0.42387473920202057]], [[0.27908258076110259, -0.7068815739396217, 0.53637477002212108, 0.24726832002590049], [-0.13013211223246435, -0.78735407545299374, -0.58836851126137502, -0.36234941534751197], [-0.90815573867674626, -0.88313365509272446, -0.68284207012769271, 0.31975112384448079]]], [[[0.77142356827210001, 0.91191967036317712, 0.55855716445627746, 0.40827639976213281], [0.46021247517969788, 0.7343548047142987, -0.48088350560507598, 0.37098064486240512], [-0.091697475899351177, -0.40781182998553556, 0.45547669848377237, -0.087366870549572706]], [[0.98648280728299209, 0.41378759479398819, 0.32888151537143351, -0.43752490453037263], [0.88300345537397695, 0.29494171299568217, -0.7713450313602781, -0.29281904047584706], [-0.82614050614132317, -0.3971654638950386, -0.71539168791654806, 0.15347445192877696]]]])        arg0=numpy.array([[[[0.7604938557994263, -0.2064171490048079, 0.0082224477660097772, 0.47661474451358177],
130        arg1=Data(numpy.array([[[[-0.46437123780262635, 0.74185133523265634, 0.49951558233663884, -0.71118985538663848], [0.56245719755571622, -0.50427973433709905, -0.12435103652047963, 0.66980870844438223], [0.78155494433345329, -0.85062663906351754, 0.13031784376377731, -0.88502969392544162]], [[-0.97920484738866742, -0.0013183327286987456, 0.05788815970797101, -0.25450310079245542], [-0.10117905674552485, -0.66776086342060137, -0.064655167154714199, 0.78055990504131412], [0.7964676623185134, -0.46711576410747857, -0.50544931921196135, -0.71948312823243077]]], [[[-0.95339111079344985, 0.68081818892697377, -0.3780663950715053, -0.21119065883350752], [0.65254047523120917, 0.76728475834565746, 0.87803824658903107, -0.8853243700127682], [-0.3733648785675967, 0.96328693805533505, 0.33135974940990853, -0.20617756533910181]], [[-0.58488374063355431, 0.16307637443378087, 0.010782110100696851, -0.29738192411321873], [-0.30031127943058711, 0.16916161988008671, -0.58277726739394664, -0.23461236749957237], [-0.99472730025633349, -0.59721917380688838, 0.023364804513121396, 0.75019537702359584]]], [[[-0.58798021179709536, -0.68699103286410312, 0.074816868000341152, -0.23675859949810363], [-0.83143406378762141, 0.26888961413208534, 0.49310597144176938, 0.7977151216226257], [-0.35221825673156193, 0.088975930385955859, 0.28584204161524585, 0.43347032440004152]], [[-0.043228877706345203, 0.49224430088901383, 0.041270615090814422, -0.93931728505799428], [-0.62438052044546866, -0.1555347219808787, -0.16005471087012535, -0.094995277206445294], [0.32864350845283452, 0.0018525108486773245, -0.52778818417274587, -0.44217899482475032]]]]),self.functionspace)  [-0.016147095333721051, 0.92510969195222525, 0.36963882069134235, 0.7313344332761289], [-0.44349149295001022,
131        arg1.setTaggedValue(1,numpy.array([[[[0.60823100775411576, 0.066842557698393756, 0.79566528979669782, 0.82868562207053897], [0.78613498132146642, -0.67304720757061642, 0.37317140593547271, -0.42023355638056614], [-0.89334001862300805, -0.3484455219637248, -0.81915812288585266, -0.17186157363295962]], [[0.77190239187530096, -0.27466010315273626, -0.047069441496553344, 0.6406589001720695], [0.26517088784363785, 0.25594718420441964, -0.019799536003160423, -0.99591510500911018], [-0.30057831255741507, -0.097997744185298163, -0.33402571643961587, 0.38899883894704934]]], [[[-0.60746130055235414, -0.86937617334659922, 0.4464080214266859, -0.65061460647358249], [-0.83500521257541127, -0.40467215791490863, -0.36884962773909358, -0.017581713186127779], [-0.78071757387893581, -0.7555378173021392, 0.16384580135655602, 0.39981324416993913]], [[-0.057920994167991235, -0.30947075713623273, -0.010489307190590269, 0.26827197750564236], [0.64537209540712182, -0.99304444119759605, -0.43536243190966828, -0.38845524275675447], [0.54072689740927937, 0.39536658441920691, -0.059113176182096883, 0.2365975100088995]]], [[[-0.71444398327660918, -0.10601210256168847, -0.35082430378728535, 0.53048714028601296], [0.33012650050062309, 0.2233872473156, 0.72533907055290014, 0.54823462243745014], [0.64364908972318724, 0.97764737901583798, 0.85636778064605723, 0.58032227689387805]], [[0.63842167202707722, 0.90385415304382066, -0.68593462018012064, -0.99721884955912099], [0.97096634999990328, 0.19065950109102614, 0.99287947652913089, -0.17178598348397101], [-0.37020715241965951, 0.46519340045957036, 0.78203721578950969, 0.85742325776521233]]]]))  0.50038611389493015, 0.073989698187160835, 0.30213127319358435]], [[-0.085779312355246162, -0.6516617502626687,
132    -0.58552435465049935, -0.54670802040975519], [-0.97149839070701294, 0.41188158744522307, 0.25718202606929053,
133    -0.24291708491392328], [0.64570117640655855, -0.83614561582065616, 0.28699854951478798, -0.93312346950685754]]],
134    [[[-0.0018734537112383709, 0.1051474428933783, -0.11005886066716353, 0.37962929610600193], [0.3126099665104769,
135    0.23100822254020681, -0.96283590668441099, -0.41440492034589926], [-0.42530572477680773, -0.79313343846577156,
136    -0.89038637212946026, -0.42387473920202057]], [[0.27908258076110259, -0.7068815739396217, 0.53637477002212108,
137    0.24726832002590049], [-0.13013211223246435, -0.78735407545299374, -0.58836851126137502, -0.36234941534751197],
138    [-0.90815573867674626, -0.88313365509272446, -0.68284207012769271, 0.31975112384448079]]], [[[0.77142356827210001,
139    0.91191967036317712, 0.55855716445627746, 0.40827639976213281], [0.46021247517969788, 0.7343548047142987, -0.48088350560507598,
140    0.37098064486240512], [-0.091697475899351177, -0.40781182998553556, 0.45547669848377237, -0.087366870549572706]],
141    [[0.98648280728299209, 0.41378759479398819, 0.32888151537143351, -0.43752490453037263], [0.88300345537397695,
142    0.29494171299568217, -0.7713450313602781, -0.29281904047584706], [-0.82614050614132317, -0.3971654638950386,
143    -0.71539168791654806, 0.15347445192877696]]]])
144          arg1=Data(numpy.array([[[[-0.46437123780262635, 0.74185133523265634, 0.49951558233663884, -0.71118985538663848],
145    [0.56245719755571622, -0.50427973433709905, -0.12435103652047963, 0.66980870844438223], [0.78155494433345329,
146    -0.85062663906351754, 0.13031784376377731, -0.88502969392544162]], [[-0.97920484738866742, -0.0013183327286987456,
147    0.05788815970797101, -0.25450310079245542], [-0.10117905674552485, -0.66776086342060137, -0.064655167154714199,
148    0.78055990504131412], [0.7964676623185134, -0.46711576410747857, -0.50544931921196135, -0.71948312823243077]]],
149    [[[-0.95339111079344985, 0.68081818892697377, -0.3780663950715053, -0.21119065883350752], [0.65254047523120917,
150    0.76728475834565746, 0.87803824658903107, -0.8853243700127682], [-0.3733648785675967, 0.96328693805533505, 0.33135974940990853,
151    -0.20617756533910181]], [[-0.58488374063355431, 0.16307637443378087, 0.010782110100696851, -0.29738192411321873],
152    [-0.30031127943058711, 0.16916161988008671, -0.58277726739394664, -0.23461236749957237], [-0.99472730025633349,
153    -0.59721917380688838, 0.023364804513121396, 0.75019537702359584]]], [[[-0.58798021179709536, -0.68699103286410312,
154    0.074816868000341152, -0.23675859949810363], [-0.83143406378762141, 0.26888961413208534, 0.49310597144176938,
155    0.7977151216226257], [-0.35221825673156193, 0.088975930385955859, 0.28584204161524585, 0.43347032440004152]],
156    [[-0.043228877706345203, 0.49224430088901383, 0.041270615090814422, -0.93931728505799428], [-0.62438052044546866,
157    -0.1555347219808787, -0.16005471087012535, -0.094995277206445294], [0.32864350845283452, 0.0018525108486773245,
158    -0.52778818417274587, -0.44217899482475032]]]]),self.functionspace)
159          arg1.setTaggedValue(1,numpy.array([[[[0.60823100775411576, 0.066842557698393756, 0.79566528979669782,
160    0.82868562207053897], [0.78613498132146642, -0.67304720757061642, 0.37317140593547271, -0.42023355638056614],
161    [-0.89334001862300805, -0.3484455219637248, -0.81915812288585266, -0.17186157363295962]], [[0.77190239187530096,
162    -0.27466010315273626, -0.047069441496553344, 0.6406589001720695], [0.26517088784363785, 0.25594718420441964,
163    -0.019799536003160423, -0.99591510500911018], [-0.30057831255741507, -0.097997744185298163, -0.33402571643961587,
164    0.38899883894704934]]], [[[-0.60746130055235414, -0.86937617334659922, 0.4464080214266859, -0.65061460647358249],
165    [-0.83500521257541127, -0.40467215791490863, -0.36884962773909358, -0.017581713186127779], [-0.78071757387893581,
166    -0.7555378173021392, 0.16384580135655602, 0.39981324416993913]], [[-0.057920994167991235, -0.30947075713623273,
167    -0.010489307190590269, 0.26827197750564236], [0.64537209540712182, -0.99304444119759605, -0.43536243190966828,
168    -0.38845524275675447], [0.54072689740927937, 0.39536658441920691, -0.059113176182096883, 0.2365975100088995]]],
169    [[[-0.71444398327660918, -0.10601210256168847, -0.35082430378728535, 0.53048714028601296], [0.33012650050062309,
170    0.2233872473156, 0.72533907055290014, 0.54823462243745014], [0.64364908972318724, 0.97764737901583798, 0.85636778064605723,
171    0.58032227689387805]], [[0.63842167202707722, 0.90385415304382066, -0.68593462018012064, -0.99721884955912099],
172    [0.97096634999990328, 0.19065950109102614, 0.99287947652913089, -0.17178598348397101], [-0.37020715241965951,
173    0.46519340045957036, 0.78203721578950969, 0.85742325776521233]]]]))
174        res=inner(arg0,arg1)        res=inner(arg0,arg1)
175        ref=Data(-0.893510369763,self.functionspace)        ref=Data(-0.893510369763,self.functionspace)
176        ref.setTaggedValue(1,0.860688349328)        ref.setTaggedValue(1,0.860688349328)
# Line 133  class Test_util_binary_with_tagged_data( Line 201  class Test_util_binary_with_tagged_data(
201        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
202     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
203     def test_inner_constData_rank2_taggedData_rank2(self):     def test_inner_constData_rank2_taggedData_rank2(self):
204        arg0=Data(numpy.array([[-0.53558219507023308, -0.61589866611438326, 0.45097856319098573, 0.25388993191306808, -0.30235062231871401], [-0.67843710959171544, 0.82102539341457237, -0.78663863825580416, -0.91255907508038492, 0.84592712378626111], [-0.66629771965647944, 0.81619185346418366, -0.29532207464519744, 0.10768209234500614, -0.37659176789130555], [0.38297194424580261, 0.94435053259958179, -0.34406439315377391, 0.85228922849010402, 0.31069471022979522]]),self.functionspace)        arg0=Data(numpy.array([[-0.53558219507023308, -0.61589866611438326, 0.45097856319098573, 0.25388993191306808,
205        arg1=Data(numpy.array([[-0.45063209573283625, 0.31906325025990867, -0.79996649582760315, -0.8719549142163685, -0.61116792027123434], [0.93342285423671356, 0.29309923039382113, -0.052346940956415011, -0.97354021791165568, -0.8166119312763509], [-0.81355518459002574, 0.8340183539915853, 0.41066261037050622, 0.72070919852118775, -0.91321592734799917], [-0.30398456692915921, -0.67967853737521899, 0.12078859764692362, 0.63256165021455679, -0.86135674027860887]]),self.functionspace)  -0.30235062231871401], [-0.67843710959171544, 0.82102539341457237, -0.78663863825580416, -0.91255907508038492,
206        arg1.setTaggedValue(1,numpy.array([[-0.070133972784780507, 0.79179455827162326, 0.22559047526462406, -0.15487582879118866, 0.086173179749749584], [-0.49099264874725934, 0.15718387953997537, 0.083557885763687167, 0.36624713245990304, -0.9879782326380584], [0.8437413918981016, 0.78411031814521648, -0.92616444903525719, 0.52449912816715782, -0.88884568120597884], [0.4188503855795338, -0.83384284488763516, -0.1000450282773846, 0.014481499256485453, 0.56405225419936711]]))  0.84592712378626111], [-0.66629771965647944, 0.81619185346418366, -0.29532207464519744, 0.10768209234500614,
207    -0.37659176789130555], [0.38297194424580261, 0.94435053259958179, -0.34406439315377391, 0.85228922849010402,
208    0.31069471022979522]]),self.functionspace)
209          arg1=Data(numpy.array([[-0.45063209573283625, 0.31906325025990867, -0.79996649582760315, -0.8719549142163685,
210    -0.61116792027123434], [0.93342285423671356, 0.29309923039382113, -0.052346940956415011, -0.97354021791165568,
211    -0.8166119312763509], [-0.81355518459002574, 0.8340183539915853, 0.41066261037050622, 0.72070919852118775,
212    -0.91321592734799917], [-0.30398456692915921, -0.67967853737521899, 0.12078859764692362, 0.63256165021455679,
213    -0.86135674027860887]]),self.functionspace)
214          arg1.setTaggedValue(1,numpy.array([[-0.070133972784780507, 0.79179455827162326, 0.22559047526462406,
215    -0.15487582879118866, 0.086173179749749584], [-0.49099264874725934, 0.15718387953997537, 0.083557885763687167,
216    0.36624713245990304, -0.9879782326380584], [0.8437413918981016, 0.78411031814521648, -0.92616444903525719, 0.52449912816715782,
217    -0.88884568120597884], [0.4188503855795338, -0.83384284488763516, -0.1000450282773846, 0.014481499256485453,
218    0.56405225419936711]]))
219        res=inner(arg0,arg1)        res=inner(arg0,arg1)
220        ref=Data(0.488352080172,self.functionspace)        ref=Data(0.488352080172,self.functionspace)
221        ref.setTaggedValue(1,-0.849782319222)        ref.setTaggedValue(1,-0.849782319222)
# Line 144  class Test_util_binary_with_tagged_data( Line 224  class Test_util_binary_with_tagged_data(
224        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
225     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
226     def test_inner_constData_rank3_taggedData_rank3(self):     def test_inner_constData_rank3_taggedData_rank3(self):
227        arg0=Data(numpy.array([[[0.32367315887079973, -0.30263048303176299], [0.82812191977634741, 0.3119002376452662]], [[0.22813257746868776, 0.97402972533071819], [-0.54233179929165987, -0.80680561598116007]], [[0.1590130931651037, -0.49426459739079198], [-0.11746988775232903, -0.9842239132556978]], [[-0.35695911128143742, -0.18249297127593178], [-0.92278154418741476, 0.87912080799490733]], [[-0.89586731890167859, -0.27524189410374422], [0.29646129579927738, -0.77345986616047147]], [[0.85402043641717662, -0.64082396428826294], [-0.69850050662519703, -0.27427052888689873]]]),self.functionspace)        arg0=Data(numpy.array([[[0.32367315887079973, -0.30263048303176299], [0.82812191977634741, 0.3119002376452662]],
228        arg1=Data(numpy.array([[[-0.038373127004912577, 0.69854132693489612], [-0.22144804152724884, 0.867918531620258]], [[-0.2448082760358512, 0.039516040072887337], [0.60769318427537278, 0.59775962217911571]], [[-0.35136554812506349, -0.41786540808521555], [0.5577102184541467, -0.48219353351558403]], [[0.20679395339756135, -0.14203992627417339], [0.22347465879961881, 0.83469308762511529]], [[-0.71658361378345203, 0.73006344811297619], [0.18648331456071809, 0.6070411780792635]], [[0.72379549609007632, 0.32971891184586433], [-0.89844536138693565, -0.047994818053717747]]]),self.functionspace)  [[0.22813257746868776, 0.97402972533071819], [-0.54233179929165987, -0.80680561598116007]], [[0.1590130931651037,
229        arg1.setTaggedValue(1,numpy.array([[[-0.71218579508520241, 0.96010233443335546], [0.55507508072781708, -0.36831038492539214]], [[0.17528688575580786, 0.61695742846923629], [-0.82195672718749679, 0.17075920275894552]], [[0.55270422620308191, -0.74553477790604727], [-0.52581399960599584, -0.78115864647411315]], [[0.44805219775260041, -0.84839997965754477], [0.97200994593220913, 0.13649532133838327]], [[-0.46081677336839921, 0.94527111248512652], [-0.27412448981019244, -0.80029609067999363]], [[-0.50156035441383384, -0.2751471867242814], [-0.92982284092982637, -0.62847911902206222]]]))  -0.49426459739079198], [-0.11746988775232903, -0.9842239132556978]], [[-0.35695911128143742, -0.18249297127593178],
230    [-0.92278154418741476, 0.87912080799490733]], [[-0.89586731890167859, -0.27524189410374422], [0.29646129579927738,
231    -0.77345986616047147]], [[0.85402043641717662, -0.64082396428826294], [-0.69850050662519703,
232    -0.27427052888689873]]]),self.functionspace)
233          arg1=Data(numpy.array([[[-0.038373127004912577, 0.69854132693489612], [-0.22144804152724884, 0.867918531620258]],
234    [[-0.2448082760358512, 0.039516040072887337], [0.60769318427537278, 0.59775962217911571]], [[-0.35136554812506349,
235    -0.41786540808521555], [0.5577102184541467, -0.48219353351558403]], [[0.20679395339756135, -0.14203992627417339],
236    [0.22347465879961881, 0.83469308762511529]], [[-0.71658361378345203, 0.73006344811297619], [0.18648331456071809,
237    0.6070411780792635]], [[0.72379549609007632, 0.32971891184586433], [-0.89844536138693565,
238    -0.047994818053717747]]]),self.functionspace)
239          arg1.setTaggedValue(1,numpy.array([[[-0.71218579508520241, 0.96010233443335546], [0.55507508072781708,
240    -0.36831038492539214]], [[0.17528688575580786, 0.61695742846923629], [-0.82195672718749679, 0.17075920275894552]],
241    [[0.55270422620308191, -0.74553477790604727], [-0.52581399960599584, -0.78115864647411315]], [[0.44805219775260041,
242    -0.84839997965754477], [0.97200994593220913, 0.13649532133838327]], [[-0.46081677336839921, 0.94527111248512652],
243    [-0.27412448981019244, -0.80029609067999363]], [[-0.50156035441383384, -0.2751471867242814], [-0.92982284092982637,
244    -0.62847911902206222]]]))
245        res=inner(arg0,arg1)        res=inner(arg0,arg1)
246        ref=Data(1.14806570384,self.functionspace)        ref=Data(1.14806570384,self.functionspace)
247        ref.setTaggedValue(1,2.53777936588)        ref.setTaggedValue(1,2.53777936588)
# Line 155  class Test_util_binary_with_tagged_data( Line 250  class Test_util_binary_with_tagged_data(
250        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
251     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
252     def test_inner_constData_rank4_taggedData_rank4(self):     def test_inner_constData_rank4_taggedData_rank4(self):
253        arg0=Data(numpy.array([[[[-0.93310409164839814, -0.0083882985931100773, 0.12139394793260316, -0.56134742619926215], [-0.50601897862936562, 0.42004575170481706, 0.35218268492545701, -0.77475021010461242], [0.79254311760208584, -0.054641867810987677, -0.050758183802747769, 0.0074782301973994603]], [[0.91239799146073008, -0.48935649243627699, 0.76571554532417485, 0.76703850687451669], [0.011962595183448332, -0.77077827212134187, -0.6175254836025883, 0.11718915795745821], [-0.61288264931728231, 0.2985764005034468, 0.80408183577228676, 0.37742071090166762]]], [[[0.31418618666015652, -0.25150031133868356, 0.89405784870817828, -0.39871636755948159], [0.17969596554515888, -0.29519251397439228, 0.28910118378066385, 0.71448980221461444], [0.21547295413418199, -0.72427927587438945, 0.53536962343891958, -0.069690466431044262]], [[0.49000233467877341, -0.9141946674025565, 0.92356537646173953, 0.36258771674787926], [0.98025031837109422, 0.97873403528715097, 0.34718708482623573, -0.61276091766631979], [0.86008273383772971, 0.21610382707976461, 0.76694442038930077, -0.23755335610017037]]], [[[0.88937859655236817, 0.24344071269860978, 0.52899051979898015, -0.28696538419127982], [-0.46966277072662743, -0.30757480861305031, 0.22839605612058311, 0.33192174295396026], [0.29142762132462985, -0.80630814389193173, -0.5751934892839492, 0.65201665285212473]], [[-0.039813033511368889, 0.96529940590693175, 0.37632722676676567, -0.26877197607752779], [0.92745644548969675, -0.96045351917051502, 0.84375073169420811, -0.23099749192911356], [0.95561345473137993, -0.48726431358889988, -0.65953167042628724, 0.81239964832698797]]]]),self.functionspace)        arg0=Data(numpy.array([[[[-0.93310409164839814, -0.0083882985931100773, 0.12139394793260316, -0.56134742619926215],
254        arg1=Data(numpy.array([[[[0.51489134479347221, -0.54469574861105707, -0.037597216309791293, 0.7019466835656738], [-0.76731432871536542, -0.90127415409496514, -0.76987601868586997, 0.77010818157958871], [-0.69384686719896749, 0.62625639111767351, -0.23308748573662963, -0.42652594480915629]], [[-0.18811542803666326, 0.1486445294791845, 0.68173290208899284, 0.26969452098008007], [-0.45374750053407364, -0.64551896224527017, -0.16802446539309601, -0.24685031958026249], [-0.51848308917304098, -0.11861062085946261, 0.48934696254962851, 0.86517643359480934]]], [[[0.28086007546524328, -0.39936059062910068, -0.5067954326563715, -0.036782766435768277], [0.82560090016901788, 0.27765920129644805, -0.018567093455775119, 0.47207891606182795], [-0.15593188747309594, 0.25529482052812713, 0.032605315239380817, 0.27847952618974148]], [[-0.88227887390980642, 0.18427564516392758, -0.83294415177359493, -0.60388456873328455], [0.077171137101491372, -0.33680043732321585, 0.18420167589764103, 0.58052785166190968], [-0.64455700116665571, -0.79387638916683878, -0.64975007681278663, -0.84828567153880963]]], [[[0.32663262132021531, 0.73218893318281197, -0.64345432791879675, 0.59965232226385523], [0.17131035254817917, -0.23132662830487472, 0.6961546550573714, -0.53911393403379737], [-0.42666255251476404, 0.21530510545039738, 0.70401037578990699, 0.095099886800676936]], [[0.5003184293580889, -0.098105108952792008, 0.50584889025171464, 0.38957363370207543], [0.09659533288820743, 0.080361254062045306, 0.030534457326652831, 0.93489890357882199], [0.41933737505983215, -0.063776648440711181, 0.66491991277606899, 0.44959720299084727]]]]),self.functionspace)  [-0.50601897862936562, 0.42004575170481706, 0.35218268492545701, -0.77475021010461242], [0.79254311760208584,
255        arg1.setTaggedValue(1,numpy.array([[[[0.54418366876642899, -0.60526479467916716, 0.11342547329983055, 0.42383191451312063], [0.39135815093342252, -0.44513901404757261, -0.23322235658664381, 0.3659994446410908], [0.66492888300362529, 0.62597290753537571, 0.31094112895184667, 0.10489580918025698]], [[-0.97047212620613776, -0.52791568763202812, 0.10995307784755948, -0.44515315931199395], [-0.47335144203548563, -0.97740483862239791, -0.9195838099615341, 0.50299939265672822], [0.049124924721247964, 0.15451147714094904, -0.60556101876844037, 0.45416140786187498]]], [[[-0.47226380688055336, 0.31327143015943948, 0.54278284165551072, 0.24625540866446793], [0.89377751481793477, 0.83104905257937856, -0.13520853421266454, 0.95299778262344459], [-0.88482243081956935, -0.73274023636789032, -0.38931996372876387, 0.83062700338877016]], [[0.25938263990154242, -0.11989036805274944, -0.55654108615691134, 0.32775693391444682], [-0.67941981556523157, -0.46265473435061355, 0.57748311018645127, 0.23668950450902027], [0.39174804246501505, 0.42180015848082486, -0.059846390834348728, -0.027940625115480566]]], [[[-0.75728289481046129, 0.8913423331446626, 0.36920972475668301, -0.49776833255035058], [-0.53392067106880292, -0.97021106812295321, 0.4389054023008272, -0.15891418785010325], [0.46855458984212395, -0.49678451406819368, 0.97600572013840603, -0.1580943485209958]], [[0.54841118568796965, 0.95897485982412523, -0.31049169056675874, -0.048522087215220111], [-0.36218772131334931, -0.94678023203297856, 0.65259361536023497, 0.16207173456180546], [0.44765019783968674, 0.4212618926464633, -0.070340580015930243, -0.70874348922942909]]]]))  -0.054641867810987677, -0.050758183802747769, 0.0074782301973994603]], [[0.91239799146073008, -0.48935649243627699,
256    0.76571554532417485, 0.76703850687451669], [0.011962595183448332, -0.77077827212134187, -0.6175254836025883,
257    0.11718915795745821], [-0.61288264931728231, 0.2985764005034468, 0.80408183577228676, 0.37742071090166762]]],
258    [[[0.31418618666015652, -0.25150031133868356, 0.89405784870817828, -0.39871636755948159], [0.17969596554515888,
259    -0.29519251397439228, 0.28910118378066385, 0.71448980221461444], [0.21547295413418199, -0.72427927587438945,
260    0.53536962343891958, -0.069690466431044262]], [[0.49000233467877341, -0.9141946674025565, 0.92356537646173953,
261    0.36258771674787926], [0.98025031837109422, 0.97873403528715097, 0.34718708482623573, -0.61276091766631979],
262    [0.86008273383772971, 0.21610382707976461, 0.76694442038930077, -0.23755335610017037]]], [[[0.88937859655236817,
263    0.24344071269860978, 0.52899051979898015, -0.28696538419127982], [-0.46966277072662743, -0.30757480861305031,
264    0.22839605612058311, 0.33192174295396026], [0.29142762132462985, -0.80630814389193173, -0.5751934892839492,
265    0.65201665285212473]], [[-0.039813033511368889, 0.96529940590693175, 0.37632722676676567, -0.26877197607752779],
266    [0.92745644548969675, -0.96045351917051502, 0.84375073169420811, -0.23099749192911356], [0.95561345473137993,
267    -0.48726431358889988, -0.65953167042628724, 0.81239964832698797]]]]),self.functionspace)
268          arg1=Data(numpy.array([[[[0.51489134479347221, -0.54469574861105707, -0.037597216309791293, 0.7019466835656738],
269    [-0.76731432871536542, -0.90127415409496514, -0.76987601868586997, 0.77010818157958871], [-0.69384686719896749,
270    0.62625639111767351, -0.23308748573662963, -0.42652594480915629]], [[-0.18811542803666326, 0.1486445294791845,
271    0.68173290208899284, 0.26969452098008007], [-0.45374750053407364, -0.64551896224527017, -0.16802446539309601,
272    -0.24685031958026249], [-0.51848308917304098, -0.11861062085946261, 0.48934696254962851, 0.86517643359480934]]],
273    [[[0.28086007546524328, -0.39936059062910068, -0.5067954326563715, -0.036782766435768277], [0.82560090016901788,
274    0.27765920129644805, -0.018567093455775119, 0.47207891606182795], [-0.15593188747309594, 0.25529482052812713,
275    0.032605315239380817, 0.27847952618974148]], [[-0.88227887390980642, 0.18427564516392758, -0.83294415177359493,
276    -0.60388456873328455], [0.077171137101491372, -0.33680043732321585, 0.18420167589764103, 0.58052785166190968],
277    [-0.64455700116665571, -0.79387638916683878, -0.64975007681278663, -0.84828567153880963]]], [[[0.32663262132021531,
278    0.73218893318281197, -0.64345432791879675, 0.59965232226385523], [0.17131035254817917, -0.23132662830487472,
279    0.6961546550573714, -0.53911393403379737], [-0.42666255251476404, 0.21530510545039738, 0.70401037578990699,
280    0.095099886800676936]], [[0.5003184293580889, -0.098105108952792008, 0.50584889025171464, 0.38957363370207543],
281    [0.09659533288820743, 0.080361254062045306, 0.030534457326652831, 0.93489890357882199], [0.41933737505983215,
282    -0.063776648440711181, 0.66491991277606899, 0.44959720299084727]]]]),self.functionspace)
283          arg1.setTaggedValue(1,numpy.array([[[[0.54418366876642899, -0.60526479467916716, 0.11342547329983055,
284    0.42383191451312063], [0.39135815093342252, -0.44513901404757261, -0.23322235658664381, 0.3659994446410908],
285    [0.66492888300362529, 0.62597290753537571, 0.31094112895184667, 0.10489580918025698]], [[-0.97047212620613776,
286    -0.52791568763202812, 0.10995307784755948, -0.44515315931199395], [-0.47335144203548563, -0.97740483862239791,
287    -0.9195838099615341, 0.50299939265672822], [0.049124924721247964, 0.15451147714094904, -0.60556101876844037,
288    0.45416140786187498]]], [[[-0.47226380688055336, 0.31327143015943948, 0.54278284165551072, 0.24625540866446793],
289    [0.89377751481793477, 0.83104905257937856, -0.13520853421266454, 0.95299778262344459], [-0.88482243081956935,
290    -0.73274023636789032, -0.38931996372876387, 0.83062700338877016]], [[0.25938263990154242, -0.11989036805274944,
291    -0.55654108615691134, 0.32775693391444682], [-0.67941981556523157, -0.46265473435061355, 0.57748311018645127,
292    0.23668950450902027], [0.39174804246501505, 0.42180015848082486, -0.059846390834348728, -0.027940625115480566]]],
293    [[[-0.75728289481046129, 0.8913423331446626, 0.36920972475668301, -0.49776833255035058], [-0.53392067106880292,
294    -0.97021106812295321, 0.4389054023008272, -0.15891418785010325], [0.46855458984212395, -0.49678451406819368,
295    0.97600572013840603, -0.1580943485209958]], [[0.54841118568796965, 0.95897485982412523, -0.31049169056675874,
296    -0.048522087215220111], [-0.36218772131334931, -0.94678023203297856, 0.65259361536023497, 0.16207173456180546],
297    [0.44765019783968674, 0.4212618926464633, -0.070340580015930243, -0.70874348922942909]]]]))
298        res=inner(arg0,arg1)        res=inner(arg0,arg1)
299        ref=Data(-4.04571518118,self.functionspace)        ref=Data(-4.04571518118,self.functionspace)
300        ref.setTaggedValue(1,1.07939094218)        ref.setTaggedValue(1,1.07939094218)
# Line 199  class Test_util_binary_with_tagged_data( Line 336  class Test_util_binary_with_tagged_data(
336        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
337     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
338     def test_inner_taggedData_rank2_array_rank2(self):     def test_inner_taggedData_rank2_array_rank2(self):
339        arg0=Data(numpy.array([[0.50432055496183503, -0.25926507266256782, 0.90218730806132474, -0.65644592639875099, -0.059191757078101759], [0.66359334654734159, 0.37719497986085426, 0.40048540726169235, -0.58043861122321316, -0.87561593959589334], [0.78558772536960753, 0.17605040095994906, -0.78505148254062984, 0.40642948202591578, 0.45654533196536051], [-0.32942377362749764, 0.1874644453300931, 0.71344685195895496, -0.40528138931671442, 0.88857878462404827]]),self.functionspace)        arg0=Data(numpy.array([[0.50432055496183503, -0.25926507266256782, 0.90218730806132474, -0.65644592639875099,
340        arg0.setTaggedValue(1,numpy.array([[-0.22105602264554003, -0.63863190060808672, 0.50266503449971722, -0.7925888054932555, -0.83308060277192775], [0.63703697336208776, -0.032840067023147679, 0.69911446681021494, 0.21040364385932797, 0.29404918846609007], [-0.070863199153732293, -0.18543571622725263, -0.82063526347944293, 0.37192977688927753, 0.44803860869320022], [-0.86741289381545505, -0.89820931814083838, -0.37820158569229401, 0.38847596974859422, 0.68390172357881429]]))  -0.059191757078101759], [0.66359334654734159, 0.37719497986085426, 0.40048540726169235, -0.58043861122321316,
341        arg1=numpy.array([[0.12749341798106895, 0.45788765153576771, -0.6039619754705059, -0.49054005474816376, 0.86031738019555126], [0.24594646259761133, -0.095457475650316814, -0.24118419741163821, 0.029858526013547104, -0.92932795231554488], [0.74101806194544184, -0.72015049555575827, 0.86099611539654819, -0.49626581292352223, -0.69390917864289525], [-0.43069226988820031, 0.96152849074742819, 0.29564054323986033, -0.80384598311832089, 0.0090587338159839881]])  -0.87561593959589334], [0.78558772536960753, 0.17605040095994906, -0.78505148254062984, 0.40642948202591578,
342    0.45654533196536051], [-0.32942377362749764, 0.1874644453300931, 0.71344685195895496, -0.40528138931671442,
343    0.88857878462404827]]),self.functionspace)
344          arg0.setTaggedValue(1,numpy.array([[-0.22105602264554003, -0.63863190060808672, 0.50266503449971722, -0.7925888054932555,
345    -0.83308060277192775], [0.63703697336208776, -0.032840067023147679, 0.69911446681021494, 0.21040364385932797,
346    0.29404918846609007], [-0.070863199153732293, -0.18543571622725263, -0.82063526347944293, 0.37192977688927753,
347    0.44803860869320022], [-0.86741289381545505, -0.89820931814083838, -0.37820158569229401, 0.38847596974859422,
348    0.68390172357881429]]))
349          arg1=numpy.array([[0.12749341798106895, 0.45788765153576771, -0.6039619754705059, -0.49054005474816376,
350    0.86031738019555126], [0.24594646259761133, -0.095457475650316814, -0.24118419741163821, 0.029858526013547104,
351    -0.92932795231554488], [0.74101806194544184, -0.72015049555575827, 0.86099611539654819, -0.49626581292352223,
352    -0.69390917864289525], [-0.43069226988820031, 0.96152849074742819, 0.29564054323986033, -0.80384598311832089,
353    0.0090587338159839881]])
354        res=inner(arg0,arg1)        res=inner(arg0,arg1)
355        ref=Data(0.626617989575,self.functionspace)        ref=Data(0.626617989575,self.functionspace)
356        ref.setTaggedValue(1,-3.25686621688)        ref.setTaggedValue(1,-3.25686621688)
# Line 210  class Test_util_binary_with_tagged_data( Line 359  class Test_util_binary_with_tagged_data(
359        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
360     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
361     def test_inner_taggedData_rank3_array_rank3(self):     def test_inner_taggedData_rank3_array_rank3(self):
362        arg0=Data(numpy.array([[[-0.76171304226146686, -0.87057568254167039], [-0.95783872561735039, 0.028253142239920814]], [[0.025144394665756575, -0.98991849326909009], [-0.39520559134097222, -0.19067238233979156]], [[-0.26218857207856705, 0.49187562788004735], [0.85284340674467396, -0.56038962999128583]], [[-0.089703826668767528, -0.49929995985201558], [0.96751784102390959, -0.27164346220044866]], [[-0.14802828669590218, -0.75545607370279977], [-0.1617736717280458, -0.78808683888556974]], [[0.62984126406968532, 0.68468379288019787], [-0.44931109913842593, 0.50509563243826583]]]),self.functionspace)        arg0=Data(numpy.array([[[-0.76171304226146686, -0.87057568254167039], [-0.95783872561735039, 0.028253142239920814]],
363        arg0.setTaggedValue(1,numpy.array([[[-0.22178901142117713, 0.78220205503048157], [-0.19432691201316632, -0.47599717633424965]], [[0.9604400709781753, -0.11235119971091745], [0.48115210800379971, -0.23549858583246408]], [[0.29759835928567369, -0.064835513256836785], [-0.40034926455202524, 0.6943561275363106]], [[-0.40837922199624632, -0.51911834236369581], [0.05077660647839588, -0.43451524712304113]], [[0.045587680552171106, 0.85952135991496204], [-0.95922963902852687, -0.24468246886520362]], [[0.024517678013268096, -0.11713897745648127], [-0.89584545461258402, 0.34464557693057518]]]))  [[0.025144394665756575, -0.98991849326909009], [-0.39520559134097222, -0.19067238233979156]], [[-0.26218857207856705,
364        arg1=numpy.array([[[-0.72174377779951682, 0.059081282269708657], [-0.28060648056160131, -0.34472903191770143]], [[0.45000848225058454, -0.44868290520037823], [0.033178078850591763, -0.55936996337690692]], [[0.73415989282999417, -0.060548680808505173], [-0.2633226210711046, -0.76836425513687123]], [[-0.54078705163433893, -0.28232559270260049], [0.86058019812413189, 0.38112955079541067]], [[0.81487042267811938, -0.10908664215490793], [0.21460784231934671, 0.82135632704872363]], [[-0.12719008299748169, -0.69803730453549195], [0.58370363315997809, -0.39636106074606903]]])  0.49187562788004735], [0.85284340674467396, -0.56038962999128583]], [[-0.089703826668767528, -0.49929995985201558],
365    [0.96751784102390959, -0.27164346220044866]], [[-0.14802828669590218, -0.75545607370279977], [-0.1617736717280458,
366    -0.78808683888556974]], [[0.62984126406968532, 0.68468379288019787], [-0.44931109913842593,
367    0.50509563243826583]]]),self.functionspace)
368          arg0.setTaggedValue(1,numpy.array([[[-0.22178901142117713, 0.78220205503048157], [-0.19432691201316632,
369    -0.47599717633424965]], [[0.9604400709781753, -0.11235119971091745], [0.48115210800379971, -0.23549858583246408]],
370    [[0.29759835928567369, -0.064835513256836785], [-0.40034926455202524, 0.6943561275363106]], [[-0.40837922199624632,
371    -0.51911834236369581], [0.05077660647839588, -0.43451524712304113]], [[0.045587680552171106, 0.85952135991496204],
372    [-0.95922963902852687, -0.24468246886520362]], [[0.024517678013268096, -0.11713897745648127], [-0.89584545461258402,
373    0.34464557693057518]]]))
374          arg1=numpy.array([[[-0.72174377779951682, 0.059081282269708657], [-0.28060648056160131, -0.34472903191770143]],
375    [[0.45000848225058454, -0.44868290520037823], [0.033178078850591763, -0.55936996337690692]], [[0.73415989282999417,
376    -0.060548680808505173], [-0.2633226210711046, -0.76836425513687123]], [[-0.54078705163433893, -0.28232559270260049],
377    [0.86058019812413189, 0.38112955079541067]], [[0.81487042267811938, -0.10908664215490793], [0.21460784231934671,
378    0.82135632704872363]], [[-0.12719008299748169, -0.69803730453549195], [0.58370363315997809, -0.39636106074606903]]])
379        res=inner(arg0,arg1)        res=inner(arg0,arg1)
380        ref=Data(0.467951879016,self.functionspace)        ref=Data(0.467951879016,self.functionspace)
381        ref.setTaggedValue(1,0.0507216527758)        ref.setTaggedValue(1,0.0507216527758)
# Line 221  class Test_util_binary_with_tagged_data( Line 384  class Test_util_binary_with_tagged_data(
384        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
385     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
386     def test_inner_taggedData_rank4_array_rank4(self):     def test_inner_taggedData_rank4_array_rank4(self):
387        arg0=Data(numpy.array([[[[-0.31697817736254796, -0.78512493043425224, 0.86570946770719948, -0.30099839115644333], [0.79216701686370627, -0.64757590962041389, 0.22166516295717975, -0.78151604833143207], [0.9299270318224977, 0.37583789551257785, -0.27795332747002455, 0.030321789068909588]], [[-0.63557700398321737, 0.49708480036124181, -0.031456189129278167, 0.64744305850115391], [0.43557945873823445, -0.15913175846807137, -0.87379654553154551, -0.99635968128942665], [-0.74381743963289271, 0.0092210227067150985, -0.079122620124246534, 0.69175955942241041]]], [[[0.32758830606304534, 0.41050809422726497, 0.30475810003981429, 0.0076999648159608025], [-0.31049044422641492, 0.76708837064764257, 0.36989303524440942, 0.732540298679071], [0.080394000245085362, -0.74137993588395035, 0.12037495618924576, 0.9701774972840369]], [[0.86110281973938529, -0.10207435421952815, 0.599579739814319, 0.21391827887167825], [0.59258637353077659, 0.8743607189938456, -0.47242492532228542, 0.18241942826352853], [-0.32614433023749489, 0.57117501379725066, -0.60148954891169515, 0.14186407850891891]]], [[[-0.090017617326749066, -0.81787757023927554, 0.50194850135954949, 0.43729568597122648], [0.30001329703403812, 0.52685074553229927, -0.41448659468824522, -0.63884205886593537], [-0.81699433223447882, 0.33297526517646991, -0.65679546631436336, -0.99209250737241605]], [[-0.025407106832654902, 0.71882668575776743, 0.029164177994470242, 0.4335945896003035], [0.62615882293748926, -0.064641777287617552, 0.80949837899905441, -0.71257069800284278], [-0.66332513247846947, 0.46790565702256259, 0.32238324548727038, 0.33792929708990704]]]]),self.functionspace)        arg0=Data(numpy.array([[[[-0.31697817736254796, -0.78512493043425224, 0.86570946770719948, -0.30099839115644333],
388        arg0.setTaggedValue(1,numpy.array([[[[0.45871757104084354, -0.92390424723128861, 0.70981795882027887, 0.9122755330607204], [0.87651247288139134, -0.74201533966259059, 0.80923968843463534, 0.51021396948288089], [-0.50695332539024207, 0.22518571002521437, 0.86950505435134118, -0.70150424545332579]], [[-0.81653727987121427, 0.99419500045760567, -0.9256942558562582, -0.2809423747068025], [-0.68848972363103766, 0.59520382606324596, 0.78162105313584718, -0.13471258450578305], [-0.083630144001856532, 0.2947800693912872, 0.73753114211410309, -0.59612943790680584]]], [[[0.53804573061241956, -0.79508469152189587, -0.25014912391198441, 0.61392171013653418], [0.35306361411337561, -0.50804638007036051, -0.93226868699574816, -0.542574075476699], [0.86804064605140496, 0.69368974773301728, -0.82547422824901906, 0.81553076863194018]], [[-0.76847923433434229, -0.53782577943601462, 0.49816996275629433, -0.5478800397095891], [-0.52585732515942563, 0.013413299233611786, 0.92152733999531944, 0.63154486570628654], [0.017101794716768426, 0.56950843544483454, -0.64774883015845686, -0.32021485467707511]]], [[[0.16293941619247643, 0.93395993437953018, -0.67608001806679852, -0.21085045980156747], [0.67027194252273992, 0.49681751143982211, 0.79483357499627028, -0.11592472008619725], [-0.86129930437499036, -0.094583161957032313, -0.28432678466010763, -0.19049019692072577]], [[0.48364331545344297, 0.64759901158970523, 0.44158479096669567, 0.91087816973335878], [0.55563207239419632, 0.89622760731857443, -0.77462076511970146, -0.55008113288067562], [-0.062702021637686789, -0.36614149730023793, -0.42024403056517046, 0.96091706517741415]]]]))  [0.79216701686370627, -0.64757590962041389, 0.22166516295717975, -0.78151604833143207], [0.9299270318224977,
389        arg1=numpy.array([[[[0.83204513377078149, -0.76761809303627948, 0.066787973351226215, 0.36538735059677441], [0.45589406391915777, 0.11700612355517404, 0.073381588375790896, -0.53159443168868004], [0.83486043858200754, -0.68086018885446764, 0.92550299371806477, 0.9480540815873697]], [[0.10151187608193468, 0.59095793696164689, 0.28464761333376432, -0.32198775660949286], [-0.34983450636613389, 0.70293514495324416, -0.59006734629729984, -0.81306388188302225], [-0.81006578456865874, 0.064172736407334341, 0.16201739205143673, -0.51828853170275346]]], [[[-0.47991938987604277, -0.54751978313822169, -0.72721529033955079, -0.34570482811971059], [0.6715090631030658, -0.12670214080509767, -0.5423251791639756, -0.7703681239848823], [-0.30093583009759417, -0.63039091832447824, 0.79082639288724321, -0.39133183119861781]], [[0.12960762045331387, -0.76038570255245674, -0.8769453751398788, -0.058169497772617262], [-0.086742262891742028, -0.44787983557982747, 0.27402763392760576, -0.9577235556573549], [0.087831250199435384, 0.18699861019026653, -0.85863725074202524, -0.60671857828320452]]], [[[0.76474343080406926, -0.73937248325562943, 0.4126559341378806, 0.094701247265092769], [-0.34730486532097005, 0.44334435178042852, -0.13423417115904335, 0.87043635234329342], [0.92676880819030205, 0.068160974047376088, 0.773410124229297, -0.53021280058437847]], [[-0.67131286948032898, -0.50541554507410313, 0.099774848887049572, -0.78109306352151386], [-0.35850590401163052, 0.5151123022771662, -0.0094539490115992386, 0.52174949414465055], [0.47020215680787247, -0.2845955605437942, 0.96430493828063502, 0.76221537591057897]]]])  0.37583789551257785, -0.27795332747002455, 0.030321789068909588]], [[-0.63557700398321737, 0.49708480036124181,
390    -0.031456189129278167, 0.64744305850115391], [0.43557945873823445, -0.15913175846807137, -0.87379654553154551,
391    -0.99635968128942665], [-0.74381743963289271, 0.0092210227067150985, -0.079122620124246534, 0.69175955942241041]]],
392    [[[0.32758830606304534, 0.41050809422726497, 0.30475810003981429, 0.0076999648159608025], [-0.31049044422641492,
393    0.76708837064764257, 0.36989303524440942, 0.732540298679071], [0.080394000245085362, -0.74137993588395035, 0.12037495618924576,
394    0.9701774972840369]], [[0.86110281973938529, -0.10207435421952815, 0.599579739814319, 0.21391827887167825],
395    [0.59258637353077659, 0.8743607189938456, -0.47242492532228542, 0.18241942826352853], [-0.32614433023749489,
396    0.57117501379725066, -0.60148954891169515, 0.14186407850891891]]], [[[-0.090017617326749066, -0.81787757023927554,
397    0.50194850135954949, 0.43729568597122648], [0.30001329703403812, 0.52685074553229927, -0.41448659468824522,
398    -0.63884205886593537], [-0.81699433223447882, 0.33297526517646991, -0.65679546631436336, -0.99209250737241605]],
399    [[-0.025407106832654902, 0.71882668575776743, 0.029164177994470242, 0.4335945896003035], [0.62615882293748926,
400    -0.064641777287617552, 0.80949837899905441, -0.71257069800284278], [-0.66332513247846947, 0.46790565702256259,
401    0.32238324548727038, 0.33792929708990704]]]]),self.functionspace)
402          arg0.setTaggedValue(1,numpy.array([[[[0.45871757104084354, -0.92390424723128861, 0.70981795882027887,
403    0.9122755330607204], [0.87651247288139134, -0.74201533966259059, 0.80923968843463534, 0.51021396948288089],
404    [-0.50695332539024207, 0.22518571002521437, 0.86950505435134118, -0.70150424545332579]], [[-0.81653727987121427,
405    0.99419500045760567, -0.9256942558562582, -0.2809423747068025], [-0.68848972363103766, 0.59520382606324596,
406    0.78162105313584718, -0.13471258450578305], [-0.083630144001856532, 0.2947800693912872, 0.73753114211410309,
407    -0.59612943790680584]]], [[[0.53804573061241956, -0.79508469152189587, -0.25014912391198441, 0.61392171013653418],
408    [0.35306361411337561, -0.50804638007036051, -0.93226868699574816, -0.542574075476699], [0.86804064605140496,
409    0.69368974773301728, -0.82547422824901906, 0.81553076863194018]], [[-0.76847923433434229, -0.53782577943601462,
410    0.49816996275629433, -0.5478800397095891], [-0.52585732515942563, 0.013413299233611786, 0.92152733999531944,
411    0.63154486570628654], [0.017101794716768426, 0.56950843544483454, -0.64774883015845686, -0.32021485467707511]]],
412    [[[0.16293941619247643, 0.93395993437953018, -0.67608001806679852, -0.21085045980156747], [0.67027194252273992,
413    0.49681751143982211, 0.79483357499627028, -0.11592472008619725], [-0.86129930437499036, -0.094583161957032313,
414    -0.28432678466010763, -0.19049019692072577]], [[0.48364331545344297, 0.64759901158970523, 0.44158479096669567,
415    0.91087816973335878], [0.55563207239419632, 0.89622760731857443, -0.77462076511970146, -0.55008113288067562],
416    [-0.062702021637686789, -0.36614149730023793, -0.42024403056517046, 0.96091706517741415]]]]))
417          arg1=numpy.array([[[[0.83204513377078149, -0.76761809303627948, 0.066787973351226215, 0.36538735059677441],
418    [0.45589406391915777, 0.11700612355517404, 0.073381588375790896, -0.53159443168868004], [0.83486043858200754,
419    -0.68086018885446764, 0.92550299371806477, 0.9480540815873697]], [[0.10151187608193468, 0.59095793696164689,
420    0.28464761333376432, -0.32198775660949286], [-0.34983450636613389, 0.70293514495324416, -0.59006734629729984,
421    -0.81306388188302225], [-0.81006578456865874, 0.064172736407334341, 0.16201739205143673, -0.51828853170275346]]],
422    [[[-0.47991938987604277, -0.54751978313822169, -0.72721529033955079, -0.34570482811971059], [0.6715090631030658,
423    -0.12670214080509767, -0.5423251791639756, -0.7703681239848823], [-0.30093583009759417, -0.63039091832447824,
424    0.79082639288724321, -0.39133183119861781]], [[0.12960762045331387, -0.76038570255245674, -0.8769453751398788,
425    -0.058169497772617262], [-0.086742262891742028, -0.44787983557982747, 0.27402763392760576, -0.9577235556573549],
426    [0.087831250199435384, 0.18699861019026653, -0.85863725074202524, -0.60671857828320452]]], [[[0.76474343080406926,
427    -0.73937248325562943, 0.4126559341378806, 0.094701247265092769], [-0.34730486532097005, 0.44334435178042852,
428    -0.13423417115904335, 0.87043635234329342], [0.92676880819030205, 0.068160974047376088, 0.773410124229297,
429    -0.53021280058437847]], [[-0.67131286948032898, -0.50541554507410313, 0.099774848887049572, -0.78109306352151386],
430    [-0.35850590401163052, 0.5151123022771662, -0.0094539490115992386, 0.52174949414465055], [0.47020215680787247,
431    -0.2845955605437942, 0.96430493828063502, 0.76221537591057897]]]])
432        res=inner(arg0,arg1)        res=inner(arg0,arg1)
433        ref=Data(-1.00383159382,self.functionspace)        ref=Data(-1.00383159382,self.functionspace)
434        ref.setTaggedValue(1,-0.501913859213)        ref.setTaggedValue(1,-0.501913859213)
# Line 254  class Test_util_binary_with_tagged_data( Line 459  class Test_util_binary_with_tagged_data(
459        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
460     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
461     def test_inner_taggedData_rank2_constData_rank2(self):     def test_inner_taggedData_rank2_constData_rank2(self):
462        arg0=Data(numpy.array([[0.58101836138163843, -0.4031750373694778, -0.23503877448260058, -0.53545018667304833, -0.56796733494055696], [0.76908984102446798, 0.27761452390094443, -0.56927162610601734, -0.31006302496106986, 0.9664514293349693], [-0.50501017600427422, 0.41509818136608456, 0.093030074977553001, 0.48055231142577104, -0.99024450887323012], [0.92694069487505826, -0.65376988489792742, 0.44586065789300267, -0.83207646690634207, 0.90668830552056279]]),self.functionspace)        arg0=Data(numpy.array([[0.58101836138163843, -0.4031750373694778, -0.23503877448260058, -0.53545018667304833,
463        arg0.setTaggedValue(1,numpy.array([[-0.45242936740850692, -0.88425836413059411, -0.024383780439757086, -0.96104048751697624, 0.51294061735355889], [0.043140504291506954, -0.78732099987146453, 0.95385490933785055, 0.92795434196987747, -0.69527014896555839], [0.95526237819676552, -0.21077464553879066, 0.49323865221604857, -0.041671077519269017, -0.22937852253392421], [-0.095686031937835425, 0.5987587697331358, 0.41046872811285939, -0.34445951383335838, -0.52742604097793544]]))  -0.56796733494055696], [0.76908984102446798, 0.27761452390094443, -0.56927162610601734, -0.31006302496106986,
464        arg1=Data(numpy.array([[-0.27313386322466293, -0.22369424816845096, -0.58131494558876606, -0.94422708653680609, -0.11992632854747698], [0.96519954085287463, -0.26329887152840104, 0.59336450249171269, 0.93173643027628006, -0.71980388995820377], [-0.16679146346425555, -0.27614896464910932, 0.45998946501843396, 0.23809766214003836, 0.70928429028903195], [-0.64045594106384507, 0.93869035601866679, -0.3322685784234225, 0.74415562371651656, -0.63743967955106995]]),self.functionspace)  0.9664514293349693], [-0.50501017600427422, 0.41509818136608456, 0.093030074977553001, 0.48055231142577104,
465    -0.99024450887323012], [0.92694069487505826, -0.65376988489792742, 0.44586065789300267, -0.83207646690634207,
466    0.90668830552056279]]),self.functionspace)
467          arg0.setTaggedValue(1,numpy.array([[-0.45242936740850692, -0.88425836413059411, -0.024383780439757086,
468    -0.96104048751697624, 0.51294061735355889], [0.043140504291506954, -0.78732099987146453, 0.95385490933785055,
469    0.92795434196987747, -0.69527014896555839], [0.95526237819676552, -0.21077464553879066, 0.49323865221604857,
470    -0.041671077519269017, -0.22937852253392421], [-0.095686031937835425, 0.5987587697331358, 0.41046872811285939,
471    -0.34445951383335838, -0.52742604097793544]]))
472          arg1=Data(numpy.array([[-0.27313386322466293, -0.22369424816845096, -0.58131494558876606, -0.94422708653680609,
473    -0.11992632854747698], [0.96519954085287463, -0.26329887152840104, 0.59336450249171269, 0.93173643027628006,
474    -0.71980388995820377], [-0.16679146346425555, -0.27614896464910932, 0.45998946501843396, 0.23809766214003836,
475    0.70928429028903195], [-0.64045594106384507, 0.93869035601866679, -0.3322685784234225, 0.74415562371651656,
476    -0.63743967955106995]]),self.functionspace)
477        res=inner(arg0,arg1)        res=inner(arg0,arg1)
478        ref=Data(-3.13948632963,self.functionspace)        ref=Data(-3.13948632963,self.functionspace)
479        ref.setTaggedValue(1,3.8814284317)        ref.setTaggedValue(1,3.8814284317)
# Line 265  class Test_util_binary_with_tagged_data( Line 482  class Test_util_binary_with_tagged_data(
482        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
483     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
484     def test_inner_taggedData_rank3_constData_rank3(self):     def test_inner_taggedData_rank3_constData_rank3(self):
485        arg0=Data(numpy.array([[[0.96700564047927617, 0.95973772195526807], [0.0038308424877011582, 0.14196432362056899]], [[-0.73442868081424462, 0.2914322080354379], [0.019152009062897601, -0.78669189639973292]], [[-0.21798022996263944, -0.66732870929782129], [-0.14072594770292168, -0.83660203892684848]], [[0.67854000860556196, -0.13205985286041999], [0.74324138004734475, 0.86693037011480967]], [[0.50225303577765179, -0.5125810862302953], [0.56419197774058039, 0.98421771434514516]], [[0.85221882222233547, 0.12249271224959801], [0.23820117654345196, 0.75701957477272619]]]),self.functionspace)        arg0=Data(numpy.array([[[0.96700564047927617, 0.95973772195526807], [0.0038308424877011582, 0.14196432362056899]],
486        arg0.setTaggedValue(1,numpy.array([[[-0.95560913385424739, -0.23797641808955738], [-0.80390789628183423, -0.6740055973133916]], [[-0.22922142447992711, -0.62239349187028314], [-0.4633862407522531, -0.31239129097033791]], [[-0.74813806971554908, -0.71477636183356119], [0.1468590807819341, 0.062926800112239389]], [[-0.29113130234083839, -0.62094920148047472], [-0.90516079338793332, 0.032339374252750241]], [[-0.31875715830740003, -0.064730138241973822], [0.98861925693113739, -0.18379179819802194]], [[-0.51191213285665382, 0.72382128089652298], [0.14874983242976714, -0.15683334876829691]]]))  [[-0.73442868081424462, 0.2914322080354379], [0.019152009062897601, -0.78669189639973292]], [[-0.21798022996263944,
487        arg1=Data(numpy.array([[[0.68671044602605691, -0.61601906334393397], [-0.76160842339980817, -0.45795678830979147]], [[-0.65697615267992049, -0.33993292529940944], [0.13592434378357754, 0.73679015827871708]], [[-0.025809198391473442, 0.23813509535487287], [-0.26430892494774616, -0.28498634143108248]], [[0.64517026622993323, 0.68363206376295471], [0.91912113331149525, 0.68666159866040899]], [[0.090269098889840027, 0.10779578098809472], [0.48326192604785945, 0.27363361595817692]], [[-0.13146302737663196, 0.4226421948769854], [-0.24173240888320091, -0.37698665021687172]]]),self.functionspace)  -0.66732870929782129], [-0.14072594770292168, -0.83660203892684848]], [[0.67854000860556196, -0.13205985286041999],
488    [0.74324138004734475, 0.86693037011480967]], [[0.50225303577765179, -0.5125810862302953], [0.56419197774058039,
489    0.98421771434514516]], [[0.85221882222233547, 0.12249271224959801], [0.23820117654345196,
490    0.75701957477272619]]]),self.functionspace)
491          arg0.setTaggedValue(1,numpy.array([[[-0.95560913385424739, -0.23797641808955738], [-0.80390789628183423,
492    -0.6740055973133916]], [[-0.22922142447992711, -0.62239349187028314], [-0.4633862407522531, -0.31239129097033791]],
493    [[-0.74813806971554908, -0.71477636183356119], [0.1468590807819341, 0.062926800112239389]], [[-0.29113130234083839,
494    -0.62094920148047472], [-0.90516079338793332, 0.032339374252750241]], [[-0.31875715830740003, -0.064730138241973822],
495    [0.98861925693113739, -0.18379179819802194]], [[-0.51191213285665382, 0.72382128089652298], [0.14874983242976714,
496    -0.15683334876829691]]]))
497          arg1=Data(numpy.array([[[0.68671044602605691, -0.61601906334393397], [-0.76160842339980817, -0.45795678830979147]],
498    [[-0.65697615267992049, -0.33993292529940944], [0.13592434378357754, 0.73679015827871708]], [[-0.025809198391473442,
499    0.23813509535487287], [-0.26430892494774616, -0.28498634143108248]], [[0.64517026622993323, 0.68363206376295471],
500    [0.91912113331149525, 0.68666159866040899]], [[0.090269098889840027, 0.10779578098809472], [0.48326192604785945,
501    0.27363361595817692]], [[-0.13146302737663196, 0.4226421948769854], [-0.24173240888320091,
502    -0.37698665021687172]]]),self.functionspace)
503        res=inner(arg0,arg1)        res=inner(arg0,arg1)
504        ref=Data(1.68837255608,self.functionspace)        ref=Data(1.68837255608,self.functionspace)
505        ref.setTaggedValue(1,-0.361317507289)        ref.setTaggedValue(1,-0.361317507289)
# Line 276  class Test_util_binary_with_tagged_data( Line 508  class Test_util_binary_with_tagged_data(
508        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
509     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
510     def test_inner_taggedData_rank4_constData_rank4(self):     def test_inner_taggedData_rank4_constData_rank4(self):
511        arg0=Data(numpy.array([[[[0.29901440567790405, 0.9031194922891097, 0.025999982863851301, -0.0085334211021907969], [-0.36205096754265065, 0.11915636002224073, -0.58711429493738776, -0.84298737566654913], [-0.40963741898674244, 0.94032728357639006, 0.89349879125861742, 0.53171776117860903]], [[0.84500845801135704, -0.23633741039288836, -0.084149210804974395, -0.21024329844301426], [0.96569229606788176, 0.58697168799131205, 0.9558971504815712, 0.15021962201553118], [-0.60704011942235114, -0.57407911773795894, -0.94662067720255694, -0.043173494156841796]]], [[[0.77613103784608706, 0.35358500911921165, -0.64043610088055591, -0.33703728044364478], [-0.87655602692675738, 0.2784735402321028, 0.57934321601059002, 0.7518380843530359], [-0.92039899983598406, -0.99759406430027497, -0.80885972946757856, 0.25257539420473907]], [[0.28771691902278484, -0.81145553520462999, -0.97338059936466825, 0.052548984154607403], [-0.71838493503732237, -0.13341829480990519, 0.38414702381658983, -0.73867420481304014], [-0.76458975420853692, -0.87911036052671898, -0.41932776165557506, -0.92719117870187762]]], [[[0.87632105601352883, -0.40754902794606274, 0.57932627725153818, 0.29700291103489329], [0.27696132610243129, -0.55764776255987769, -0.80971730885116755, -0.78287436487835649], [0.027536084323056764, 0.58700948560074862, -0.20350017878627513, 0.88550540356302698]], [[-0.43064219119292035, -0.66944031639992363, 0.54299150163346144, 0.64204612517360138], [0.90511690197912498, -0.92495620219436114, 0.53906581803937281, 0.30984732682034877], [-0.14688079983411328, -0.42649414272498531, 0.7311815068546168, 0.78148619773319283]]]]),self.functionspace)        arg0=Data(numpy.array([[[[0.29901440567790405, 0.9031194922891097, 0.025999982863851301, -0.0085334211021907969],
512        arg0.setTaggedValue(1,numpy.array([[[[0.93173347253756544, -0.65109717971547276, -0.46341530924930274, -0.84302490867508673], [0.90803919328439431, 0.97288378452257995, -0.73580808213542048, -0.98913655693295088], [-0.77753407695080567, 0.39219163958162784, 0.58652744665213885, 0.21157389070092236]], [[0.99896324273859882, -0.76755957208574754, 0.9275294804062808, 0.24783112362819915], [-0.81680122911144815, 0.85947950762483161, 0.88629908134471846, 0.85527445337149599], [-0.9226219031005749, 0.25576031550731071, 0.97929940705262153, 0.59813792024805856]]], [[[-0.18971902341240088, -0.16444486646712542, -0.13914511487771253, -0.33839969204684128], [0.59040989308934799, -0.087931156017434731, 0.91795042600887933, -0.72442856908461484], [-0.40369931243657575, -0.24305058590211037, 0.49222789473168049, -0.31610862233959924]], [[0.47238570938209534, -0.62393951485012589, 0.50716893317002776, -0.021062968036011931], [0.78595074058645031, -0.73896679371025842, -0.406942871003803, -0.065571750030541276], [-0.44505109460536474, 0.58249103491574195, -0.22096363485769421, -0.066782452139382276]]], [[[-0.85248800668164848, 0.84790833155622147, -0.80105414038193956, 0.39156841745558957], [0.31858132709713027, 0.56258056735771822, 0.059858200683915452, -0.34747710076497174], [-0.36461217957625736, 0.0066746374399917485, -0.2237271279211821, 0.49797443129070662]], [[0.40135001265003312, -0.64389635553832347, -0.69660568862034666, 0.89522800033009875], [-0.10890875868678651, -0.4599840617941251, -0.20008830321673532, -0.082680996669195039], [-0.82118227598991367, 0.122629195898597, 0.24040621816356422, 0.29228571959435956]]]]))  [-0.36205096754265065, 0.11915636002224073, -0.58711429493738776, -0.84298737566654913], [-0.40963741898674244,
513        arg1=Data(numpy.array([[[[0.96771549795725864, 0.037359900176048289, -0.5954350987864907, -0.83698211107104714], [-0.57357279902264424, 0.5669393140813257, -0.34450077580311644, -0.74632845089441013], [-0.35478224007976622, -0.42531507718140471, -0.99815520673525593, 0.18387384340348878]], [[-0.44228171189793097, 0.19306845870863198, -0.81023238664850017, 0.44555560829611918], [0.042488860812775808, -0.36751275480234336, 0.75034399621512105, 0.30834797293925931], [-0.099236591307724442, 0.0088709277917524698, 0.88007289887288764, -0.37597231686200927]]], [[[0.71897129043937458, -0.86597853444809192, 0.39941642297585389, 0.28932696715234885], [-0.6778465086312746, 0.53164607266468056, 0.15258719511805108, 0.25509762688165627], [0.60791914995828167, -0.14276691775636396, 0.58831735495593973, 0.74986407406594902]], [[0.28179048693667386, -0.33247434289894673, 0.39762153813817003, -0.97392960404583162], [-0.1609102007698251, 0.072438246693509178, -0.72269427573500011, 0.65969814794193393], [0.65965274024402065, 0.87024164771116408, -0.76682432225484431, 0.22224883928496397]]], [[[-0.98355907454056024, -0.42568711233801926, 0.25071877872545989, 0.75918366253916481], [-0.30179748821004604, 0.87787646961536159, 0.10783491615373664, 0.37882286090190864], [-0.77004123634346344, 0.91064981370481912, -0.85282374653466331, -0.40315177036510152]], [[-0.31227172749684762, -0.21296591311923052, 0.45444771231558789, 0.85637856278212743], [0.40638168645853034, 0.37810190214103834, 0.81497970055887348, -0.36477796125600181], [-0.40072222126590873, 0.02914156830482062, 0.085533392822153775, -0.62286801487541354]]]]),self.functionspace)  0.94032728357639006, 0.89349879125861742, 0.53171776117860903]], [[0.84500845801135704, -0.23633741039288836,
514    -0.084149210804974395, -0.21024329844301426], [0.96569229606788176, 0.58697168799131205, 0.9558971504815712,
515    0.15021962201553118], [-0.60704011942235114, -0.57407911773795894, -0.94662067720255694, -0.043173494156841796]]],
516    [[[0.77613103784608706, 0.35358500911921165, -0.64043610088055591, -0.33703728044364478], [-0.87655602692675738,
517    0.2784735402321028, 0.57934321601059002, 0.7518380843530359], [-0.92039899983598406, -0.99759406430027497,
518    -0.80885972946757856, 0.25257539420473907]], [[0.28771691902278484, -0.81145553520462999, -0.97338059936466825,
519    0.052548984154607403], [-0.71838493503732237, -0.13341829480990519, 0.38414702381658983, -0.73867420481304014],
520    [-0.76458975420853692, -0.87911036052671898, -0.41932776165557506, -0.92719117870187762]]], [[[0.87632105601352883,
521    -0.40754902794606274, 0.57932627725153818, 0.29700291103489329], [0.27696132610243129, -0.55764776255987769,
522    -0.80971730885116755, -0.78287436487835649], [0.027536084323056764, 0.58700948560074862, -0.20350017878627513,
523    0.88550540356302698]], [[-0.43064219119292035, -0.66944031639992363, 0.54299150163346144, 0.64204612517360138],
524    [0.90511690197912498, -0.92495620219436114, 0.53906581803937281, 0.30984732682034877], [-0.14688079983411328,
525    -0.42649414272498531, 0.7311815068546168, 0.78148619773319283]]]]),self.functionspace)
526          arg0.setTaggedValue(1,numpy.array([[[[0.93173347253756544, -0.65109717971547276, -0.46341530924930274,
527    -0.84302490867508673], [0.90803919328439431, 0.97288378452257995, -0.73580808213542048, -0.98913655693295088],
528    [-0.77753407695080567, 0.39219163958162784, 0.58652744665213885, 0.21157389070092236]], [[0.99896324273859882,
529    -0.76755957208574754, 0.9275294804062808, 0.24783112362819915], [-0.81680122911144815, 0.85947950762483161,
530    0.88629908134471846, 0.85527445337149599], [-0.9226219031005749, 0.25576031550731071, 0.97929940705262153,
531    0.59813792024805856]]], [[[-0.18971902341240088, -0.16444486646712542, -0.13914511487771253, -0.33839969204684128],
532    [0.59040989308934799, -0.087931156017434731, 0.91795042600887933, -0.72442856908461484], [-0.40369931243657575,
533    -0.24305058590211037, 0.49222789473168049, -0.31610862233959924]], [[0.47238570938209534, -0.62393951485012589,
534    0.50716893317002776, -0.021062968036011931], [0.78595074058645031, -0.73896679371025842, -0.406942871003803,
535    -0.065571750030541276], [-0.44505109460536474, 0.58249103491574195, -0.22096363485769421, -0.066782452139382276]]],
536    [[[-0.85248800668164848, 0.84790833155622147, -0.80105414038193956, 0.39156841745558957], [0.31858132709713027,
537    0.56258056735771822, 0.059858200683915452, -0.34747710076497174], [-0.36461217957625736, 0.0066746374399917485,
538    -0.2237271279211821, 0.49797443129070662]], [[0.40135001265003312, -0.64389635553832347, -0.69660568862034666,
539    0.89522800033009875], [-0.10890875868678651, -0.4599840617941251, -0.20008830321673532, -0.082680996669195039],
540    [-0.82118227598991367, 0.122629195898597, 0.24040621816356422, 0.29228571959435956]]]]))
541          arg1=Data(numpy.array([[[[0.96771549795725864, 0.037359900176048289, -0.5954350987864907, -0.83698211107104714],
542    [-0.57357279902264424, 0.5669393140813257, -0.34450077580311644, -0.74632845089441013], [-0.35478224007976622,
543    -0.42531507718140471, -0.99815520673525593, 0.18387384340348878]], [[-0.44228171189793097, 0.19306845870863198,
544    -0.81023238664850017, 0.44555560829611918], [0.042488860812775808, -0.36751275480234336, 0.75034399621512105,
545    0.30834797293925931], [-0.099236591307724442, 0.0088709277917524698, 0.88007289887288764, -0.37597231686200927]]],
546    [[[0.71897129043937458, -0.86597853444809192, 0.39941642297585389, 0.28932696715234885], [-0.6778465086312746,
547    0.53164607266468056, 0.15258719511805108, 0.25509762688165627], [0.60791914995828167, -0.14276691775636396,
548    0.58831735495593973, 0.74986407406594902]], [[0.28179048693667386, -0.33247434289894673, 0.39762153813817003,
549    -0.97392960404583162], [-0.1609102007698251, 0.072438246693509178, -0.72269427573500011, 0.65969814794193393],
550    [0.65965274024402065, 0.87024164771116408, -0.76682432225484431, 0.22224883928496397]]], [[[-0.98355907454056024,
551    -0.42568711233801926, 0.25071877872545989, 0.75918366253916481], [-0.30179748821004604, 0.87787646961536159,
552    0.10783491615373664, 0.37882286090190864], [-0.77004123634346344, 0.91064981370481912, -0.85282374653466331,
553    -0.40315177036510152]], [[-0.31227172749684762, -0.21296591311923052, 0.45444771231558789, 0.85637856278212743],
554    [0.40638168645853034, 0.37810190214103834, 0.81497970055887348, -0.36477796125600181], [-0.40072222126590873,
555    0.02914156830482062, 0.085533392822153775, -0.62286801487541354]]]]),self.functionspace)
556        res=inner(arg0,arg1)        res=inner(arg0,arg1)
557        ref=Data(-1.83246345289,self.functionspace)        ref=Data(-1.83246345289,self.functionspace)
558        ref.setTaggedValue(1,4.13118192843)        ref.setTaggedValue(1,4.13118192843)
# Line 311  class Test_util_binary_with_tagged_data( Line 585  class Test_util_binary_with_tagged_data(
585        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
586     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
587     def test_inner_taggedData_rank2_taggedData_rank2(self):     def test_inner_taggedData_rank2_taggedData_rank2(self):
588        arg0=Data(numpy.array([[-0.59285507566264051, -0.47520002555899565, -0.68483564116719342, -0.35716593649665862, 0.13204124253991267], [-0.80815584374526939, -0.80340852882116365, 0.32081938942243848, 0.69658503961797735, -0.18749966448003064], [0.060119105026210207, 0.90726525358976251, -0.075765812458028048, 0.10866642153023043, -0.86481564258563037], [-0.23574277109004438, -0.65453562495164008, -0.95937246178106372, -0.17949404404798064, -0.47210068514118397]]),self.functionspace)        arg0=Data(numpy.array([[-0.59285507566264051, -0.47520002555899565, -0.68483564116719342, -0.35716593649665862,
589        arg0.setTaggedValue(1,numpy.array([[-0.79669530621211937, -0.11900964643742329, -0.96003323961397058, 0.7871084173611913, -0.52059390752311052], [-0.68122534260154244, -0.84754682997019004, -0.65024778196675093, 0.2504267717604276, 0.74116767365785963], [-0.40421446705476338, 0.53968966639394922, 0.48233473899696744, 0.1831776910000269, -0.46084692232247892], [-0.51015778935582534, 0.65710366347273963, 0.55467804635148021, -0.44099861336485735, -0.049752088645277803]]))  0.13204124253991267], [-0.80815584374526939, -0.80340852882116365, 0.32081938942243848, 0.69658503961797735,
590        arg1=Data(numpy.array([[0.27811978974420604, -0.34574572935507741, -0.072537995212597295, -0.0026819717578348001, 0.45862131080365187], [-0.81571756275732832, -0.85843196798903798, -0.46746207611434909, 0.87189862294837606, -0.67777784569729249], [-0.6022914410958089, -0.3295668496915769, 0.64292115598117272, 0.6062781034541076, -0.2580700009527237], [0.058346007481130613, 0.11124458583850361, 0.20428599823424465, -0.90805616312429382, -0.83047458573595723]]),self.functionspace)  -0.18749966448003064], [0.060119105026210207, 0.90726525358976251, -0.075765812458028048, 0.10866642153023043,
591        arg1.setTaggedValue(1,numpy.array([[-0.31568261499313421, -0.51379781398090363, -0.77765719558176261, -0.64830981854176728, 0.74388439618332192], [-0.56443373296554111, 0.048160305525875913, -0.39797487278496946, 0.9773016060932691, 0.93838869754644461], [-0.99428542819784149, 0.38601068041332054, -0.30908598679465493, -0.26361139513097553, 0.52705552454466664], [0.40498164041729412, -0.14360398560872945, 0.71130467268539221, -0.0038535998638467017, 0.11782382233153932]]))  -0.86481564258563037], [-0.23574277109004438, -0.65453562495164008, -0.95937246178106372, -0.17949404404798064,
592    -0.47210068514118397]]),self.functionspace)
593          arg0.setTaggedValue(1,numpy.array([[-0.79669530621211937, -0.11900964643742329, -0.96003323961397058, 0.7871084173611913,
594    -0.52059390752311052], [-0.68122534260154244, -0.84754682997019004, -0.65024778196675093, 0.2504267717604276,
595    0.74116767365785963], [-0.40421446705476338, 0.53968966639394922, 0.48233473899696744, 0.1831776910000269,
596    -0.46084692232247892], [-0.51015778935582534, 0.65710366347273963, 0.55467804635148021, -0.44099861336485735,
597    -0.049752088645277803]]))
598          arg1=Data(numpy.array([[0.27811978974420604, -0.34574572935507741, -0.072537995212597295, -0.0026819717578348001,
599    0.45862131080365187], [-0.81571756275732832, -0.85843196798903798, -0.46746207611434909, 0.87189862294837606,
600    -0.67777784569729249], [-0.6022914410958089, -0.3295668496915769, 0.64292115598117272, 0.6062781034541076,
601    -0.2580700009527237], [0.058346007481130613, 0.11124458583850361, 0.20428599823424465, -0.90805616312429382,
602    -0.83047458573595723]]),self.functionspace)
603          arg1.setTaggedValue(1,numpy.array([[-0.31568261499313421, -0.51379781398090363, -0.77765719558176261,
604    -0.64830981854176728, 0.74388439618332192], [-0.56443373296554111, 0.048160305525875913, -0.39797487278496946,
605    0.9773016060932691, 0.93838869754644461], [-0.99428542819784149, 0.38601068041332054, -0.30908598679465493,
606    -0.26361139513097553, 0.52705552454466664], [0.40498164041729412, -0.14360398560872945, 0.71130467268539221,
607    -0.0038535998638467017, 0.11782382233153932]]))
608        res=inner(arg0,arg1)        res=inner(arg0,arg1)
609        ref=Data(2.22161089579,self.functionspace)        ref=Data(2.22161089579,self.functionspace)
610        ref.setTaggedValue(1,1.96377456382)        ref.setTaggedValue(1,1.96377456382)
# Line 323  class Test_util_binary_with_tagged_data( Line 613  class Test_util_binary_with_tagged_data(
613        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
614     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
615     def test_inner_taggedData_rank3_taggedData_rank3(self):     def test_inner_taggedData_rank3_taggedData_rank3(self):
616        arg0=Data(numpy.array([[[-0.63099897684983297, -0.56489482197356278], [0.87576068679994878, 0.57635076518298689]], [[-0.025656634022058089, 0.34281663660139361], [0.63860958454205163, -0.57576006027474724]], [[0.77430471641108456, 0.20897079849639777], [-0.93671591554694755, -0.31542122668115646]], [[-0.57230787874269962, -0.68996602427383191], [0.30925657710009347, -0.03444930304938687]], [[-0.61158288831097773, -0.087306503756426901], [-0.11486359350471487, 0.063503411374259411]], [[0.85134467175787698, -0.14556230835185446], [-0.56337662681433032, 0.30279662287750519]]]),self.functionspace)        arg0=Data(numpy.array([[[-0.63099897684983297, -0.56489482197356278], [0.87576068679994878, 0.57635076518298689]],
617        arg0.setTaggedValue(1,numpy.array([[[0.45520052862702776, 0.92668278477422872], [0.94323760968945458, -0.52005237383246561]], [[-0.32678083302773642, -0.54888597470017242], [-0.00060725574578079922, 0.87555709700271667]], [[0.80419737911843492, -0.53047314352854724], [0.83270188932360933, 0.83066709908869263]], [[0.19151836066385552, 0.19688232230826075], [0.62209069061508515, -0.98427703050341275]], [[-0.61985880706926877, 0.23056481696150444], [0.92576528848433015, -0.53736632833367026]], [[-0.24828334391352547, 0.11617811407597545], [0.68051988188473556, -0.44481686842644508]]]))  [[-0.025656634022058089, 0.34281663660139361], [0.63860958454205163, -0.57576006027474724]], [[0.77430471641108456,
618        arg1=Data(numpy.array([[[0.3624297843769877, 0.24162259052245405], [0.56010899163227124, -0.17364424406575552]], [[-0.36104068262474343, -0.79823476718227737], [-0.90991851631562293, 0.26592778488442947]], [[0.80285485331432982, -0.7520192183400265], [-0.66568659982073708, 0.46258338899654561]], [[-0.54938027450769233, 0.39552092225871083], [-0.9719272769837084, 0.014499930391750793]], [[-0.15413176943367746, -0.73343318088535692], [-0.30653831076426186, 0.028183265606130048]], [[0.34991669521925917, -0.43784659634409429], [0.11910057220329651, 0.10598952402746575]]]),self.functionspace)  0.20897079849639777], [-0.93671591554694755, -0.31542122668115646]], [[-0.57230787874269962, -0.68996602427383191],
619        arg1.setTaggedValue(1,numpy.array([[[0.86907204319284204, -0.39706660589599441], [-0.91393853231426792, 0.40971196863579329]], [[-0.63120886266547527, 0.75156060212798526], [-0.41086531054703257, -0.34660332161981211]], [[0.68511982467319288, -0.7837293681559756], [0.81881601067748, 0.6062833136506558]], [[0.22883779528070702, -0.51196618625056556], [0.079972284998143683, 0.77884964075776497]], [[-0.22589859699003689, -0.062651417883206939], [0.82455276325167981, 0.7756546399164439]], [[-0.82260777179176725, 0.21182506900096332], [0.48899508942132797, -0.78748367970741806]]]))  [0.30925657710009347, -0.03444930304938687]], [[-0.61158288831097773, -0.087306503756426901], [-0.11486359350471487,
620    0.063503411374259411]], [[0.85134467175787698, -0.14556230835185446], [-0.56337662681433032,
621    0.30279662287750519]]]),self.functionspace)
622          arg0.setTaggedValue(1,numpy.array([[[0.45520052862702776, 0.92668278477422872], [0.94323760968945458,
623    -0.52005237383246561]], [[-0.32678083302773642, -0.54888597470017242], [-0.00060725574578079922, 0.87555709700271667]],
624    [[0.80419737911843492, -0.53047314352854724], [0.83270188932360933, 0.83066709908869263]], [[0.19151836066385552,
625    0.19688232230826075], [0.62209069061508515, -0.98427703050341275]], [[-0.61985880706926877, 0.23056481696150444],
626    [0.92576528848433015, -0.53736632833367026]], [[-0.24828334391352547, 0.11617811407597545], [0.68051988188473556,
627    -0.44481686842644508]]]))
628          arg1=Data(numpy.array([[[0.3624297843769877, 0.24162259052245405], [0.56010899163227124, -0.17364424406575552]],
629    [[-0.36104068262474343, -0.79823476718227737], [-0.90991851631562293, 0.26592778488442947]], [[0.80285485331432982,
630    -0.7520192183400265], [-0.66568659982073708, 0.46258338899654561]], [[-0.54938027450769233, 0.39552092225871083],
631    [-0.9719272769837084, 0.014499930391750793]], [[-0.15413176943367746, -0.73343318088535692], [-0.30653831076426186,
632    0.028183265606130048]], [[0.34991669521925917, -0.43784659634409429], [0.11910057220329651,
633    0.10598952402746575]]]),self.functionspace)
634          arg1.setTaggedValue(1,numpy.array([[[0.86907204319284204, -0.39706660589599441], [-0.91393853231426792,
635    0.40971196863579329]], [[-0.63120886266547527, 0.75156060212798526], [-0.41086531054703257, -0.34660332161981211]],
636    [[0.68511982467319288, -0.7837293681559756], [0.81881601067748, 0.6062833136506558]], [[0.22883779528070702,
637    -0.51196618625056556], [0.079972284998143683, 0.77884964075776497]], [[-0.22589859699003689, -0.062651417883206939],
638    [0.82455276325167981, 0.7756546399164439]], [[-0.82260777179176725, 0.21182506900096332], [0.48899508942132797,
639    -0.78748367970741806]]]))
640        res=inner(arg0,arg1)        res=inner(arg0,arg1)
641        ref=Data(0.231204149557,self.functionspace)        ref=Data(0.231204149557,self.functionspace)
642        ref.setTaggedValue(1,1.20540052616)        ref.setTaggedValue(1,1.20540052616)
# Line 335  class Test_util_binary_with_tagged_data( Line 645  class Test_util_binary_with_tagged_data(
645        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
646     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
647     def test_inner_taggedData_rank4_taggedData_rank4(self):     def test_inner_taggedData_rank4_taggedData_rank4(self):
648        arg0=Data(numpy.array([[[[-0.71948751414580037, -0.64781588667774659, -0.088032923972571897, 0.054079744210093317], [-0.64775883661869282, -0.54486598614577897, -0.0019816261638903043, -0.84199073796448354], [-0.55027210883717981, -0.40280920665623388, -0.8673821158295103, -0.18432839999127437]], [[-0.3408271613641829, 0.50574412143448799, 0.059464953272122978, 0.9675736205602492], [-0.65590706272406174, 0.53037732687981065, -0.51596692546482092, 0.33909732806059179], [-0.29029794622158156, 0.55191338400453205, 0.30287253189259711, 0.94497734413693113]]], [[[0.92184474824529339, 0.72491675260537058, 0.49949022044145197, -0.87315675263095671], [-0.53164765916718748, -0.9138962661714165, -0.32585173514235644, 0.053860995934299938], [0.22204320693690738, 0.61326278789361099, 0.97162159232513989, -0.0046997300297617617]], [[-0.13056640348089199, -0.71505402281774288, 0.20927319679314071, 0.36386054817114721], [-0.67572006875081825, -0.94312980857763828, 0.50951874798691454, -0.094459509225578886], [-0.88334465053270694, -0.18710291810863389, 0.23413554940078574, -0.64741492323569028]]], [[[0.76943810054018402, -0.4977166800238535, 0.99343345931789417, -0.92268077779255164], [-0.30687214928582351, -0.16938779390059655, -0.5923552823543683, 0.19555802252634669], [-0.49409987795201205, -0.68189354687907833, 0.10148799526762642, 0.43762912889100924]], [[0.21330953271871644, -0.86281038300098079, 0.55281060980824859, -0.26208773952328013], [-0.048334510182155288, -0.99019303342560305, -0.81418813459348294, -0.18561915813057617], [-0.16737744524309939, -0.42892713904953328, -0.479182258539395, -0.9143551786234243]]]]),self.functionspace)        arg0=Data(numpy.array([[[[-0.71948751414580037, -0.64781588667774659, -0.088032923972571897, 0.054079744210093317],
649        arg0.setTaggedValue(1,numpy.array([[[[0.03959829715553842, 0.03206020292258227, -0.042319158754688058, -0.38958679047303701], [0.56661911363801054, -0.039128056995030081, 0.84608017122893053, -0.65540424958151067], [-0.036702649306371793, -0.64902506672584415, 0.56737244475128112, -0.24009348542488085]], [[0.89968083834723278, -0.30530432784448647, -0.69894302577411183, -0.25158939138697201], [0.16065434957059921, 0.96387165874786085, 0.91252381153183837, -0.058815691077375831], [0.85705094158458639, 0.26961554961272638, 0.034269667345734778, 0.55409192189872125]]], [[[-0.31195338416821694, -0.021823979889771472, 0.42167375872207979, 0.88427101866238367], [-0.54686992122438105, 0.89571500114111835, -0.84064098700206435, -0.41567856327135488], [-0.12855262867354345, -0.23040118503656126, 0.55179419467831692, -0.21537636882255429]], [[0.75773586034712292, -0.85240514106722798, -0.11863725681909409, 0.17084848248916762], [0.18824768436294281, -0.79883126927693882, 0.99681510160602982, -0.39530428502963511], [0.6816256286594744, 0.24227154919409633, 0.26379431003658138, 0.56490989421835569]]], [[[-0.39704563818569771, 0.78730977171969618, -0.69079582594092925, 0.19189128195849259], [-0.9497781597720647, 0.066726644605307639, 0.78629697089477624, -0.079938536408641125], [-0.015828071684629741, -0.72832510900241743, -0.15571479670578059, -0.42344871341450974]], [[-0.82302900024278269, -0.99641257125367311, 0.90133253519800971, -0.34491520623514904], [0.48521882511753556, 0.99595220501109005, -0.60051252255359677, -0.19778582998287031], [-0.72707202883707533, -0.19129846963009722, -0.33819109789849344, -0.23324369379622434]]]]))  [-0.64775883661869282, -0.54486598614577897, -0.0019816261638903043, -0.84199073796448354], [-0.55027210883717981,
650        arg1=Data(numpy.array([[[[0.72322433571756628, 0.52813398097811026, 0.75264927586505981, -0.96759706336385798], [-0.13506154883816612, -0.2911797036987176, 0.50932331677321829, -0.19649761526093834], [-0.50954953754172583, 0.35616462121150994, 0.87524942312308185, 0.49599073575056951]], [[0.76983479571548696, -0.17545934753128578, 0.50377725683895935, 0.28631997036438239], [-0.61551784906673856, 0.68538123829428721, 0.39202754006468155, -0.604088134739454], [-0.64700888595967099, 0.11889396368766336, -0.062392289770082154, 0.70214215098075194]]], [[[-0.42307398665297735, -0.5357279563431403, 0.81136625962235964, -0.19318176719443447], [0.6300522992970059, 0.24619600335789804, 0.85548841887729266, 0.9880069925635746], [-0.044494129332561139, 0.43313315777013961, -0.5307913979443708, 0.13393668624930566]], [[-0.19708084293410821, -0.19480708208471609, 0.24157893643900707, 0.49968205486697381], [-0.47579868179502993, 0.99926234424174432, -0.72946288247806157, -0.93301550882543283], [0.26613750470382258, 0.070150542673697913, -0.14805872695411804, -0.90248617680211241]]], [[[0.89874171645780998, -0.86569451176748324, -0.18210015358902831, 0.88062483996876129], [-0.56333783885140187, -0.3167602108978631, 0.73926967443023095, -0.45990916601129439], [0.66571371183380457, -0.9307496933129793, 0.072044702559182161, 0.71602956349901792]], [[0.039966388538660969, 0.99635807561281386, 0.249412766853228, -0.14000007463395892], [0.57620787245708183, -0.13295201607213314, -0.9881374355679875, -0.80523611225659231], [0.47975776045195651, 0.6121401752847857, 0.44743784755963079, -0.51286431779566]]]]),self.functionspace)  -0.40280920665623388, -0.8673821158295103, -0.18432839999127437]], [[-0.3408271613641829, 0.50574412143448799,
651        arg1.setTaggedValue(1,numpy.array([[[[-0.11660132854414718, 0.76551438653868575, 0.45165217791484524, 0.39891469653591205], [-0.46674121385468359, -0.2266240009703766, -0.69557886350899234, 0.64151488786120692], [0.038555555357479676, 0.48145240590380145, -0.31631093841892688, 0.42092526904365379]], [[0.71817896538735249, -0.76113031768184825, 0.7368269484389729, -0.58130101635246634], [0.96279927397144882, -0.10975832598306723, 0.032676463171715131, 0.57147873310322961], [0.9300459812828914, 0.30211993558246464, 0.98967760125242288, 0.10894115879188382]]], [[[0.29238488322175304, -0.28208487685506345, -0.19967608765976874, 0.22062245724995866], [-0.63439712392920833, -0.18854322697625014, -0.045485050115293024, 0.81695318081607149], [0.27421677698727098, -0.95097960149364602, 0.12570413607312925, 0.21013648358932602]], [[0.74810615394730418, 0.50953042705177154, -0.41037826258966992, -0.65480548162821517], [0.11274082235793803, -0.11803620030634243, 0.38685100292541907, -0.85993327141888476], [0.17075030304707739, 0.072417695665841997, 0.73975432270814845, 0.49746237446166286]]], [[[-0.57242534664272093, -0.32236428554701702, -0.003192002502402147, -0.42991257848940667], [-0.1653132722502908, 0.15975009875641444, -0.66375512279297721, -0.55959172674133595], [0.73394120398754614, -0.72514934767582373, 0.60456422834647205, -0.82859775418142156]], [[0.50913648818921819, -0.33080185257139827, -0.77644970547352732, -0.67429987359265975], [0.60278325007821287, 0.48425140340277983, 0.9670782068086119, -0.17447848176492564], [-0.34635473356842161, 0.36222881689712927, -0.75534713009921939, -0.50105783084562305]]]]))  0.059464953272122978, 0.9675736205602492], [-0.65590706272406174, 0.53037732687981065, -0.51596692546482092,
652    0.33909732806059179], [-0.29029794622158156, 0.55191338400453205, 0.30287253189259711, 0.94497734413693113]]],
653    [[[0.92184474824529339, 0.72491675260537058, 0.49949022044145197, -0.87315675263095671], [-0.53164765916718748,
654    -0.9138962661714165, -0.32585173514235644, 0.053860995934299938], [0.22204320693690738, 0.61326278789361099,
655    0.97162159232513989, -0.0046997300297617617]], [[-0.13056640348089199, -0.71505402281774288, 0.20927319679314071,
656    0.36386054817114721], [-0.67572006875081825, -0.94312980857763828, 0.50951874798691454, -0.094459509225578886],
657    [-0.88334465053270694, -0.18710291810863389, 0.23413554940078574, -0.64741492323569028]]], [[[0.76943810054018402,
658    -0.4977166800238535, 0.99343345931789417, -0.92268077779255164], [-0.30687214928582351, -0.16938779390059655,
659    -0.5923552823543683, 0.19555802252634669], [-0.49409987795201205, -0.68189354687907833, 0.10148799526762642,
660    0.43762912889100924]], [[0.21330953271871644, -0.86281038300098079, 0.55281060980824859, -0.26208773952328013],
661    [-0.048334510182155288, -0.99019303342560305, -0.81418813459348294, -0.18561915813057617], [-0.16737744524309939,
662    -0.42892713904953328, -0.479182258539395, -0.9143551786234243]]]]),self.functionspace)
663          arg0.setTaggedValue(1,numpy.array([[[[0.03959829715553842, 0.03206020292258227, -0.042319158754688058,
664    -0.38958679047303701], [0.56661911363801054, -0.039128056995030081, 0.84608017122893053, -0.65540424958151067],
665    [-0.036702649306371793, -0.64902506672584415, 0.56737244475128112, -0.24009348542488085]], [[0.89968083834723278,
666    -0.30530432784448647, -0.69894302577411183, -0.25158939138697201], [0.16065434957059921, 0.96387165874786085,
667    0.91252381153183837, -0.058815691077375831], [0.85705094158458639, 0.26961554961272638, 0.034269667345734778,
668    0.55409192189872125]]], [[[-0.31195338416821694, -0.021823979889771472, 0.42167375872207979, 0.88427101866238367],
669    [-0.54686992122438105, 0.89571500114111835, -0.84064098700206435, -0.41567856327135488], [-0.12855262867354345,
670    -0.23040118503656126, 0.55179419467831692, -0.21537636882255429]], [[0.75773586034712292, -0.85240514106722798,
671    -0.11863725681909409, 0.17084848248916762], [0.18824768436294281, -0.79883126927693882, 0.99681510160602982,
672    -0.39530428502963511], [0.6816256286594744, 0.24227154919409633, 0.26379431003658138, 0.56490989421835569]]],
673    [[[-0.39704563818569771, 0.78730977171969618, -0.69079582594092925, 0.19189128195849259], [-0.9497781597720647,
674    0.066726644605307639, 0.78629697089477624, -0.079938536408641125], [-0.015828071684629741, -0.72832510900241743,
675    -0.15571479670578059, -0.42344871341450974]], [[-0.82302900024278269, -0.99641257125367311, 0.90133253519800971,
676    -0.34491520623514904], [0.48521882511753556, 0.99595220501109005, -0.60051252255359677, -0.19778582998287031],
677    [-0.72707202883707533, -0.19129846963009722, -0.33819109789849344, -0.23324369379622434]]]]))
678          arg1=Data(numpy.array([[[[0.72322433571756628, 0.52813398097811026, 0.75264927586505981, -0.96759706336385798],
679    [-0.13506154883816612, -0.2911797036987176, 0.50932331677321829, -0.19649761526093834], [-0.50954953754172583,
680    0.35616462121150994, 0.87524942312308185, 0.49599073575056951]], [[0.76983479571548696, -0.17545934753128578,
681    0.50377725683895935, 0.28631997036438239], [-0.61551784906673856, 0.68538123829428721, 0.39202754006468155,
682    -0.604088134739454], [-0.64700888595967099, 0.11889396368766336, -0.062392289770082154, 0.70214215098075194]]],
683    [[[-0.42307398665297735, -0.5357279563431403, 0.81136625962235964, -0.19318176719443447], [0.6300522992970059,
684    0.24619600335789804, 0.85548841887729266, 0.9880069925635746], [-0.044494129332561139, 0.43313315777013961,
685    -0.5307913979443708, 0.13393668624930566]], [[-0.19708084293410821, -0.19480708208471609, 0.24157893643900707,
686    0.49968205486697381], [-0.47579868179502993, 0.99926234424174432, -0.72946288247806157, -0.93301550882543283],
687    [0.26613750470382258, 0.070150542673697913, -0.14805872695411804, -0.90248617680211241]]], [[[0.89874171645780998,
688    -0.86569451176748324, -0.18210015358902831, 0.88062483996876129], [-0.56333783885140187, -0.3167602108978631,
689    0.73926967443023095, -0.45990916601129439], [0.66571371183380457, -0.9307496933129793, 0.072044702559182161,
690    0.71602956349901792]], [[0.039966388538660969, 0.99635807561281386, 0.249412766853228, -0.14000007463395892],
691    [0.57620787245708183, -0.13295201607213314, -0.9881374355679875, -0.80523611225659231], [0.47975776045195651,
692    0.6121401752847857, 0.44743784755963079, -0.51286431779566]]]]),self.functionspace)
693          arg1.setTaggedValue(1,numpy.array([[[[-0.11660132854414718, 0.76551438653868575, 0.45165217791484524,
694    0.39891469653591205], [-0.46674121385468359, -0.2266240009703766, -0.69557886350899234, 0.64151488786120692],
695    [0.038555555357479676, 0.48145240590380145, -0.31631093841892688, 0.42092526904365379]], [[0.71817896538735249,
696    -0.76113031768184825, 0.7368269484389729, -0.58130101635246634], [0.96279927397144882, -0.10975832598306723,
697    0.032676463171715131, 0.57147873310322961], [0.9300459812828914, 0.30211993558246464, 0.98967760125242288,
698    0.10894115879188382]]], [[[0.29238488322175304, -0.28208487685506345, -0.19967608765976874, 0.22062245724995866],
699    [-0.63439712392920833, -0.18854322697625014, -0.045485050115293024, 0.81695318081607149], [0.27421677698727098,
700    -0.95097960149364602, 0.12570413607312925, 0.21013648358932602]], [[0.74810615394730418, 0.50953042705177154,
701    -0.41037826258966992, -0.65480548162821517], [0.11274082235793803, -0.11803620030634243, 0.38685100292541907,
702    -0.85993327141888476], [0.17075030304707739, 0.072417695665841997, 0.73975432270814845, 0.49746237446166286]]],
703    [[[-0.57242534664272093, -0.32236428554701702, -0.003192002502402147, -0.42991257848940667], [-0.1653132722502908,
704    0.15975009875641444, -0.66375512279297721, -0.55959172674133595], [0.73394120398754614, -0.72514934767582373,
705    0.60456422834647205, -0.82859775418142156]], [[0.50913648818921819, -0.33080185257139827, -0.77644970547352732,
706    -0.67429987359265975], [0.60278325007821287, 0.48425140340277983, 0.9670782068086119, -0.17447848176492564],
707    [-0.34635473356842161, 0.36222881689712927, -0.75534713009921939, -0.50105783084562305]]]]))
708        res=inner(arg0,arg1)        res=inner(arg0,arg1)
709        ref=Data(-0.77939206013,self.functionspace)        ref=Data(-0.77939206013,self.functionspace)
710        ref.setTaggedValue(1,1.72876212013)        ref.setTaggedValue(1,1.72876212013)
# Line 373  class Test_util_binary_with_tagged_data( Line 739  class Test_util_binary_with_tagged_data(
739        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
740     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
741     def test_inner_taggedData_rank2_expandedData_rank2(self):     def test_inner_taggedData_rank2_expandedData_rank2(self):
742        arg0=Data(numpy.array([[-0.74015282640300795, 0.34260538181516598, 0.35578315276374028, -0.95859180704925939, 0.52581097408891986], [-0.656480805888358, 0.91643376274250121, 0.74255171441524648, 0.19624447830454428, 0.94146447698777314], [-0.37655932383524138, -0.57865376055953632, -0.80120219108716451, 0.45945090909136499, 0.11656067726762531], [-0.89582199378009797, 0.82514048047505817, -0.36753370461031332, 0.13609522362061499, 0.76483029342018449]]),self.functionspace)        arg0=Data(numpy.array([[-0.74015282640300795, 0.34260538181516598, 0.35578315276374028, -0.95859180704925939,
743        arg0.setTaggedValue(1,numpy.array([[-0.68324089636415986, 0.52618933126277256, -0.85269275292056634, -0.10806111014019271, -0.17171007568465901], [0.83656177589621783, -0.15833013767102622, 0.69219282053392539, -0.14612311986032722, -0.5569042904577779], [-0.56346269838408225, 0.45194026242467111, 0.058264389149598861, 0.76994266937276512, -0.1785561307108896], [-0.1678876254876438, -0.58285139923586082, -0.54244343407735407, -0.4210730251986925, 0.94886500245540417]]))  0.52581097408891986], [-0.656480805888358, 0.91643376274250121, 0.74255171441524648, 0.19624447830454428, 0.94146447698777314],
744        arg1=Data(numpy.array([[-0.61722112040621724, -0.25320231919739533, 0.30400790930944321, 0.055148331687939534, -0.75652109819832791], [0.54007098693804756, 0.31105907263661803, -0.48388576637186542, 0.69204595415912551, -0.50335121974716412], [-0.32278781945265123, -0.5901729909386304, 0.18387656012102616, 0.27128102614766259, 0.39016873373812855], [0.024998373971658605, -0.046212595698132075, -0.32649346732550288, -0.53127005870416855, -0.11967705502189041]]),self.functionspace)  [-0.37655932383524138, -0.57865376055953632, -0.80120219108716451, 0.45945090909136499, 0.11656067726762531],
745        arg1.setTaggedValue(1,numpy.array([[-0.15300639798969806, 0.21998595473356142, 0.84946801589096554, 0.34003925506328025, 0.62546611322835766], [-0.50975518079599724, 0.4260634853576466, 0.3266420091384945, -0.96241591847404218, -0.12686209990361186], [-0.36538447347006486, -0.29024523203095676, 0.84864448070847875, 0.68358190413775088, 0.13966761225455349], [0.11897725756956645, -0.81737951700249223, 0.36624280738599424, 0.67407674126763162, 0.73573710415460991]]))  [-0.89582199378009797, 0.82514048047505817, -0.36753370461031332, 0.13609522362061499,
746    0.76483029342018449]]),self.functionspace)
747          arg0.setTaggedValue(1,numpy.array([[-0.68324089636415986, 0.52618933126277256, -0.85269275292056634,
748    -0.10806111014019271, -0.17171007568465901], [0.83656177589621783, -0.15833013767102622, 0.69219282053392539,
749    -0.14612311986032722, -0.5569042904577779], [-0.56346269838408225, 0.45194026242467111, 0.058264389149598861,
750    0.76994266937276512, -0.1785561307108896], [-0.1678876254876438, -0.58285139923586082, -0.54244343407735407,
751    -0.4210730251986925, 0.94886500245540417]]))
752          arg1=Data(numpy.array([[-0.61722112040621724, -0.25320231919739533, 0.30400790930944321, 0.055148331687939534,
753    -0.75652109819832791], [0.54007098693804756, 0.31105907263661803, -0.48388576637186542, 0.69204595415912551,
754    -0.50335121974716412], [-0.32278781945265123, -0.5901729909386304, 0.18387656012102616, 0.27128102614766259,
755    0.39016873373812855], [0.024998373971658605, -0.046212595698132075, -0.32649346732550288, -0.53127005870416855,
756    -0.11967705502189041]]),self.functionspace)
757          arg1.setTaggedValue(1,numpy.array([[-0.15300639798969806, 0.21998595473356142, 0.84946801589096554, 0.34003925506328025,
758    0.62546611322835766], [-0.50975518079599724, 0.4260634853576466, 0.3266420091384945, -0.96241591847404218,
759    -0.12686209990361186], [-0.36538447347006486, -0.29024523203095676, 0.84864448070847875, 0.68358190413775088,
760    0.13966761225455349], [0.11897725756956645, -0.81737951700249223, 0.36624280738599424, 0.67407674126763162,
761    0.73573710415460991]]))
762        arg1.expand()        arg1.expand()
763        res=inner(arg0,arg1)        res=inner(arg0,arg1)
764        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)
# Line 386  class Test_util_binary_with_tagged_data( Line 768  class Test_util_binary_with_tagged_data(
768        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
769     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
770     def test_inner_taggedData_rank3_expandedData_rank3(self):     def test_inner_taggedData_rank3_expandedData_rank3(self):
771        arg0=Data(numpy.array([[[0.04527592716388873, 0.34114590892642283], [-0.83054331936940384, 0.88153655281857657]], [[-0.13272917086387204, -0.71480603910144835], [-0.36607775733150905, 0.81480599636560447]], [[-0.20924221699405821, 0.6259068731994597], [-0.90102796240691441, 0.83174040570989227]], [[0.70507295639071121, 0.87049430517490101], [-0.97020053016372709, -0.28925410812528018]], [[0.43196389756055753, 0.72295081379266812], [-0.28947731243336605, -0.72685840948306124]], [[-0.78373848663475099, 0.046307104214429851], [0.54827234142990355, 0.88675506628355438]]]),self.functionspace)        arg0=Data(numpy.array([[[0.04527592716388873, 0.34114590892642283], [-0.83054331936940384, 0.88153655281857657]],
772        arg0.setTaggedValue(1,numpy.array([[[-0.31644447368303252, -0.85407269091911386], [0.53325611642083071, 0.9546087439464499]], [[-0.68175983978548538, 0.84967530069626807], [0.18363148543931396, -0.7246707761683977]], [[0.96696479484545872, 0.48959920604011176], [-0.7612429871592914, -0.24031010014873466]], [[0.026182145365968967, -0.96597809023288228], [0.38450430959240212, -0.88589959379295946]], [[0.57899562041495067, 0.1800154262219722], [0.89900074445892364, 0.84428089795492656]], [[0.81166460582694921, -0.54596599158660064], [0.64838049543887233, -0.75801153584345138]]]))  [[-0.13272917086387204, -0.71480603910144835], [-0.36607775733150905, 0.81480599636560447]], [[-0.20924221699405821,
773        arg1=Data(numpy.array([[[0.83107737053232289, -0.57262746540360876], [0.23672209655988996, -0.65974531141512038]], [[0.49733062911711823, 0.95719570405319865], [0.73772840274932494, 0.98101851234263693]], [[0.76022547585316058, 0.097409290221732947], [-0.69907318728119039, 0.023178103052963195]], [[-0.21937776377214324, 0.020723991796819607], [-0.72495879308969391, -0.32417201408052709]], [[-0.92308332596971088, 0.27957346298220309], [0.69348531065060226, -0.11821664244865615]], [[0.50253077680478753, 0.31165113944410061], [0.3604186273887604, 0.65274899907837991]]]),self.functionspace)  0.6259068731994597], [-0.90102796240691441, 0.83174040570989227]], [[0.70507295639071121, 0.87049430517490101],
774        arg1.setTaggedValue(1,numpy.array([[[0.29172978614112588, -0.42914637757965024], [0.063644524529885338, 0.086087423541371555]], [[0.57550431699199112, -0.30604392771451594], [0.58767735617014449, -0.85096865557142465]], [[0.84181879782358382, 0.17131229932521164], [-0.16705983065639618, 0.043525372154784359]], [[0.13709589872467887, -0.65145122773254927], [-0.94597700784239147, -0.84173516251097169]], [[0.67397514792368463, -0.13865663347316781], [0.865377253349773, 0.30106762242922702]], [[0.8107329793189042, -0.083298267334609433], [0.53318109276700598, -0.51299279925058561]]]))  [-0.97020053016372709, -0.28925410812528018]], [[0.43196389756055753, 0.72295081379266812], [-0.28947731243336605,
775    -0.72685840948306124]], [[-0.78373848663475099, 0.046307104214429851], [0.54827234142990355,
776    0.88675506628355438]]]),self.functionspace)
777          arg0.setTaggedValue(1,numpy.array([[[-0.31644447368303252, -0.85407269091911386], [0.53325611642083071,
778    0.9546087439464499]], [[-0.68175983978548538, 0.84967530069626807], [0.18363148543931396, -0.7246707761683977]],
779    [[0.96696479484545872, 0.48959920604011176], [-0.7612429871592914, -0.24031010014873466]], [[0.026182145365968967,
780    -0.96597809023288228], [0.38450430959240212, -0.88589959379295946]], [[0.57899562041495067, 0.1800154262219722],
781    [0.89900074445892364, 0.84428089795492656]], [[0.81166460582694921, -0.54596599158660064], [0.64838049543887233,
782    -0.75801153584345138]]]))
783          arg1=Data(numpy.array([[[0.83107737053232289, -0.57262746540360876], [0.23672209655988996, -0.65974531141512038]],
784    [[0.49733062911711823, 0.95719570405319865], [0.73772840274932494, 0.98101851234263693]], [[0.76022547585316058,
785    0.097409290221732947], [-0.69907318728119039, 0.023178103052963195]], [[-0.21937776377214324, 0.020723991796819607],
786    [-0.72495879308969391, -0.32417201408052709]], [[-0.92308332596971088, 0.27957346298220309], [0.69348531065060226,
787    -0.11821664244865615]], [[0.50253077680478753, 0.31165113944410061], [0.3604186273887604,
788    0.65274899907837991]]]),self.functionspace)
789          arg1.setTaggedValue(1,numpy.array([[[0.29172978614112588, -0.42914637757965024], [0.063644524529885338,
790    0.086087423541371555]], [[0.57550431699199112, -0.30604392771451594], [0.58767735617014449, -0.85096865557142465]],
791    [[0.84181879782358382, 0.17131229932521164], [-0.16705983065639618, 0.043525372154784359]], [[0.13709589872467887,
792    -0.65145122773254927], [-0.94597700784239147, -0.84173516251097169]], [[0.67397514792368463, -0.13865663347316781],
793    [0.865377253349773, 0.30106762242922702]], [[0.8107329793189042, -0.083298267334609433], [0.53318109276700598,
794    -0.51299279925058561]]]))
795        arg1.expand()        arg1.expand()
796        res=inner(arg0,arg1)        res=inner(arg0,arg1)
797        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)
# Line 399  class Test_util_binary_with_tagged_data( Line 801  class Test_util_binary_with_tagged_data(
801        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
802     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
803     def test_inner_taggedData_rank4_expandedData_rank4(self):     def test_inner_taggedData_rank4_expandedData_rank4(self):
804        arg0=Data(numpy.array([[[[-0.17219019122513646, 0.74923535995801038, 0.44855192652037057, 0.22446998606488955], [0.42150478907573108, -0.69600362435931684, -0.81509822772369134, -0.32053361903207866], [0.24583278150303212, 0.66729797894198928, -0.7840034414732493, -0.28743652730633018]], [[0.79161256720759599, 0.93793735933909028, -0.62732091535675449, 0.80286361609286194], [0.43887341300565619, 0.34731867557098406, -0.88874607822934681, 0.80539326716710979], [-0.55223848657954955, -0.80498249389513465, 0.74978160983840558, -0.62486506889592408]]], [[[-0.82494456945128447, 0.1675852867282086, 0.67141114272113089, 0.35030758400002604], [-0.11510861238394865, 0.81624866920338657, -0.37271115026067747, 0.47663545588551903], [-0.79353673977044381, 0.29558103585503193, 0.29816574112623639, -0.051939520957481999]], [[0.53374928695136226, -0.041045366353953394, -0.58783406731129184, 0.12582271415553015], [0.35886028239008572, 0.16105479270527412, 0.4252594750066212, -0.62028400596880751], [-0.52371456130575211, 0.76380972005845593, -0.22029649010521113, -0.56088486005554228]]], [[[0.1105456325448253, 0.5563154467611835, 0.35099905470096049, -0.48360534039540704], [0.087924419225235528, 0.82666464333500489, -0.32409842144976109, 0.60474469759264005], [0.16307198096912479, -0.18178701604843739, -0.13977445370548058, 0.94146164916448938]], [[-0.388306180864749, 0.091137342123327469, 0.49181546389088182, 0.066875559531317963], [0.35990149086040013, 0.059802926465624573, -0.85688282413133821, -0.62016312390795969], [0.21149473035866007, -0.20923197467125121, 0.72731389542375902, -0.96375574939132291]]]]),self.functionspace)        arg0=Data(numpy.array([[[[-0.17219019122513646, 0.74923535995801038, 0.44855192652037057, 0.22446998606488955],
805        arg0.setTaggedValue(1,numpy.array([[[[-0.62357905207504949, -0.24110643046902624, 0.29557766399251362, 0.39695143960789081], [-0.042543292322763548, 0.61176154765913937, -0.014188243381858534, -0.69177081888540126], [0.17934408391736989, -0.33153743779073541, 0.92435407278191373, -0.9764741359080289]], [[0.17640623596665561, 0.7550768826616816, -0.45965092079492953, 0.35716078538347618], [-0.93565430474083788, 0.14875055151392536, 0.82128823897980419, 0.47053065292357199], [0.45489949767011684, 0.39744201553623326, -0.26238127278422119, 0.5382293212479754]]], [[[-0.69698174048168959, 0.99944459330451552, -0.087249343163490645, 0.17466487869659142], [-0.81706275091802727, -0.90657454369626445, -0.034351130983405254, 0.42109769268674224], [0.86139225877878811, -0.2900152904196982, 0.91813724474352987, 0.79561378037072328]], [[0.82729261072575566, 0.63851228593111098, 0.3478062159618478, -0.030396302216106008], [0.63198048549681829, 0.92299575623951613, 0.41497588626123849, 0.19957783908141313], [-0.53367837591227896, -0.9793534246234139, -0.51841273753799899, 0.4884097440280506]]], [[[0.247509530236109, 0.30736862214692873, -0.81698988024644259, -0.58281213669564358], [0.81215595363096327, 0.050056170515610177, 0.070432786246830803, -0.39931857445719032], [-0.24395275157618279, -0.56401371110809273, -0.13923789131922115, 0.80771036953933284]], [[-0.44355131187071195, 0.63000636811961219, 0.040018766730615773, -0.65524273137740896], [-0.35072144889062251, 0.81991147433203748, -0.87099808670290857, -0.076152155315448056], [-0.076153659397851126, 0.88216448223960309, -0.66497998646877776, -0.54902569044694816]]]]))  [0.42150478907573108, -0.69600362435931684, -0.81509822772369134, -0.32053361903207866], [0.24583278150303212,
806        arg1=Data(numpy.array([[[[-0.60789824874002307, -0.51562664877431752, 0.21924446551440835, 0.8703450692197332], [0.51184620770479983, 0.26425223736047521, -0.21337514707539706, -0.069977593528601334], [0.93613615457302823, 0.75287872780637932, 0.36386379031791849, 0.5701902195682087]], [[-0.50223938891886033, 0.73498594836321907, 0.35380332498527078, -0.78265499395511884], [0.036819094732386315, -0.10011656727314899, -0.84764438215540117, 0.81335552800575472], [-0.59083404845535559, -0.39873063316752821, -0.68489338312021419, -0.60490738770483565]]], [[[0.5753236950903815, 0.25731663378135905, 0.45235386956902013, -0.97082714319410801], [-0.85206290600360446, -0.98780592154101576, 0.37624066833805081, 0.66171643403418945], [0.61398004772528258, -0.080252729007424861, 0.18906395487962935, 0.84126295801149142]], [[-0.97800457387511797, -0.81320925193281846, 0.82592731949981379, 0.71955870320011073], [0.59737224004683553, 0.51161797334844583, -0.13248103099738207, -0.32931005562438953], [-0.65750256079126146, -0.33178166455459812, -0.23781293470048182, 0.89306626552475299]]], [[[0.58433021489119419, 0.23757868845617747, -0.95524616093622905, -0.87222988474876417], [0.42686927709766653, -0.35521759624874938, 0.064919829605669443, -0.52924950853283059], [0.15995918164941503, -0.0041293342833377267, 0.90153711754039589, 0.082167001797124994]], [[0.96435421044386671, -0.7426144108006496, 0.8669703937182891, -0.046732673618262499], [-0.121039764882934, 0.72645104809998839, -0.87445452760622722, -0.30003806736680949], [0.33879134768109154, -0.10703582791862254, 0.37921488165206618, 0.084292040123948642]]]]),self.functionspace)  0.66729797894198928, -0.7840034414732493, -0.28743652730633018]], [[0.79161256720759599, 0.93793735933909028,
807        arg1.setTaggedValue(1,numpy.array([[[[0.5973322177732201, -0.32088834326496385, -0.67193384997313688, -0.48299214737059315], [-0.31487850978337617, -0.48589729872964127, -0.19301558619195669, 0.1426966178818958], [0.60704775566127922, -0.90637345231921351, 0.23958934734156934, 0.63253041366672313]], [[-0.56158012586256012, -0.44537522392546891, 0.20449863811989899, -0.68271322535815315], [0.95407293092519874, 0.28684191568381068, 0.24436974251182186, 0.22529497402326015], [0.072578633281052518, 0.39863646953050336, -0.76454189193586042, 0.65338678790100491]]], [[[-0.3191285731579534, 0.41505217711876563, 0.62400009529440048, 0.15392724765383337], [0.71016822409436475, -0.40967190474257431, -0.43905102253482475, 0.8458810832883954], [0.68358857558344877, -0.14476459549402798, -0.94587325731277749, -0.86859611130133252]], [[-0.80498929881911185, -0.2248316936964998, -0.81138869604240327, 0.80620314143989824], [0.6797731765549262, -0.75176789378913322, 0.50343888486979838, 0.65898762310945069], [0.80724306196174944, 0.57053326175887831, -0.17220508145285085, -0.45556191154908832]]], [[[0.76023104743407433, -0.11080122606304532, -0.27297296139648286, 0.77520863803503381], [0.99392177894899092, -0.55560245098486649, 0.0028916940138923319, -0.67982119277838771], [0.61410843140613136, -0.081387643793096487, 0.87145881378238621, -0.90544166094346612]], [[-0.011905541882043957, -0.39751189743906035, 0.2131841841697335, -0.10764270144202426], [0.3830344175432403, 0.427601367590978, -0.19281425363619054, 0.76675351091177624], [0.56460868335711689, 0.32249394605652637, -0.94319147952853788, 0.41054081445047763]]]]))  -0.62732091535675449, 0.80286361609286194], [0.43887341300565619, 0.34731867557098406, -0.88874607822934681,
808    0.80539326716710979], [-0.55223848657954955, -0.80498249389513465, 0.74978160983840558, -0.62486506889592408]]],
809    [[[-0.82494456945128447, 0.1675852867282086, 0.67141114272113089, 0.35030758400002604], [-0.11510861238394865,
810    0.81624866920338657, -0.37271115026067747, 0.47663545588551903], [-0.79353673977044381, 0.29558103585503193,
811    0.29816574112623639, -0.051939520957481999]], [[0.53374928695136226, -0.041045366353953394, -0.58783406731129184,
812    0.12582271415553015], [0.35886028239008572, 0.16105479270527412, 0.4252594750066212, -0.62028400596880751],
813    [-0.52371456130575211, 0.76380972005845593, -0.22029649010521113, -0.56088486005554228]]], [[[0.1105456325448253,
814    0.5563154467611835, 0.35099905470096049, -0.48360534039540704], [0.087924419225235528, 0.82666464333500489,
815    -0.32409842144976109, 0.60474469759264005], [0.16307198096912479, -0.18178701604843739, -0.13977445370548058,
816    0.94146164916448938]], [[-0.388306180864749, 0.091137342123327469, 0.49181546389088182, 0.066875559531317963],
817    [0.35990149086040013, 0.059802926465624573, -0.85688282413133821, -0.62016312390795969], [0.21149473035866007,
818    -0.20923197467125121, 0.72731389542375902, -0.96375574939132291]]]]),self.functionspace)
819          arg0.setTaggedValue(1,numpy.array([[[[-0.62357905207504949, -0.24110643046902624, 0.29557766399251362,
820    0.39695143960789081], [-0.042543292322763548, 0.61176154765913937, -0.014188243381858534, -0.69177081888540126],
821    [0.17934408391736989, -0.33153743779073541, 0.92435407278191373, -0.9764741359080289]], [[0.17640623596665561,
822    0.7550768826616816, -0.45965092079492953, 0.35716078538347618], [-0.93565430474083788, 0.14875055151392536,
823    0.82128823897980419, 0.47053065292357199], [0.45489949767011684, 0.39744201553623326, -0.26238127278422119,
824    0.5382293212479754]]], [[[-0.69698174048168959, 0.99944459330451552, -0.087249343163490645, 0.17466487869659142],
825    [-0.81706275091802727, -0.90657454369626445, -0.034351130983405254, 0.42109769268674224], [0.86139225877878811,
826    -0.2900152904196982, 0.91813724474352987, 0.79561378037072328]], [[0.82729261072575566, 0.63851228593111098,
827    0.3478062159618478, -0.030396302216106008], [0.63198048549681829, 0.92299575623951613, 0.41497588626123849,
828    0.19957783908141313], [-0.53367837591227896, -0.9793534246234139, -0.51841273753799899, 0.4884097440280506]]],
829    [[[0.247509530236109, 0.30736862214692873, -0.81698988024644259, -0.58281213669564358], [0.81215595363096327,
830    0.050056170515610177, 0.070432786246830803, -0.39931857445719032], [-0.24395275157618279, -0.56401371110809273,
831    -0.13923789131922115, 0.80771036953933284]], [[-0.44355131187071195, 0.63000636811961219, 0.040018766730615773,
832    -0.65524273137740896], [-0.35072144889062251, 0.81991147433203748, -0.87099808670290857, -0.076152155315448056],
833    [-0.076153659397851126, 0.88216448223960309, -0.66497998646877776, -0.54902569044694816]]]]))
834          arg1=Data(numpy.array([[[[-0.60789824874002307, -0.51562664877431752, 0.21924446551440835, 0.8703450692197332],
835    [0.51184620770479983, 0.26425223736047521, -0.21337514707539706, -0.069977593528601334], [0.93613615457302823,
836    0.75287872780637932, 0.36386379031791849, 0.5701902195682087]], [[-0.50223938891886033, 0.73498594836321907,
837    0.35380332498527078, -0.78265499395511884], [0.036819094732386315, -0.10011656727314899, -0.84764438215540117,
838    0.81335552800575472], [-0.59083404845535559, -0.39873063316752821, -0.68489338312021419, -0.60490738770483565]]],
839    [[[0.5753236950903815, 0.25731663378135905, 0.45235386956902013, -0.97082714319410801], [-0.85206290600360446,
840    -0.98780592154101576, 0.37624066833805081, 0.66171643403418945], [0.61398004772528258, -0.080252729007424861,
841    0.18906395487962935, 0.84126295801149142]], [[-0.97800457387511797, -0.81320925193281846, 0.82592731949981379,
842    0.71955870320011073], [0.59737224004683553, 0.51161797334844583, -0.13248103099738207, -0.32931005562438953],
843    [-0.65750256079126146, -0.33178166455459812, -0.23781293470048182, 0.89306626552475299]]], [[[0.58433021489119419,
844    0.23757868845617747, -0.95524616093622905, -0.87222988474876417], [0.42686927709766653, -0.35521759624874938,
845    0.064919829605669443, -0.52924950853283059], [0.15995918164941503, -0.0041293342833377267, 0.90153711754039589,
846    0.082167001797124994]], [[0.96435421044386671, -0.7426144108006496, 0.8669703937182891, -0.046732673618262499],
847    [-0.121039764882934, 0.72645104809998839, -0.87445452760622722, -0.30003806736680949], [0.33879134768109154,
848    -0.10703582791862254, 0.37921488165206618, 0.084292040123948642]]]]),self.functionspace)
849          arg1.setTaggedValue(1,numpy.array([[[[0.5973322177732201, -0.32088834326496385, -0.67193384997313688,
850    -0.48299214737059315], [-0.31487850978337617, -0.48589729872964127, -0.19301558619195669, 0.1426966178818958],
851    [0.60704775566127922, -0.90637345231921351, 0.23958934734156934, 0.63253041366672313]], [[-0.56158012586256012,
852    -0.44537522392546891, 0.20449863811989899, -0.68271322535815315], [0.95407293092519874, 0.28684191568381068,
853    0.24436974251182186, 0.22529497402326015], [0.072578633281052518, 0.39863646953050336, -0.76454189193586042,
854    0.65338678790100491]]], [[[-0.3191285731579534, 0.41505217711876563, 0.62400009529440048, 0.15392724765383337],
855    [0.71016822409436475, -0.40967190474257431, -0.43905102253482475, 0.8458810832883954], [0.68358857558344877,
856    -0.14476459549402798, -0.94587325731277749, -0.86859611130133252]], [[-0.80498929881911185, -0.2248316936964998,
857    -0.81138869604240327, 0.80620314143989824], [0.6797731765549262, -0.75176789378913322, 0.50343888486979838,
858    0.65898762310945069], [0.80724306196174944, 0.57053326175887831, -0.17220508145285085, -0.45556191154908832]]],
859    [[[0.76023104743407433, -0.11080122606304532, -0.27297296139648286, 0.77520863803503381], [0.99392177894899092,
860    -0.55560245098486649, 0.0028916940138923319, -0.67982119277838771], [0.61410843140613136, -0.081387643793096487,
861    0.87145881378238621, -0.90544166094346612]], [[-0.011905541882043957, -0.39751189743906035, 0.2131841841697335,
862    -0.10764270144202426], [0.3830344175432403, 0.427601367590978, -0.19281425363619054, 0.76675351091177624],
863    [0.56460868335711689, 0.32249394605652637, -0.94319147952853788, 0.41054081445047763]]]]))
864        arg1.expand()        arg1.expand()
865        res=inner(arg0,arg1)        res=inner(arg0,arg1)
866        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)
# Line 438  class Test_util_binary_with_tagged_data( Line 896  class Test_util_binary_with_tagged_data(
896        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
897     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
898     def test_inner_expandedData_rank2_taggedData_rank2(self):     def test_inner_expandedData_rank2_taggedData_rank2(self):
899        arg0=Data(numpy.array([[0.12356938074285129, -0.01920853546063106, 0.99797588924346758, 0.1814521358364265, -0.96710490129619142], [0.24615420100213536, 0.78570966815461607, 0.45805035539134975, 0.40295861892577944, -0.7654626347054212], [0.23950246235795292, 0.31210794834585487, 0.22275778451495087, -0.62905226860453189, 0.63832679117724633], [0.80164142837524022, -0.34006151475669655, 0.39347903316006327, -0.62722978075401503, 0.37051259062934805]]),self.functionspace)        arg0=Data(numpy.array([[0.12356938074285129, -0.01920853546063106, 0.99797588924346758, 0.1814521358364265,
900        arg0.setTaggedValue(1,numpy.array([[0.31139111044816081, 0.41243883762207312, -0.84412309880631886, -0.46229908275624587, -0.15822034299642085], [-0.099292473975716389, -0.63230154729246624, -0.76315551850768037, 0.53096541743163228, -0.84298130021434936], [-0.15014173680517051, 0.034953258779667706, -0.89299670292643385, -0.26608465750854715, 0.74625836561061765], [0.87546481899795703, -0.83516731700560309, 0.60269148078892232, -0.057040970150197712, -0.14218848069905943]]))  -0.96710490129619142], [0.24615420100213536, 0.78570966815461607, 0.45805035539134975, 0.40295861892577944,
901        arg0.expand()  -0.7654626347054212], [0.23950246235795292, 0.31210794834585487, 0.22275778451495087, -0.62905226860453189,
902        arg1=Data(numpy.array([[0.44501421718614864, 0.71292554717498646, -0.30385959094627824, 0.98699091601403888, -0.90107098306819089], [-0.8453365841560796, 0.93754664347239913, -0.41277677340974606, 0.34312439958775487, -0.9046224544010868], [0.11893886787781782, -0.58091610957755258, -0.54290974321439256, -0.87562899765253221, -0.93565951335733111], [0.91830731262945808, -0.017258798431958322, 0.66237080960218164, 0.027813429785085386, -0.80399945250475913]]),self.functionspace)  0.63832679117724633], [0.80164142837524022, -0.34006151475669655, 0.39347903316006327, -0.62722978075401503,
903        arg1.setTaggedValue(1,numpy.array([[0.30185639425274813, -0.72520880311568647, -0.72450223051087437, -0.012041129145349272, 0.99848200111939067], [-0.96055468361538243, -0.6897296912989217, -0.033108939065968235, -0.76005254094112451, 0.15722870764104546], [0.015723189856038822, -0.75275917186204477, -0.97380545980431488, 0.47134205008990238, -0.15117294499088429], [-0.029051632790475734, -0.036371003881288777, 0.79496823371646652, 0.37192883298626156, 0.79224516523553623]]))  0.37051259062934805]]),self.functionspace)
904          arg0.setTaggedValue(1,numpy.array([[0.31139111044816081, 0.41243883762207312, -0.84412309880631886, -0.46229908275624587,
905    -0.15822034299642085], [-0.099292473975716389, -0.63230154729246624, -0.76315551850768037, 0.53096541743163228,
906    -0.84298130021434936], [-0.15014173680517051, 0.034953258779667706, -0.89299670292643385, -0.26608465750854715,
907    0.74625836561061765], [0.87546481899795703, -0.83516731700560309, 0.60269148078892232, -0.057040970150197712,
908    -0.14218848069905943]]))
909          arg0.expand()
910          arg1=Data(numpy.array([[0.44501421718614864, 0.71292554717498646, -0.30385959094627824, 0.98699091601403888,
911    -0.90107098306819089], [-0.8453365841560796, 0.93754664347239913, -0.41277677340974606, 0.34312439958775487,
912    -0.9046224544010868], [0.11893886787781782, -0.58091610957755258, -0.54290974321439256, -0.87562899765253221,
913    -0.93565951335733111], [0.91830731262945808, -0.017258798431958322, 0.66237080960218164, 0.027813429785085386,
914    -0.80399945250475913]]),self.functionspace)
915          arg1.setTaggedValue(1,numpy.array([[0.30185639425274813, -0.72520880311568647, -0.72450223051087437,
916    -0.012041129145349272, 0.99848200111939067], [-0.96055468361538243, -0.6897296912989217, -0.033108939065968235,
917    -0.76005254094112451, 0.15722870764104546], [0.015723189856038822, -0.75275917186204477, -0.97380545980431488,
918    0.47134205008990238, -0.15117294499088429], [-0.029051632790475734, -0.036371003881288777, 0.79496823371646652,
919    0.37192883298626156, 0.79224516523553623]]))
920        res=inner(arg0,arg1)        res=inner(arg0,arg1)
921        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)
922        ref=msk_ref*(2.32589053931)+(1.-msk_ref)*(1.22760588894)        ref=msk_ref*(2.32589053931)+(1.-msk_ref)*(1.22760588894)
# Line 451  class Test_util_binary_with_tagged_data( Line 925  class Test_util_binary_with_tagged_data(
925        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
926     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
927     def test_inner_expandedData_rank3_taggedData_rank3(self):     def test_inner_expandedData_rank3_taggedData_rank3(self):
928        arg0=Data(numpy.array([[[-0.72975553555244721, -0.30546473305749067], [-0.56080228686254463, 0.19196525884555093]], [[0.16330874959104102, 0.82682868035669044], [0.27102526496232038, -0.24517608521403722]], [[-0.83963475376113794, -0.66791774272530535], [-0.37639043923508719, 0.82300098289090817]], [[0.91722211429625577, -0.97918297646753905], [0.067107067385226316, 0.88843622243940512]], [[-0.27552289134186125, 0.65791342377921613], [-0.37551267096396979, 0.85793206764837748]], [[0.26155040462053258, -0.42818822215694752], [-0.83990328379325829, 0.88309580060131143]]]),self.functionspace)        arg0=Data(numpy.array([[[-0.72975553555244721, -0.30546473305749067], [-0.56080228686254463, 0.19196525884555093]],
929        arg0.setTaggedValue(1,numpy.array([[[-0.011360458137832818, -0.93646335053858154], [-0.36443713736367744, 0.24907142903244806]], [[-0.81458916334694664, -0.47474847029843281], [0.54743876815462422, -0.348883676466061]], [[0.50093316712876934, -0.4398043195632535], [0.68508091721063669, 0.59472418355503232]], [[0.88692467780296891, -0.50364025455918671], [0.32956321010155509, -0.23251415760310246]], [[-0.75739253707570287, 0.46370814604003407], [-0.088561023319100984, 0.66778445028017219]], [[-0.59846571127691983, 0.32548006374158889], [-0.44850244173499854, -0.76853835165957074]]]))  [[0.16330874959104102, 0.82682868035669044], [0.27102526496232038, -0.24517608521403722]], [[-0.83963475376113794,
930        arg0.expand()  -0.66791774272530535], [-0.37639043923508719, 0.82300098289090817]], [[0.91722211429625577, -0.97918297646753905],
931        arg1=Data(numpy.array([[[0.65932979334231034, -0.27399540365817776], [0.037000180188222043, -0.39510157224621634]], [[-0.51915331006812204, -0.92135429550669912], [0.22128097647462841, -0.24745332734434022]], [[0.089641980651052666, 0.62427799480017687], [0.79140866831201162, -0.49032008447991382]], [[0.43859468414231784, 0.0055652663596135188], [-0.16002111883096459, 0.058452192644826706]], [[-0.24674430968099137, -0.23153624391525907], [-0.54760056166033566, -0.76415349509388109]], [[0.063522680563744327, 0.39803355915777372], [-0.88998945484879832, 0.41881303708055273]]]),self.functionspace)  [0.067107067385226316, 0.88843622243940512]], [[-0.27552289134186125, 0.65791342377921613], [-0.37551267096396979,
932        arg1.setTaggedValue(1,numpy.array([[[0.74580862645566648, 0.57672974773199592], [0.8998859370820409, -0.96269851399667927]], [[0.90808913426374782, -0.72717934642920667], [0.11611247866138652, 0.83821916685618558]], [[-0.97426941724298688, -0.24005765475720908], [0.88273806186553161, -0.368820129330788]], [[0.43200272334145207, -0.89080597605032863], [-0.15785396132005336, -0.76755327631693415]], [[0.61597152516899856, -0.20381125615084161], [0.83281013639816326, -0.49443205158207304]], [[0.99858308154502273, 0.63729322460413185], [-0.21441490370741789, 0.47254648903811192]]]))  0.85793206764837748]], [[0.26155040462053258, -0.42818822215694752], [-0.83990328379325829,
933    0.88309580060131143]]]),self.functionspace)
934          arg0.setTaggedValue(1,numpy.array([[[-0.011360458137832818, -0.93646335053858154], [-0.36443713736367744,
935    0.24907142903244806]], [[-0.81458916334694664, -0.47474847029843281], [0.54743876815462422, -0.348883676466061]],
936    [[0.50093316712876934, -0.4398043195632535], [0.68508091721063669, 0.59472418355503232]], [[0.88692467780296891,
937    -0.50364025455918671], [0.32956321010155509, -0.23251415760310246]], [[-0.75739253707570287, 0.46370814604003407],
938    [-0.088561023319100984, 0.66778445028017219]], [[-0.59846571127691983, 0.32548006374158889], [-0.44850244173499854,
939    -0.76853835165957074]]]))
940          arg0.expand()
941          arg1=Data(numpy.array([[[0.65932979334231034, -0.27399540365817776], [0.037000180188222043, -0.39510157224621634]],
942    [[-0.51915331006812204, -0.92135429550669912], [0.22128097647462841, -0.24745332734434022]], [[0.089641980651052666,
943    0.62427799480017687], [0.79140866831201162, -0.49032008447991382]], [[0.43859468414231784, 0.0055652663596135188],
944    [-0.16002111883096459, 0.058452192644826706]], [[-0.24674430968099137, -0.23153624391525907], [-0.54760056166033566,
945    -0.76415349509388109]], [[0.063522680563744327, 0.39803355915777372], [-0.88998945484879832,
946    0.41881303708055273]]]),self.functionspace)
947          arg1.setTaggedValue(1,numpy.array([[[0.74580862645566648, 0.57672974773199592], [0.8998859370820409,
948    -0.96269851399667927]], [[0.90808913426374782, -0.72717934642920667], [0.11611247866138652, 0.83821916685618558]],
949    [[-0.97426941724298688, -0.24005765475720908], [0.88273806186553161, -0.368820129330788]], [[0.43200272334145207,
950    -0.89080597605032863], [-0.15785396132005336, -0.76755327631693415]], [[0.61597152516899856, -0.20381125615084161],
951    [0.83281013639816326, -0.49443205158207304]], [[0.99858308154502273, 0.63729322460413185], [-0.21441490370741789,
952    0.47254648903811192]]]))
953        res=inner(arg0,arg1)        res=inner(arg0,arg1)
954        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)
955        ref=msk_ref*(-1.54637460343)+(1.-msk_ref)*(-2.40064701404)        ref=msk_ref*(-1.54637460343)+(1.-msk_ref)*(-2.40064701404)
# Line 464  class Test_util_binary_with_tagged_data( Line 958  class Test_util_binary_with_tagged_data(
958        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
959     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
960     def test_inner_expandedData_rank4_taggedData_rank4(self):     def test_inner_expandedData_rank4_taggedData_rank4(self):
961        arg0=Data(numpy.array([[[[-0.81947004030336634, 0.67058302145475457, -0.7459191324332497, -0.56685991265962676], [0.12625168566568967, 0.030640316129083134, -0.80449388144868728, -0.54200006075166196], [0.37775985547602953, -0.58498443113456133, -0.17282485220725397, -0.28544889654748795]], [[-0.36450637785497308, -0.56874337767686622, 0.23117225537130115, 0.75495037184165636], [0.74992076822906606, 0.2870324821934227, -0.59510427587645198, -0.40183700613297124], [-0.45935306206812787, -0.12423126734949341, -0.005585510270659011, -0.28793976196914128]]], [[[0.92819919528865658, 0.46125809060586631, -0.44644818733618563, 0.10817651477090151], [0.039610465897389924, 0.88463912849634641, 0.53094392433172799, -0.60775835248092358], [-0.36883877523305575, -0.4881930782326025, 0.087030421658376822, -0.25222758948775592]], [[0.0026877458846366054, -0.15441076036465473, -0.042951128074558698, 0.031626744478122415], [-0.91123851640226916, -0.57186463991433922, 0.58154204490668304, -0.50444661480738895], [0.78513112280855313, 0.9177559897504306, 0.46148528105097553, -0.031119549525124857]]], [[[-0.83706243187153095, -0.70136607266997797, 0.6175299692859868, 0.75859021965132967], [-0.35343073433069128, 0.59196857522832147, 0.36159706695864502, 0.48992389809307757], [-0.64481325885474128, -0.032372741534755223, 0.15557596853361955, -0.72915099530812588]], [[0.20172441264738095, 0.10514721422311157, 0.85542478318553217, 0.20724572965733001], [0.6433427982803821, -0.69931369735789684, -0.37169802067700441, 0.64658561555033045], [-0.26070451960146324, 0.025881750025058325, -0.13025418980636583, 0.1546947923403974]]]]),self.functionspace)        arg0=Data(numpy.array([[[[-0.81947004030336634, 0.67058302145475457, -0.7459191324332497, -0.56685991265962676],
962        arg0.setTaggedValue(1,numpy.array([[[[-0.64605720721984894, -0.98626487832849263, 0.10152535427338094, 0.92440732936073178], [-0.9009473786125628, -0.6632565822463008, 0.29433507869379172, -0.84263803545895599], [0.92530974890630135, 0.69159562053418711, -0.82219687747500081, 0.87754115294324286]], [[-0.35773552298525213, -0.82132454786210563, -0.40762919301021472, 0.27582076375453823], [-0.4479722336819616, 0.37973644829065445, 0.77302808123184286, -0.22293907876333519], [0.55219125633268673, -0.47116803616196412, 0.48683043453580765, -0.92754419214957196]]], [[[-0.18006692590834628, 0.97227675841825945, -0.63651749202640384, -0.41921849139239975], [0.7276855458936482, 0.52195096650135198, 0.99536511192686361, 0.57947097632231626], [-0.91302738669032957, 0.89503790517274484, -0.94895340049321208, -0.78812045603988645]], [[0.071410373876193534, -0.26780532355721864, 0.62497681913903302, 0.3126820909449517], [0.20395007656176722, -0.071701973664488827, 0.37328219942910312, 0.046021504655175738], [0.64320814200428367, -0.098661644869028509, -0.83633938821080078, -0.64262333359039969]]], [[[0.86500058646653843, -0.27029036986884036, -0.99414894726393643, 0.72691841266018864], [0.67847131914979331, -0.026877426027215545, 0.7357347318800751, 0.42889865183659426], [0.21639030857873132, 0.35003493653688378, -0.52608516781767989, 0.68304932394382045]], [[-0.51790042448954954, -0.49002499388001097, -0.4261929129502422, -0.1479751689299269], [-0.21976416284030553, -0.38837447911267109, 0.2768587166449068, 0.88566207159183197], [0.89901331895690029, 0.9513101075593664, 0.88490792821692366, -0.066907535776567606]]]]))  [0.12625168566568967, 0.030640316129083134, -0.80449388144868728, -0.54200006075166196], [0.37775985547602953,
963        arg0.expand()  -0.58498443113456133, -0.17282485220725397, -0.28544889654748795]], [[-0.36450637785497308, -0.56874337767686622,
964        arg1=Data(numpy.array([[[[-0.81320652563427687, 0.085883992488720251, -0.56182282586392995, 0.098026469908133684], [-0.85944703879505435, -0.58655421446612421, 0.082604797948233166, 0.9360870739483298], [0.14420666951064609, 0.46665845263423589, 0.12564509386997491, -0.26476090845384515]], [[-0.61363302518729501, 0.38807696904498012, -0.37734796865857168, 0.84307896756626666], [0.42023635130695292, -0.14153911868266955, -0.22072250942077987, -0.61141600747289537], [-0.82872232098466303, -0.8248660915121564, -0.96742618451047013, 0.35691401321500549]]], [[[0.11131946679252192, -0.81042203379181621, -0.50103550921701001, -0.27216300561259543], [0.74569190185733669, -0.65644473655201874, 0.3826715613541456, 0.18908664033895595], [0.16619726086801401, -0.11816966386278449, 0.15258125582452342, 0.43588839717124639]], [[-0.67517568975866848, 0.96203361468349557, 0.57152246085306158, -0.039767883547068505], [0.50166558466475797, -0.83608235880060278, 0.80517977832576104, -0.30314822128254049], [-0.43040765167681383, -0.48543495725866159, 0.96433198011584831, 0.71339694132471432]]], [[[-0.38795524306170481, -0.77689177550729993, 0.53450913145705958, 0.97271691497725676], [-0.33048696586776249, -0.99367367729553924, -0.19926373850410051, 0.68567184375197066], [0.25235581540383722, -0.16508876097042302, 0.071002736285278756, 0.98527408412884965]], [[-0.44496258754141671, 0.20764414070614401, -0.45421078466839848, -0.10926523567651425], [-0.79856163653683221, 0.56705711384424951, 0.21172579482906229, -0.30481362841012394], [0.25946996108918108, -0.97058507882352374, -0.071749416196154492, -0.24108145066049924]]]]),self.functionspace)  0.23117225537130115, 0.75495037184165636], [0.74992076822906606, 0.2870324821934227, -0.59510427587645198,
965        arg1.setTaggedValue(1,numpy.array([[[[0.90160447289175094, -0.59180913174068994, -0.28132325842873107, -0.71726721556211515], [-0.7782137611242339, -0.20694868939842825, 0.75927104544848323, -0.45016422772749687], [-0.5761210418346967, 0.88003496134895087, -0.58419876136588655, -0.26366101557894006]], [[-0.5268788915130751, 0.61048942970567688, -0.55578110348084109, 0.29211930415991771], [0.82205545269991798, 0.48404861282324108, 0.81294003027352946, 0.74542604533258272], [-0.28794793196945956, -0.024676412518504165, 0.70284834650167616, 0.33656053351445903]]], [[[-0.1650003816398391, -0.80541076697460201, 0.011019828659870612, 0.13881175713585225], [0.61430717382059674, -0.60620181826668196, -0.59588214763457281, 0.62500528414733325], [-0.49257636209383837, 0.20343351200232918, -0.35175015572622259, -0.15894223788426709]], [[0.86656006370664174, 0.87033077110041712, 0.37280770378914774, 0.89532157858757833], [-0.27553078134143338, -0.83589256562132008, -0.046707659230116105, -0.71614111174634565], [0.037431640389452348, 0.46807013453244917, 0.01934442605321296, 0.85101447436985866]]], [[[-0.19154482128448946, 0.29386808951224053, -0.20897443911445168, 0.4590938049142268], [0.7982039891093109, -0.15224852359600805, 0.85480424889048612, -0.77027973937766103], [0.386441395994366, -0.26415966145170722, 0.65632489949275441, 0.56457918115387384]], [[0.98166215351674491, 0.99280990187113094, 0.93442735143135791, -0.82425261653930604], [-0.56078813969082542, -0.42429815167520135, 0.1078164045366059, 0.18120716020529404], [0.76552553397932432, -0.55087389170436873, 0.27712920571932709, 0.42066112856497928]]]]))  -0.40183700613297124], [-0.45935306206812787, -0.12423126734949341, -0.005585510270659011, -0.28793976196914128]]],
966    [[[0.92819919528865658, 0.46125809060586631, -0.44644818733618563, 0.10817651477090151], [0.039610465897389924,
967    0.88463912849634641, 0.53094392433172799, -0.60775835248092358], [-0.36883877523305575, -0.4881930782326025,
968    0.087030421658376822, -0.25222758948775592]], [[0.0026877458846366054, -0.15441076036465473, -0.042951128074558698,
969    0.031626744478122415], [-0.91123851640226916, -0.57186463991433922, 0.58154204490668304, -0.50444661480738895],
970    [0.78513112280855313, 0.9177559897504306, 0.46148528105097553, -0.031119549525124857]]], [[[-0.83706243187153095,
971    -0.70136607266997797, 0.6175299692859868, 0.75859021965132967], [-0.35343073433069128, 0.59196857522832147,
972    0.36159706695864502, 0.48992389809307757], [-0.64481325885474128, -0.032372741534755223, 0.15557596853361955,
973    -0.72915099530812588]], [[0.20172441264738095, 0.10514721422311157, 0.85542478318553217, 0.20724572965733001],
974    [0.6433427982803821, -0.69931369735789684, -0.37169802067700441, 0.64658561555033045], [-0.26070451960146324,
975    0.025881750025058325, -0.13025418980636583, 0.1546947923403974]]]]),self.functionspace)
976          arg0.setTaggedValue(1,numpy.array([[[[-0.64605720721984894, -0.98626487832849263, 0.10152535427338094,
977    0.92440732936073178], [-0.9009473786125628, -0.6632565822463008, 0.29433507869379172, -0.84263803545895599],
978    [0.92530974890630135, 0.69159562053418711, -0.82219687747500081, 0.87754115294324286]], [[-0.35773552298525213,
979    -0.82132454786210563, -0.40762919301021472, 0.27582076375453823], [-0.4479722336819616, 0.37973644829065445,
980    0.77302808123184286, -0.22293907876333519], [0.55219125633268673, -0.47116803616196412, 0.48683043453580765,
981    -0.92754419214957196]]], [[[-0.18006692590834628, 0.97227675841825945, -0.63651749202640384, -0.41921849139239975],
982    [0.7276855458936482, 0.52195096650135198, 0.99536511192686361, 0.57947097632231626], [-0.91302738669032957,
983    0.89503790517274484, -0.94895340049321208, -0.78812045603988645]], [[0.071410373876193534, -0.26780532355721864,
984    0.62497681913903302, 0.3126820909449517], [0.20395007656176722, -0.071701973664488827, 0.37328219942910312,
985    0.046021504655175738], [0.64320814200428367, -0.098661644869028509, -0.83633938821080078, -0.64262333359039969]]],
986    [[[0.86500058646653843, -0.27029036986884036, -0.99414894726393643, 0.72691841266018864], [0.67847131914979331,
987    -0.026877426027215545, 0.7357347318800751, 0.42889865183659426], [0.21639030857873132, 0.35003493653688378,
988    -0.52608516781767989, 0.68304932394382045]], [[-0.51790042448954954, -0.49002499388001097, -0.4261929129502422,
989    -0.1479751689299269], [-0.21976416284030553, -0.38837447911267109, 0.2768587166449068, 0.88566207159183197],
990    [0.89901331895690029, 0.9513101075593664, 0.88490792821692366, -0.066907535776567606]]]]))
991          arg0.expand()
992          arg1=Data(numpy.array([[[[-0.81320652563427687, 0.085883992488720251, -0.56182282586392995, 0.098026469908133684],
993    [-0.85944703879505435, -0.58655421446612421, 0.082604797948233166, 0.9360870739483298], [0.14420666951064609,
994    0.46665845263423589, 0.12564509386997491, -0.26476090845384515]], [[-0.61363302518729501, 0.38807696904498012,
995    -0.37734796865857168, 0.84307896756626666], [0.42023635130695292, -0.14153911868266955, -0.22072250942077987,
996    -0.61141600747289537], [-0.82872232098466303, -0.8248660915121564, -0.96742618451047013, 0.35691401321500549]]],
997    [[[0.11131946679252192, -0.81042203379181621, -0.50103550921701001, -0.27216300561259543], [0.74569190185733669,
998    -0.65644473655201874, 0.3826715613541456, 0.18908664033895595], [0.16619726086801401, -0.11816966386278449,
999    0.15258125582452342, 0.43588839717124639]], [[-0.67517568975866848, 0.96203361468349557, 0.57152246085306158,
1000    -0.039767883547068505], [0.50166558466475797, -0.83608235880060278, 0.80517977832576104, -0.30314822128254049],
1001    [-0.43040765167681383, -0.48543495725866159, 0.96433198011584831, 0.71339694132471432]]], [[[-0.38795524306170481,
1002    -0.77689177550729993, 0.53450913145705958, 0.97271691497725676], [-0.33048696586776249, -0.99367367729553924,
1003    -0.19926373850410051, 0.68567184375197066], [0.25235581540383722, -0.16508876097042302, 0.071002736285278756,
1004    0.98527408412884965]], [[-0.44496258754141671, 0.20764414070614401, -0.45421078466839848, -0.10926523567651425],
1005    [-0.79856163653683221, 0.56705711384424951, 0.21172579482906229, -0.30481362841012394], [0.25946996108918108,
1006    -0.97058507882352374, -0.071749416196154492, -0.24108145066049924]]]]),self.functionspace)
1007          arg1.setTaggedValue(1,numpy.array([[[[0.90160447289175094, -0.59180913174068994, -0.28132325842873107,
1008    -0.71726721556211515], [-0.7782137611242339, -0.20694868939842825, 0.75927104544848323, -0.45016422772749687],
1009    [-0.5761210418346967, 0.88003496134895087, -0.58419876136588655, -0.26366101557894006]], [[-0.5268788915130751,
1010    0.61048942970567688, -0.55578110348084109, 0.29211930415991771], [0.82205545269991798, 0.48404861282324108,
1011    0.81294003027352946, 0.74542604533258272], [-0.28794793196945956, -0.024676412518504165, 0.70284834650167616,
1012    0.33656053351445903]]], [[[-0.1650003816398391, -0.80541076697460201, 0.011019828659870612, 0.13881175713585225],
1013    [0.61430717382059674, -0.60620181826668196, -0.59588214763457281, 0.62500528414733325], [-0.49257636209383837,
1014    0.20343351200232918, -0.35175015572622259, -0.15894223788426709]], [[0.86656006370664174, 0.87033077110041712,
1015    0.37280770378914774, 0.89532157858757833], [-0.27553078134143338, -0.83589256562132008, -0.046707659230116105,
1016    -0.71614111174634565], [0.037431640389452348, 0.46807013453244917, 0.01934442605321296, 0.85101447436985866]]],
1017    [[[-0.19154482128448946, 0.29386808951224053, -0.20897443911445168, 0.4590938049142268], [0.7982039891093109,
1018    -0.15224852359600805, 0.85480424889048612, -0.77027973937766103], [0.386441395994366, -0.26415966145170722,
1019    0.65632489949275441, 0.56457918115387384]], [[0.98166215351674491, 0.99280990187113094, 0.93442735143135791,
1020    -0.82425261653930604], [-0.56078813969082542, -0.42429815167520135, 0.1078164045366059, 0.18120716020529404],
1021    [0.76552553397932432, -0.55087389170436873, 0.27712920571932709, 0.42066112856497928]]]]))
1022        res=inner(arg0,arg1)        res=inner(arg0,arg1)
1023        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)        msk_ref=1.-whereZero(self.functionspace.getX()[0],1.e-8)
1024        ref=msk_ref*(0.357435097673)+(1.-msk_ref)*(1.87227288471)        ref=msk_ref*(0.357435097673)+(1.-msk_ref)*(1.87227288471)
# Line 500  class Test_util_binary_with_tagged_data( Line 1050  class Test_util_binary_with_tagged_data(
1050     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1051     def test_outer_float_rank0_taggedData_rank2(self):     def test_outer_float_rank0_taggedData_rank2(self):
1052        arg0=-0.2887604825        arg0=-0.2887604825
1053        arg1=Data(numpy.array([[0.79599173434014459, 0.41879737506080095, 0.52972900265768419, -0.8584742457402994, -0.22793982405076796], [-0.92049505867550341, 0.62172748210755358, 0.082167410547219433, 0.59577995617280388, -0.80084490358879235], [0.42462588636657284, -0.4684433268133823, -0.82595290014283407, -0.73968476605655931, -0.17503191832994514], [-0.57972597684596727, 0.22812723867905182, 0.54891646233502644, 0.99028828842144656, 0.27714349968748841]]),self.functionspace)        arg1=Data(numpy.array([[0.79599173434014459, 0.41879737506080095, 0.52972900265768419, -0.8584742457402994,
1054        arg1.setTaggedValue(1,numpy.array([[-0.72391217640352634, 0.10391970323314204, 0.3540033780359626, -0.048308558208530528, -0.89671717882718438], [0.96196914894104313, -0.24185994027728608, -0.74301018213813719, -0.33547842252260773, -0.019729268498721142], [-0.42888477806301095, -0.45836444067559645, -0.5463948090956785, 0.82989552711758741, -0.081069197113341707], [0.09763270127468382, 0.97601622522901965, -0.52427261654028889, 0.17546739075337348, -0.39797905550434653]]))  -0.22793982405076796], [-0.92049505867550341, 0.62172748210755358, 0.082167410547219433, 0.59577995617280388,
1055        res=outer(arg0,arg1)  -0.80084490358879235], [0.42462588636657284, -0.4684433268133823, -0.82595290014283407, -0.73968476605655931,
1056        ref=Data(numpy.array([[-0.22985095727375743, -0.12093213209212486, -0.15296480240146734, 0.24789343741345318, 0.065820013573774788], [0.26580259728164041, -0.1795303277166416, -0.023726701115358205, -0.17203770760805229, 0.23125236076764921], [-0.12261517582903395, 0.13526792107435234, 0.23850255796719269, 0.21359172994409939, 0.050542301189786386], [0.16740195279159625, -0.065874131512265524, -0.1585053825158384, -0.28595612397828474, -0.080028090691388235]]),self.functionspace)  -0.17503191832994514], [-0.57972597684596727, 0.22812723867905182, 0.54891646233502644, 0.99028828842144656,
1057        ref.setTaggedValue(1,numpy.array([[0.20903722934562133, -0.030007903646817838, -0.10222218624815457, 0.013949602577155521, 0.25893648522382218], [-0.27777867559794983, 0.069839593051794741, 0.21455197869632778, 0.096872911155834504, 0.0056970330910549715], [0.12384497545021098, 0.13235753705014672, 0.15777722870974761, -0.23964103283473842, 0.023409580474304123], [-0.028192465927817486, -0.28183491612457473, 0.15138921371350414, -0.050668048416890828, 0.11492062409217212]]))  0.27714349968748841]]),self.functionspace)
1058          arg1.setTaggedValue(1,numpy.array([[-0.72391217640352634, 0.10391970323314204, 0.3540033780359626, -0.048308558208530528,
1059    -0.89671717882718438], [0.96196914894104313, -0.24185994027728608, -0.74301018213813719, -0.33547842252260773,
1060    -0.019729268498721142], [-0.42888477806301095, -0.45836444067559645, -0.5463948090956785, 0.82989552711758741,
1061    -0.081069197113341707], [0.09763270127468382, 0.97601622522901965, -0.52427261654028889, 0.17546739075337348,
1062    -0.39797905550434653]]))
1063          res=outer(arg0,arg1)
1064          ref=Data(numpy.array([[-0.22985095727375743, -0.12093213209212486, -0.15296480240146734, 0.24789343741345318,
1065    0.065820013573774788], [0.26580259728164041, -0.1795303277166416, -0.023726701115358205, -0.17203770760805229,
1066    0.23125236076764921], [-0.12261517582903395, 0.13526792107435234, 0.23850255796719269, 0.21359172994409939,
1067    0.050542301189786386], [0.16740195279159625, -0.065874131512265524, -0.1585053825158384, -0.28595612397828474,
1068    -0.080028090691388235]]),self.functionspace)
1069          ref.setTaggedValue(1,numpy.array([[0.20903722934562133, -0.030007903646817838, -0.10222218624815457,
1070    0.013949602577155521, 0.25893648522382218], [-0.27777867559794983, 0.069839593051794741, 0.21455197869632778,
1071    0.096872911155834504, 0.0056970330910549715], [0.12384497545021098, 0.13235753705014672, 0.15777722870974761,
1072    -0.23964103283473842, 0.023409580474304123], [-0.028192465927817486, -0.28183491612457473, 0.15138921371350414,
1073    -0.050668048416890828, 0.11492062409217212]]))
1074        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1075        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")
1076        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1077     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1078     def test_outer_float_rank0_taggedData_rank3(self):     def test_outer_float_rank0_taggedData_rank3(self):
1079        arg0=-0.776324255672        arg0=-0.776324255672
1080        arg1=Data(numpy.array([[[-0.70841723318340444, -0.28211567113780767], [0.52390424049298767, -0.31883374308253432]], [[0.55390489720629899, -0.75935106867485369], [0.87220517253522223, -0.66921903363972435]], [[-0.057386758732438814, -0.048139918400846859], [-0.59494231344414028, 0.083153310888181675]], [[0.5039335543023471, -0.56213524133929793], [0.026510246712620145, -0.52605691835092694]], [[-0.64697406038124061, 0.82846094762663336], [-0.44757190472775732, -0.56359199577693442]], [[-0.49071963706566502, 0.29181736111438483], [0.56844779991521821, -0.29110745294721663]]]),self.functionspace)        arg1=Data(numpy.array([[[-0.70841723318340444, -0.28211567113780767], [0.52390424049298767, -0.31883374308253432]],
1081        arg1.setTaggedValue(1,numpy.array([[[0.79897608620515603, 0.24598629677692085], [-0.51002686750009563, -0.88804956515871258]], [[-0.1114159599467861, -0.171444691377866], [-0.48137121591369425, -0.44541949459992747]], [[-0.96693365342661486, 0.1146562906433346], [-0.55502396846273472, 0.53006523579873899]], [[-0.98613846602429067, 0.52453841157930214], [-0.43307574882585609, -0.95042026076495145]], [[-0.18077515697101121, -0.762218130056592], [0.47171378941193565, -0.40920580632348202]], [[0.0062301729719855814, 0.87885834591929002], [-0.36298242963992622, -0.45308434716000634]]]))  [[0.55390489720629899, -0.75935106867485369], [0.87220517253522223, -0.66921903363972435]], [[-0.057386758732438814,
1082        res=outer(arg0,arg1)  -0.048139918400846859], [-0.59494231344414028, 0.083153310888181675]], [[0.5039335543023471, -0.56213524133929793],
1083        ref=Data(numpy.array([[[0.54996148125623434, 0.21901323840942952], [-0.40671956954405675, 0.24751836828162571]], [[-0.43000980703668551, 0.58950265318264727], [-0.67711403136156423, 0.51953096817180933]], [[0.044550732758381936, 0.037372186320642153], [0.46186814865222453, -0.064553932181919516]], [[-0.39121584145185112, 0.43639922281965932], [-0.020580547546852557, 0.40839074557982274]], [[0.50226165586447624, -0.64315432851946086], [0.34746092579741877, 0.43753013662415413]], [[0.3809575569885742, -0.22654489565925506], [-0.44129981515749572, 0.2259937767297828]]]),self.functionspace)  [0.026510246712620145, -0.52605691835092694]], [[-0.64697406038124061, 0.82846094762663336], [-0.44757190472775732,
1084        ref.setTaggedValue(1,numpy.array([[[-0.62026451542284422, -0.19096512875082358], [0.39594622828466886, 0.68941441767156819]], [[0.086494912175655969, 0.13309667242281584], [0.37370015089606329, 0.34578995760703063]], [[0.75065404878050179, -0.089010459491784696], [0.43087856919688178, -0.41150249963899205]], [[0.76556321062571031, -0.40721189194060842], [0.33620720835677187, 0.73783430151381857]], [[0.14034013917948632, 0.59172842247579083], [-0.3662028564553797, 0.3176763930106859]], [[-0.0048366343951837289, -0.68227905123680654], [0.2817920645121838, 0.35174036856556856]]]))  -0.56359199577693442]], [[-0.49071963706566502, 0.29181736111438483], [0.56844779991521821,
1085    -0.29110745294721663]]]),self.functionspace)
1086          arg1.setTaggedValue(1,numpy.array([[[0.79897608620515603, 0.24598629677692085], [-0.51002686750009563,
1087    -0.88804956515871258]], [[-0.1114159599467861, -0.171444691377866], [-0.48137121591369425, -0.44541949459992747]],
1088    [[-0.96693365342661486, 0.1146562906433346], [-0.55502396846273472, 0.53006523579873899]], [[-0.98613846602429067,
1089    0.52453841157930214], [-0.43307574882585609, -0.95042026076495145]], [[-0.18077515697101121, -0.762218130056592],
1090    [0.47171378941193565, -0.40920580632348202]], [[0.0062301729719855814, 0.87885834591929002], [-0.36298242963992622,
1091    -0.45308434716000634]]]))
1092          res=outer(arg0,arg1)
1093          ref=Data(numpy.array([[[0.54996148125623434, 0.21901323840942952], [-0.40671956954405675, 0.24751836828162571]],
1094    [[-0.43000980703668551, 0.58950265318264727], [-0.67711403136156423, 0.51953096817180933]], [[0.044550732758381936,
1095    0.037372186320642153], [0.46186814865222453, -0.064553932181919516]], [[-0.39121584145185112, 0.43639922281965932],
1096    [-0.020580547546852557, 0.40839074557982274]], [[0.50226165586447624, -0.64315432851946086], [0.34746092579741877,
1097    0.43753013662415413]], [[0.3809575569885742, -0.22654489565925506], [-0.44129981515749572,
1098    0.2259937767297828]]]),self.functionspace)
1099          ref.setTaggedValue(1,numpy.array([[[-0.62026451542284422, -0.19096512875082358], [0.39594622828466886,
1100    0.68941441767156819]], [[0.086494912175655969, 0.13309667242281584], [0.37370015089606329, 0.34578995760703063]],
1101    [[0.75065404878050179, -0.089010459491784696], [0.43087856919688178, -0.41150249963899205]], [[0.76556321062571031,
1102    -0.40721189194060842], [0.33620720835677187, 0.73783430151381857]], [[0.14034013917948632, 0.59172842247579083],
1103    [-0.3662028564553797, 0.3176763930106859]], [[-0.0048366343951837289, -0.68227905123680654], [0.2817920645121838,
1104    0.35174036856556856]]]))
1105        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1106        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
1107        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1108     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1109     def test_outer_float_rank0_taggedData_rank4(self):     def test_outer_float_rank0_taggedData_rank4(self):
1110        arg0=-0.833021296853        arg0=-0.833021296853
1111        arg1=Data(numpy.array([[[[-0.90855434421590231, -0.7723719863146703, 0.72452648785716645, -0.12247760395825291], [-0.77922956246495589, 0.98780212712468085, 0.60797043692928421, 0.34279771003579862], [0.58333174697288559, -0.18669064834824378, 0.038625811592457593, 0.7462952669972418]], [[0.82279543277627432, -0.69468389442798406, -0.17106121884786618, -0.52208034248189361], [-0.78671020417224735, 0.14748043848641967, -0.21932177320002721, 0.049811837058228781], [-0.63271712466388341, 0.44615141775229938, -0.14001640059409715, -0.99908113089779893]]], [[[-0.53252632348026041, -0.38943828967962224, 0.089860628719042657, -0.43089130288981514], [0.33837711195657638, -0.90464306477818623, -0.069778867864798588, -0.062511204849629909], [-0.43506299745272581, -0.47053229885405701, 0.24608199676000475, -0.30466610687173867]], [[0.25012418501222622, 0.64548943592837138, -0.083426680964325373, 0.90328575508751952], [-0.27567408237424695, 0.75276653790846426, 0.64586793988014368, -0.64036916647235631], [-0.79259725475604137, -0.55365979968476142, -0.2356225716304805, -0.42169261004187009]]], [[[0.028913197845884087, 0.33050019183055013, 0.75606755812103321, -0.65458983784489355], [0.9966370561747373, -0.63651566152647776, -0.38593523367509253, -0.7359031213892413], [0.19393437329974317, 0.019275777009044148, 0.7165775422934102, -0.64290086820039871]], [[-0.90843329061350375, 0.052322297520196681, 0.12195889401306181, -0.59477765381256886], [-0.92717376181603117, 0.71027598521011415, 0.97685194710925871, -0.4318117150162355], [-0.86786903458205522, 0.22606469989064593, -0.85281204371690156, 0.42737096105985017]]]]),self.functionspace)        arg1=Data(numpy.array([[[[-0.90855434421590231, -0.7723719863146703, 0.72452648785716645, -0.12247760395825291],
1112        arg1.setTaggedValue(1,numpy.array([[[[-0.33882616595902526, -0.36968245848952686, -0.78797202708069536, 0.31585745312913938], [-0.92658667826390317, -0.72554711315388287, 0.81439972903102942, 0.32603003013108212], [0.5642109828154056, -0.90759915868128727, -0.81842195934021156, 0.4691408416636742]], [[0.18510078344764302, -0.34270527486269886, -0.46651003503375699, -0.96535634636413992], [0.32191966811628259, -0.29573924983708344, -0.67679295996670596, -0.38538800299229758], [-0.14071356277867375, -0.8213461327307332, 0.19388983531961324, -0.56811817286295208]]], [[[-0.90498197923747048, 0.006942996396168466, -0.33034079556955032, 0.52108226477623476], [0.38962528862123236, 0.072744507290621874, -0.44124075071020896, -0.88555483209134378], [-0.10558141086212092, 0.89100179440722593, -0.70166501173136164, -0.87199116641624275]], [[-0.70107408257430737, -0.74645840185196222, 0.86149140808786928, 0.3936124106603347], [0.7095744615974946, 0.49617920205234078, 0.0057299436413136284, 0.8718734384946174], [-0.68848971134095516, -0.11648523655054999, -0.74514849740010836, -0.50320077525644957]]], [[[0.47831932795138177, 0.47063903817806385, -0.6546331097821172, 0.64919953752100867], [-0.1852875522062023, -0.10546798523549938, -0.90895441310898173, -0.043226598698658414], [0.060843433321798868, -0.86629658629967921, 0.26469146778309494, 0.14226678022175254]], [[-0.9390782992831157, -0.87677919928693426, 0.97697194554398825, 0.12716597602129842], [0.87179742343938393, 0.78814812909324994, -0.68970423325908303, -0.88378227959616718], [-0.48107962739859378, 0.7706674033436911, -0.31728035278840516, 0.14238157976435506]]]]))  [-0.77922956246495589, 0.98780212712468085, 0.60797043692928421, 0.34279771003579862], [0.58333174697288559,
1113        res=outer(arg0,arg1)  -0.18669064834824378, 0.038625811592457593, 0.7462952669972418]], [[0.82279543277627432, -0.69468389442798406,
1114        ref=Data(numpy.array([[[[0.75684511807971622, 0.64340231369239875, -0.603545994518774, 0.10202645248469243], [0.64911482067037451, -0.82286020897107348, -0.50645232181882183, -0.28555779297209299], [-0.48592776835859564, 0.15551728599729067, -0.03217612366472989, -0.62167985114893554]], [[-0.6854061184556175, 0.57868647863895417, 0.14249763836582119, 0.43490404395547161], [0.65534635452667145, -0.12285434612833472, 0.18269970793907961, -0.04149432110485185], [0.52706683972830193, -0.37165363260860812, 0.1166366436035159, 0.8322558593213607]]], [[[0.44360576859362788, 0.3244103891129439, -0.074855817471519176, 0.35894163193574319], [-0.28187534062727554, 0.7535869390101575, 0.058127283001634729, 0.052073164931651865], [0.36241674235061161, 0.39196342580240123, -0.20499154407307529, 0.25379335545330234]], [[-0.20835877297306282, -0.5377064470216496, 0.06949620196900326, -0.75245627113140778], [0.22964238160802194, -0.62707055763568598, -0.53802174887441878, 0.53344115351916566], [0.66025039303861999, 0.46121040434850302, 0.19627862018734724, 0.35127892489020007]]], [[[-0.024085309565731673, -0.27531369840868947, -0.6298203777740965, 0.54528727562803003], [-0.83021989302595145, 0.53023110183172228, 0.32149226885710358, 0.61302297253747873], [-0.16155146315043159, -0.016057132761913829, -0.59692435357664375, 0.53555011497590321]], [[0.75674427785085752, -0.043585588134577309, -0.10159435605345905, 0.49546245251784166], [0.77235548947561417, -0.59167502232292624, -0.81373847581385805, 0.35970835483893265], [0.72295338868568293, -0.18831670947548024, 0.71041059462849609, -0.35600911221918163]]]]),self.functionspace)  -0.17106121884786618, -0.52208034248189361], [-0.78671020417224735, 0.14748043848641967, -0.21932177320002721,
1115        ref.setTaggedValue(1,numpy.array([[[[0.2822494121747523, 0.30795336099457132, 0.65639747988226504, -0.2631159852261678], [0.7718664363736597, 0.60439619712704518, -0.67841231843376404, -0.27158995851265821], [-0.4699997646033206, 0.75604942818693643, 0.68176292194215848, -0.3908043123291538]], [[-0.15419289467597194, 0.28548079250432262, 0.38861279437853197, 0.80416239557306046], [-0.26816593941655659, 0.24635709342947687, 0.56378294921211691, 0.32103641404404426], [0.11721739455062843, 0.68419882065215243, -0.16151436206446457, 0.47325453712377702]]], [[[0.75386926197255244, -0.0057836638619785863, 0.27518091792863797, -0.43407262397074409], [-0.324566163213794, -0.060597723802130986, 0.36756294238079507, 0.73768603466274141], [0.08795156379988206, -0.74222347027502433, 0.58450189802849328, 0.72638721229199477]], [[0.58400964145573597, 0.62181574595717659, -0.71764068999265518, -0.32788752078551631], [-0.59109063821336927, -0.41332784236488646, -0.0047731650829788948, -0.7262891424260467], [0.57352659221085545, 0.097034682815511003, 0.6207245676519404, 0.41917696238131802]]], [[[-0.39845018687968292, -0.39205234193251054, 0.54532332207329337, -0.5407970406618029], [0.15434847702943852, 0.087857077837297487, 0.75717838398785964, 0.036008677306479622], [-0.05068387573068435, 0.72164350577826453, -0.22049362975846915, -0.11851125775935588]], [[0.78227222271487418, 0.73037574564331076, -0.81383843706557668, -0.10593196626077769], [-0.72622582026615579, -0.65654417660914166, 0.57453831483415008, 0.73620946068447024], [0.40074957510490078, -0.64198235977532103, 0.26430129094562038, -0.11860688822321271]]]]))  0.049811837058228781], [-0.63271712466388341, 0.44615141775229938, -0.14001640059409715, -0.99908113089779893]]],
1116    [[[-0.53252632348026041, -0.38943828967962224, 0.089860628719042657, -0.43089130288981514], [0.33837711195657638,
1117    -0.90464306477818623, -0.069778867864798588, -0.062511204849629909], [-0.43506299745272581, -0.47053229885405701,
1118    0.24608199676000475, -0.30466610687173867]], [[0.25012418501222622, 0.64548943592837138, -0.083426680964325373,
1119    0.90328575508751952], [-0.27567408237424695, 0.75276653790846426, 0.64586793988014368, -0.64036916647235631],
1120    [-0.79259725475604137, -0.55365979968476142, -0.2356225716304805, -0.42169261004187009]]], [[[0.028913197845884087,
1121    0.33050019183055013, 0.75606755812103321, -0.65458983784489355], [0.9966370561747373, -0.63651566152647776,
1122    -0.38593523367509253, -0.7359031213892413], [0.19393437329974317, 0.019275777009044148, 0.7165775422934102,
1123    -0.64290086820039871]], [[-0.90843329061350375, 0.052322297520196681, 0.12195889401306181, -0.59477765381256886],
1124    [-0.92717376181603117, 0.71027598521011415, 0.97685194710925871, -0.4318117150162355], [-0.86786903458205522,
1125    0.22606469989064593, -0.85281204371690156, 0.42737096105985017]]]]),self.functionspace)
1126          arg1.setTaggedValue(1,numpy.array([[[[-0.33882616595902526, -0.36968245848952686, -0.78797202708069536,
1127    0.31585745312913938], [-0.92658667826390317, -0.72554711315388287, 0.81439972903102942, 0.32603003013108212],
1128    [0.5642109828154056, -0.90759915868128727, -0.81842195934021156, 0.4691408416636742]], [[0.18510078344764302,
1129    -0.34270527486269886, -0.46651003503375699, -0.96535634636413992], [0.32191966811628259, -0.29573924983708344,
1130    -0.67679295996670596, -0.38538800299229758], [-0.14071356277867375, -0.8213461327307332, 0.19388983531961324,
1131    -0.56811817286295208]]], [[[-0.90498197923747048, 0.006942996396168466, -0.33034079556955032, 0.52108226477623476],
1132    [0.38962528862123236, 0.072744507290621874, -0.44124075071020896, -0.88555483209134378], [-0.10558141086212092,
1133    0.89100179440722593, -0.70166501173136164, -0.87199116641624275]], [[-0.70107408257430737, -0.74645840185196222,
1134    0.86149140808786928, 0.3936124106603347], [0.7095744615974946, 0.49617920205234078, 0.0057299436413136284, 0.8718734384946174],
1135    [-0.68848971134095516, -0.11648523655054999, -0.74514849740010836, -0.50320077525644957]]], [[[0.47831932795138177,
1136    0.47063903817806385, -0.6546331097821172, 0.64919953752100867], [-0.1852875522062023, -0.10546798523549938,
1137    -0.90895441310898173, -0.043226598698658414], [0.060843433321798868, -0.86629658629967921, 0.26469146778309494,
1138    0.14226678022175254]], [[-0.9390782992831157, -0.87677919928693426, 0.97697194554398825, 0.12716597602129842],
1139    [0.87179742343938393, 0.78814812909324994, -0.68970423325908303, -0.88378227959616718], [-0.48107962739859378,
1140    0.7706674033436911, -0.31728035278840516, 0.14238157976435506]]]]))
1141          res=outer(arg0,arg1)
1142          ref=Data(numpy.array([[[[0.75684511807971622, 0.64340231369239875, -0.603545994518774, 0.10202645248469243],
1143    [0.64911482067037451, -0.82286020897107348, -0.50645232181882183, -0.28555779297209299], [-0.48592776835859564,
1144    0.15551728599729067, -0.03217612366472989, -0.62167985114893554]], [[-0.6854061184556175, 0.57868647863895417,
1145    0.14249763836582119, 0.43490404395547161], [0.65534635452667145, -0.12285434612833472, 0.18269970793907961,
1146    -0.04149432110485185], [0.52706683972830193, -0.37165363260860812, 0.1166366436035159, 0.8322558593213607]]],
1147    [[[0.44360576859362788, 0.3244103891129439, -0.074855817471519176, 0.35894163193574319], [-0.28187534062727554,
1148    0.7535869390101575, 0.058127283001634729, 0.052073164931651865], [0.36241674235061161, 0.39196342580240123,
1149    -0.20499154407307529, 0.25379335545330234]], [[-0.20835877297306282, -0.5377064470216496, 0.06949620196900326,
1150    -0.75245627113140778], [0.22964238160802194, -0.62707055763568598, -0.53802174887441878, 0.53344115351916566],
1151    [0.66025039303861999, 0.46121040434850302, 0.19627862018734724, 0.35127892489020007]]], [[[-0.024085309565731673,
1152    -0.27531369840868947, -0.6298203777740965, 0.54528727562803003], [-0.83021989302595145, 0.53023110183172228,
1153    0.32149226885710358, 0.61302297253747873], [-0.16155146315043159, -0.016057132761913829, -0.59692435357664375,
1154    0.53555011497590321]], [[0.75674427785085752, -0.043585588134577309, -0.10159435605345905, 0.49546245251784166],
1155    [0.77235548947561417, -0.59167502232292624, -0.81373847581385805, 0.35970835483893265], [0.72295338868568293,
1156    -0.18831670947548024, 0.71041059462849609, -0.35600911221918163]]]]),self.functionspace)
1157          ref.setTaggedValue(1,numpy.array([[[[0.2822494121747523, 0.30795336099457132, 0.65639747988226504, -0.2631159852261678],
1158    [0.7718664363736597, 0.60439619712704518, -0.67841231843376404, -0.27158995851265821], [-0.4699997646033206,
1159    0.75604942818693643, 0.68176292194215848, -0.3908043123291538]], [[-0.15419289467597194, 0.28548079250432262,
1160    0.38861279437853197, 0.80416239557306046], [-0.26816593941655659, 0.24635709342947687, 0.56378294921211691,
1161    0.32103641404404426], [0.11721739455062843, 0.68419882065215243, -0.16151436206446457, 0.47325453712377702]]],
1162    [[[0.75386926197255244, -0.0057836638619785863, 0.27518091792863797, -0.43407262397074409], [-0.324566163213794,
1163    -0.060597723802130986, 0.36756294238079507, 0.73768603466274141], [0.08795156379988206, -0.74222347027502433,
1164    0.58450189802849328, 0.72638721229199477]], [[0.58400964145573597, 0.62181574595717659, -0.71764068999265518,
1165    -0.32788752078551631], [-0.59109063821336927, -0.41332784236488646, -0.0047731650829788948, -0.7262891424260467],
1166    [0.57352659221085545, 0.097034682815511003, 0.6207245676519404, 0.41917696238131802]]], [[[-0.39845018687968292,
1167    -0.39205234193251054, 0.54532332207329337, -0.5407970406618029], [0.15434847702943852, 0.087857077837297487,
1168    0.75717838398785964, 0.036008677306479622], [-0.05068387573068435, 0.72164350577826453, -0.22049362975846915,
1169    -0.11851125775935588]], [[0.78227222271487418, 0.73037574564331076, -0.81383843706557668, -0.10593196626077769],
1170    [-0.72622582026615579, -0.65654417660914166, 0.57453831483415008, 0.73620946068447024], [0.40074957510490078,
1171    -0.64198235977532103, 0.26430129094562038, -0.11860688822321271]]]]))
1172        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1173        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")
1174        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
# Line 554  class Test_util_binary_with_tagged_data( Line 1196  class Test_util_binary_with_tagged_data(
1196        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1197     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1198     def test_outer_array_rank2_taggedData_rank0(self):     def test_outer_array_rank2_taggedData_rank0(self):
1199        arg0=numpy.array([[0.1473211091196287, 0.43262373380570707, -0.057057931636928849, 0.51939061478398774, -0.79022098709708466], [-0.0080394628796294221, 0.1687711721732581, -0.59803343605897807, -0.83143652329234907, -0.91430940230783486], [0.99620918222588783, 0.6177742919692526, -0.94312173920627917, 0.77339225160336156, -0.28870936455533558], [0.43685177364287542, -0.46131718868149951, -0.5474858328210126, 0.31065742398798379, -0.11434607498628191]])        arg0=numpy.array([[0.1473211091196287, 0.43262373380570707, -0.057057931636928849, 0.51939061478398774,
1200    -0.79022098709708466], [-0.0080394628796294221, 0.1687711721732581, -0.59803343605897807, -0.83143652329234907,
1201    -0.91430940230783486], [0.99620918222588783, 0.6177742919692526, -0.94312173920627917, 0.77339225160336156,
1202    -0.28870936455533558], [0.43685177364287542, -0.46131718868149951, -0.5474858328210126, 0.31065742398798379,
1203    -0.11434607498628191]])
1204        arg1=Data(0.0288312974103,self.functionspace)        arg1=Data(0.0288312974103,self.functionspace)
1205        arg1.setTaggedValue(1,0.731784996176)        arg1.setTaggedValue(1,0.731784996176)
1206        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1207        ref=Data(numpy.array([[0.0042474587118418675, 0.012473103536102665, -0.001645054196640316, 0.014974705286950749, -0.022783096298849337], [-0.00023178814530158592, 0.0048658918592105393, -0.017242079856314312, -0.023971393680819596, -0.026360726302962083], [0.028722003215616802, 0.017811234344197128, -0.027191423357166618, 0.022297902020790697, -0.0083238655546308462], [0.012595003410110623, -0.013300373067355386, -0.015784726873983169, 0.0089566565837122577, -0.0032967456956288668]]),self.functionspace)        ref=Data(numpy.array([[0.0042474587118418675, 0.012473103536102665, -0.001645054196640316, 0.014974705286950749,
1208        ref.setTaggedValue(1,numpy.array([[0.10780737727381472, 0.31658755738884164, -0.041754138284764909, 0.38008225905377341, -0.57827186202137382], [-0.0058831583126301564, 0.12350421158349906, -0.43763189571979577, -0.60843277301843479, -0.66907790247191168], [0.72901093260609451, 0.45207795788661542, -0.69016233831897378, 0.56595684588244555, -0.21127318123722541], [0.31968157350491766, -0.33758499715541196, -0.40064191807757354, 0.22733444182522591, -0.083676742046625938]]))  -0.022783096298849337], [-0.00023178814530158592, 0.0048658918592105393, -0.017242079856314312, -0.023971393680819596,
1209    -0.026360726302962083], [0.028722003215616802, 0.017811234344197128, -0.027191423357166618, 0.022297902020790697,
1210    -0.0083238655546308462], [0.012595003410110623, -0.013300373067355386, -0.015784726873983169, 0.0089566565837122577,
1211    -0.0032967456956288668]]),self.functionspace)
1212          ref.setTaggedValue(1,numpy.array([[0.10780737727381472, 0.31658755738884164, -0.041754138284764909, 0.38008225905377341,
1213    -0.57827186202137382], [-0.0058831583126301564, 0.12350421158349906, -0.43763189571979577, -0.60843277301843479,
1214    -0.66907790247191168], [0.72901093260609451, 0.45207795788661542, -0.69016233831897378, 0.56595684588244555,
1215    -0.21127318123722541], [0.31968157350491766, -0.33758499715541196, -0.40064191807757354, 0.22733444182522591,
1216    -0.083676742046625938]]))
1217        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1218        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")
1219        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1220     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1221     def test_outer_array_rank3_taggedData_rank0(self):     def test_outer_array_rank3_taggedData_rank0(self):
1222        arg0=numpy.array([[[-0.22998941661966765, 0.27990685337714472], [0.055177199192475879, 0.4530358761401585]], [[-0.50329573976454434, -0.34267018160207185], [0.95713581137929515, 0.16613940465905341]], [[-0.10489406307193194, 0.59230199936860517], [-0.16281074906528992, -0.12071493497086361]], [[0.50267329707196828, -0.89492086425710848], [-0.32855892752585802, 0.52912075989094687]], [[0.21767057810094603, -0.2084209947877147], [-0.3929867157169229, -0.4302326258862994]], [[-0.068602442248387296, -0.31339977711477274], [-0.75011712808319553, 0.75943941199765863]]])        arg0=numpy.array([[[-0.22998941661966765, 0.27990685337714472], [0.055177199192475879, 0.4530358761401585]],
1223    [[-0.50329573976454434, -0.34267018160207185], [0.95713581137929515, 0.16613940465905341]], [[-0.10489406307193194,
1224    0.59230199936860517], [-0.16281074906528992, -0.12071493497086361]], [[0.50267329707196828, -0.89492086425710848],
1225    [-0.32855892752585802, 0.52912075989094687]], [[0.21767057810094603, -0.2084209947877147], [-0.3929867157169229,
1226    -0.4302326258862994]], [[-0.068602442248387296, -0.31339977711477274], [-0.75011712808319553, 0.75943941199765863]]])
1227        arg1=Data(-0.224314795568,self.functionspace)        arg1=Data(-0.224314795568,self.functionspace)
1228        arg1.setTaggedValue(1,0.632736758892)        arg1.setTaggedValue(1,0.632736758892)
1229        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1230        ref=Data(numpy.array([[[0.051590028971941322, -0.06278724859349441], [-0.01237706215689831, -0.10162264994154047]], [[0.11289668097574133, 0.076865991733462688], [-0.21469972386076203, -0.037267526591954855]], [[0.023529290314321546, -0.1328621019031361], [0.036520859892922114, 0.02707814596004459]], [[-0.11275705787040308, 0.20074399071574855], [0.073700628660142722, -0.11868961508594569]], [[-0.048826731227973881, 0.046751912837973308], [0.088152734797147012, 0.096507543522550504]], [[0.015388542808441453, 0.070300206934689177], [0.16826237023835361, -0.17035349644885719]]]),self.functionspace)        ref=Data(numpy.array([[[0.051590028971941322, -0.06278724859349441], [-0.01237706215689831, -0.10162264994154047]],
1231        ref.setTaggedValue(1,numpy.array([[[-0.14552275805138484, 0.17710735519750606], [0.034912642181784137, 0.28665245193071054]], [[-0.31845371514275711, -0.21682002007581974], [0.60561501111157678, 0.1051225084282119]], [[-0.066370329495144709, 0.37477124736572837], [-0.10301634567634634, -0.076380776703319872]], [[0.31805987277086056, -0.56624932711484877], [-0.20789131090773502, 0.3347941546758571]], [[0.13772817609373531, -0.13187562472702], [-0.24865714079032811, -0.2722239972728811]], [[-0.043407286960318536, -0.19829955920906894], [-0.47462668041271827, 0.48052523212222648]]]))  [[0.11289668097574133, 0.076865991733462688], [-0.21469972386076203, -0.037267526591954855]], [[0.023529290314321546,
1232    -0.1328621019031361], [0.036520859892922114, 0.02707814596004459]], [[-0.11275705787040308, 0.20074399071574855],
1233    [0.073700628660142722, -0.11868961508594569]], [[-0.048826731227973881, 0.046751912837973308], [0.088152734797147012,
1234    0.096507543522550504]], [[0.015388542808441453, 0.070300206934689177], [0.16826237023835361,
1235    -0.17035349644885719]]]),self.functionspace)
1236          ref.setTaggedValue(1,numpy.array([[[-0.14552275805138484, 0.17710735519750606], [0.034912642181784137,
1237    0.28665245193071054]], [[-0.31845371514275711, -0.21682002007581974], [0.60561501111157678, 0.1051225084282119]],
1238    [[-0.066370329495144709, 0.37477124736572837], [-0.10301634567634634, -0.076380776703319872]], [[0.31805987277086056,
1239    -0.56624932711484877], [-0.20789131090773502, 0.3347941546758571]], [[0.13772817609373531, -0.13187562472702],
1240    [-0.24865714079032811, -0.2722239972728811]], [[-0.043407286960318536, -0.19829955920906894], [-0.47462668041271827,
1241    0.48052523212222648]]]))
1242        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1243        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
1244        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1245     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1246     def test_outer_array_rank4_taggedData_rank0(self):     def test_outer_array_rank4_taggedData_rank0(self):
1247        arg0=numpy.array([[[[-0.56243952285768684, -0.38055747729341571, 0.26506266794294953, 0.28759030643565464], [0.53869559247210419, 0.038458054338470271, 0.18456058086171589, -0.72022970202879066], [0.70380702845467669, -0.052760327461741863, 0.082725647492424725, 0.18308427320570964]], [[0.6699910070553261, -0.080476552624917375, 0.4849508811170129, -0.69076449078778634], [-0.94053959960140743, -0.65504644081841867, -0.89361482549631299, -0.561448772960774], [-0.51023825339381657, 0.96060244621206703, 0.44984722169057356, 0.35655778859333065]]], [[[-0.5531318630297124, -0.67650955166659976, 0.038878069861318254, -0.049563466219434416], [-0.92777147909327518, 0.036436810859565849, -0.89914023013227551, 0.48835239325227797], [-0.3198924957319953, 0.90827863784513996, -0.26851065142907715, 0.53219627059437591]], [[-0.53139068088798957, -0.47363736615698171, 0.9170621229026017, 0.64598154152809539], [-0.32352615807098228, 0.71103699225776507, 0.42590554589010199, -0.97048596167757695], [0.7755897929291844, 0.48855694469214339, 0.049284017202407382, -0.05031239455679315]]], [[[-0.65561173606876988, 0.35551653774465453, 0.099134687584160996, 0.72863976547059917], [0.16212842749830858, -0.53586825498873036, 0.84419447644335133, -0.97244158766475675], [-0.85359197357514094, 0.29199160162483073, -0.44577988392461454, 0.76164730894513766]], [[-0.91998685969351635, 0.013658352307469146, -0.93935439467434301, -0.88050165229668886], [-0.74991650340850113, -0.616200761731581, 0.83526597511329848, -0.57312444878586932], [-0.065982912206490996, 0.34387825972430131, -0.057559071354035929, -0.3552305352401135]]]])        arg0=numpy.array([[[[-0.56243952285768684, -0.38055747729341571, 0.26506266794294953, 0.28759030643565464],
1248    [0.53869559247210419, 0.038458054338470271, 0.18456058086171589, -0.72022970202879066], [0.70380702845467669,
1249    -0.052760327461741863, 0.082725647492424725, 0.18308427320570964]], [[0.6699910070553261, -0.080476552624917375,
1250    0.4849508811170129, -0.69076449078778634], [-0.94053959960140743, -0.65504644081841867, -0.89361482549631299,
1251    -0.561448772960774], [-0.51023825339381657, 0.96060244621206703, 0.44984722169057356, 0.35655778859333065]]],
1252    [[[-0.5531318630297124, -0.67650955166659976, 0.038878069861318254, -0.049563466219434416], [-0.92777147909327518,
1253    0.036436810859565849, -0.89914023013227551, 0.48835239325227797], [-0.3198924957319953, 0.90827863784513996,
1254    -0.26851065142907715, 0.53219627059437591]], [[-0.53139068088798957, -0.47363736615698171, 0.9170621229026017,
1255    0.64598154152809539], [-0.32352615807098228, 0.71103699225776507, 0.42590554589010199, -0.97048596167757695],
1256    [0.7755897929291844, 0.48855694469214339, 0.049284017202407382, -0.05031239455679315]]], [[[-0.65561173606876988,
1257    0.35551653774465453, 0.099134687584160996, 0.72863976547059917], [0.16212842749830858, -0.53586825498873036,
1258    0.84419447644335133, -0.97244158766475675], [-0.85359197357514094, 0.29199160162483073, -0.44577988392461454,
1259    0.76164730894513766]], [[-0.91998685969351635, 0.013658352307469146, -0.93935439467434301, -0.88050165229668886],
1260    [-0.74991650340850113, -0.616200761731581, 0.83526597511329848, -0.57312444878586932], [-0.065982912206490996,
1261    0.34387825972430131, -0.057559071354035929, -0.3552305352401135]]]])
1262        arg1=Data(0.748269432855,self.functionspace)        arg1=Data(0.748269432855,self.functionspace)
1263        arg1.setTaggedValue(1,0.00729678277696)        arg1.setTaggedValue(1,0.00729678277696)
1264        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1265        ref=Data(numpy.array([[[[-0.42085630278413033, -0.28475952770319019, 0.19833829221278518, 0.21519503549129099], [0.40308944546075454, 0.028776986508565694, 0.138101041168842, -0.53892587066262931], [0.52663728602135917, -0.039478940307057814, 0.061901073331744626, 0.13699636527636228]], [[0.50133379086744423, -0.060218144390797118, 0.36287392077610825, -0.51687795375836121], [-0.70377703277170178, -0.49015122876508499, -0.66866465866521951, -0.42011495492066586], [-0.3817956884880731, 0.71878944762652308, 0.33660692544594062, 0.26680129425087368]]], [[[-0.41389166544344175, -0.50621141854676399, 0.029091271285637578, -0.037086826758359316], [-0.69422303848045352, 0.027264551796943398, -0.67279915005846724, 0.36541916833241345], [-0.23936577635604855, 0.67963714121497287, -0.20091831286044434, 0.3982262015653627]], [[-0.3976234034126509, -0.35440836335336567, 0.68620955459741284, 0.48336824171422432], [-0.24208473481363002, 0.53204724693586058, 0.31869210127311615, -0.72618498013851684], [0.58035013448348516, 0.36557222792231131, 0.036877723600876523, -0.037647226940604003]]], [[[-0.49057422192146105, 0.26602215806887469, 0.074179456454888104, 0.54521886406450848], [0.12131574649388198, -0.40097383524557983, 0.63168492210784855, -0.72764831528682095], [-0.63871678195691217, 0.21848839014632457, -0.33356346092257549, 0.56991739990014822]], [[-0.68839804573720154, 0.010220127534847899, -0.70289018015311, -0.65885247199220331], [-0.56113959669431335, -0.46108419450589772, 0.62500399748136204, -0.42885150624851237], [-0.049372996294892474, 0.2573135903751726, -0.043069693677762561, -0.26580815113700657]]]]),self.functionspace)        ref=Data(numpy.array([[[[-0.42085630278413033, -0.28475952770319019, 0.19833829221278518, 0.21519503549129099],
1266        ref.setTaggedValue(1,numpy.array([[[[-0.0041039990234716288, -0.0027768452459593354, 0.0019341047102621521, 0.0020984839948213867], [0.0039307447211766851, 0.00028062006853248251, 0.0013466984677381777, -0.0052553596852213495], [0.0051355270035340584, -0.00038498064872980093, 0.00060363107983589189, 0.0013359261714603317]], [[0.0048887788410018427, -0.00058721992314290689, 0.0035385812370079721, -0.0050403584393183933], [-0.0068629131514238483, -0.0047797315874751837, -0.0065205132679208846, -0.0040967697366875565], [-0.0037230976995120215, 0.0070093073850293732, 0.0032824374594967315, 0.0026017247308000656]]], [[[-0.0040360830515450289, -0.0049363432450522538, 0.00028368483056565708, -0.00036165384667658927], [-0.0067697469496059122, 0.00026587149392756258, -0.0065608309453043315, 0.0035634013321722072], [-0.0023341860533371448, 0.0066275119213124326, -0.0019592638967789833, 0.0038833205812373347]], [[-0.0038774423681424757, -0.0034560289759006956, 0.006691603103801437, 0.0047135869864586427], [-0.0023607000981095668, 0.0051882824788905043, 0.0031077402518642026, -0.0070814252504539594], [0.0056593102430344856, 0.0035648938995956202, 0.00035961476790210699, -0.00036711861406980856]]], [[[-0.0047838564241218457, 0.0025941269495409467, 0.00072336428096377936, 0.0053167260912967097], [0.0011830159174258598, -0.0039101142537233393, 0.0061599037161197013, -0.0070956950284753956], [-0.0062284752113375098, 0.0021305992897540996, -0.0032527589793379876, 0.005557574966031602]], [[-0.0067129442728445345, 9.9662029878842749e-05, -0.006854264968524872, -0.0064248292915665261], [-0.0054719778262319625, -0.0044962831053548891, 0.0060947543813904747, -0.0041819646069575231], [-0.00048146297736222885, 0.0025092049629285187, -0.00041999604051415183, -0.0025920400513916434]]]]))  [0.40308944546075454, 0.028776986508565694, 0.138101041168842, -0.53892587066262931], [0.52663728602135917,
1267    -0.039478940307057814, 0.061901073331744626, 0.13699636527636228]], [[0.50133379086744423, -0.060218144390797118,
1268    0.36287392077610825, -0.51687795375836121], [-0.70377703277170178, -0.49015122876508499, -0.66866465866521951,
1269    -0.42011495492066586], [-0.3817956884880731, 0.71878944762652308, 0.33660692544594062, 0.26680129425087368]]],
1270    [[[-0.41389166544344175, -0.50621141854676399, 0.029091271285637578, -0.037086826758359316], [-0.69422303848045352,
1271    0.027264551796943398, -0.67279915005846724, 0.36541916833241345], [-0.23936577635604855, 0.67963714121497287,
1272    -0.20091831286044434, 0.3982262015653627]], [[-0.3976234034126509, -0.35440836335336567, 0.68620955459741284,
1273    0.48336824171422432], [-0.24208473481363002, 0.53204724693586058, 0.31869210127311615, -0.72618498013851684],
1274    [0.58035013448348516, 0.36557222792231131, 0.036877723600876523, -0.037647226940604003]]], [[[-0.49057422192146105,
1275    0.26602215806887469, 0.074179456454888104, 0.54521886406450848], [0.12131574649388198, -0.40097383524557983,
1276    0.63168492210784855, -0.72764831528682095], [-0.63871678195691217, 0.21848839014632457, -0.33356346092257549,
1277    0.56991739990014822]], [[-0.68839804573720154, 0.010220127534847899, -0.70289018015311, -0.65885247199220331],
1278    [-0.56113959669431335, -0.46108419450589772, 0.62500399748136204, -0.42885150624851237], [-0.049372996294892474,
1279    0.2573135903751726, -0.043069693677762561, -0.26580815113700657]]]]),self.functionspace)
1280          ref.setTaggedValue(1,numpy.array([[[[-0.0041039990234716288, -0.0027768452459593354, 0.0019341047102621521,
1281    0.0020984839948213867], [0.0039307447211766851, 0.00028062006853248251, 0.0013466984677381777, -0.0052553596852213495],
1282    [0.0051355270035340584, -0.00038498064872980093, 0.00060363107983589189, 0.0013359261714603317]], [[0.0048887788410018427,
1283    -0.00058721992314290689, 0.0035385812370079721, -0.0050403584393183933], [-0.0068629131514238483, -0.0047797315874751837,
1284    -0.0065205132679208846, -0.0040967697366875565], [-0.0037230976995120215, 0.0070093073850293732, 0.0032824374594967315,
1285    0.0026017247308000656]]], [[[-0.0040360830515450289, -0.0049363432450522538, 0.00028368483056565708, -0.00036165384667658927],
1286    [-0.0067697469496059122, 0.00026587149392756258, -0.0065608309453043315, 0.0035634013321722072], [-0.0023341860533371448,
1287    0.0066275119213124326, -0.0019592638967789833, 0.0038833205812373347]], [[-0.0038774423681424757, -0.0034560289759006956,
1288    0.006691603103801437, 0.0047135869864586427], [-0.0023607000981095668, 0.0051882824788905043, 0.0031077402518642026,
1289    -0.0070814252504539594], [0.0056593102430344856, 0.0035648938995956202, 0.00035961476790210699, -0.00036711861406980856]]],
1290    [[[-0.0047838564241218457, 0.0025941269495409467, 0.00072336428096377936, 0.0053167260912967097], [0.0011830159174258598,
1291    -0.0039101142537233393, 0.0061599037161197013, -0.0070956950284753956], [-0.0062284752113375098, 0.0021305992897540996,
1292    -0.0032527589793379876, 0.005557574966031602]], [[-0.0067129442728445345, 9.9662029878842749e-05, -0.006854264968524872,
1293    -0.0064248292915665261], [-0.0054719778262319625, -0.0044962831053548891, 0.0060947543813904747, -0.0041819646069575231],
1294    [-0.00048146297736222885, 0.0025092049629285187, -0.00041999604051415183, -0.0025920400513916434]]]]))
1295        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1296        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")
1297        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
# Line 602  class Test_util_binary_with_tagged_data( Line 1312  class Test_util_binary_with_tagged_data(
1312        arg1=Data(numpy.array([0.32040652162906014, -0.39372224308492343]),self.functionspace)        arg1=Data(numpy.array([0.32040652162906014, -0.39372224308492343]),self.functionspace)
1313        arg1.setTaggedValue(1,numpy.array([0.27311607223449208, 0.82535605058609218]))        arg1.setTaggedValue(1,numpy.array([0.27311607223449208, 0.82535605058609218]))
1314        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1315        ref=Data(numpy.array([[0.29780863210595676, -0.36595348323951027], [0.061741989398825331, -0.075869849449488505]]),self.functionspace)        ref=Data(numpy.array([[0.29780863210595676, -0.36595348323951027], [0.061741989398825331,
1316        ref.setTaggedValue(1,numpy.array([[0.25385352165980618, 0.76714467350943472], [0.052629171063106765, 0.15904521626603799]]))  -0.075869849449488505]]),self.functionspace)
1317          ref.setTaggedValue(1,numpy.array([[0.25385352165980618, 0.76714467350943472], [0.052629171063106765,
1318    0.15904521626603799]]))
1319        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1320        self.assertEqual(res.getShape(),(2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(2, 2),"wrong shape of result.")
1321        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1322     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1323     def test_outer_array_rank2_taggedData_rank1(self):     def test_outer_array_rank2_taggedData_rank1(self):
1324        arg0=numpy.array([[-0.75993582440916163, 0.027687316844169141, -0.66568939935561344, 0.1141542489676417, -0.52554853090396425], [-0.76444851585395335, -0.24278348935372707, -0.66164245062582427, -0.72791122768260519, -0.10407864094215391], [-0.6256667379790799, 0.2368394036526229, -0.15274735342330548, 0.019232120181438939, -0.17080614493143176], [0.69963978173863239, 0.43954624285616561, 0.51248380637847957, -0.65834079290520253, -0.12613540004594825]])        arg0=numpy.array([[-0.75993582440916163, 0.027687316844169141, -0.66568939935561344, 0.1141542489676417,
1325    -0.52554853090396425], [-0.76444851585395335, -0.24278348935372707, -0.66164245062582427, -0.72791122768260519,
1326    -0.10407864094215391], [-0.6256667379790799, 0.2368394036526229, -0.15274735342330548, 0.019232120181438939,
1327    -0.17080614493143176], [0.69963978173863239, 0.43954624285616561, 0.51248380637847957, -0.65834079290520253,
1328    -0.12613540004594825]])
1329        arg1=Data(numpy.array([0.17903242100362937, -0.6951720673447368]),self.functionspace)        arg1=Data(numpy.array([0.17903242100362937, -0.6951720673447368]),self.functionspace)
1330        arg1.setTaggedValue(1,numpy.array([0.93205693098620945, 0.31268570213884206]))        arg1.setTaggedValue(1,numpy.array([0.93205693098620945, 0.31268570213884206]))
1331        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1332        ref=Data(numpy.array([[[-0.13605315045136118, 0.52828615810384383], [0.0049569273657061683, -0.019247449289789817], [-0.11917998480308735, 0.46276867595951787], [0.020437311560527954, -0.079356845251021269], [-0.094090225842637445, 0.36534665871849814]], [[-0.13686106852596461, 0.53142325514480859], [-0.043466115878706635, 0.16877630021119935], [-0.11845544977431563, 0.45995535024459222], [-0.1303197093677409, 0.5060235529915621], [-0.018633451062641276, 0.072352563990187704]], [[-0.1120146308418381, 0.43494603970975471], [0.042401931824984897, -0.16464413786588847], [-0.027346728485271393, 0.10618569346071642], [0.003443173037115773, -0.013369632745953342], [-0.030579837649371024, 0.11873966088716816]], [[0.12525820395511819, -0.4863700334678655], [0.078693028001588561, -0.30556027033993238], [0.091751216581094433, -0.35626442716082746], [-0.1178643459992674, 0.45766013002128286], [-0.02258232604448742, 0.087685806815297251]]]),self.functionspace)        ref=Data(numpy.array([[[-0.13605315045136118, 0.52828615810384383], [0.0049569273657061683, -0.019247449289789817],
1333        ref.setTaggedValue(1,numpy.array([[[-0.70830345224527813, -0.2376210668358385], [0.02580615556501907, 0.0086574281077596172], [-0.62046041855344625, -0.20815155724389403], [0.10639825895181579, 0.035694401490579231], [-0.48984115079865997, -0.164331511393743]], [[-0.71250953758379842, -0.23903212092878914], [-0.2262880339811579, -0.075914925836288227], [-0.61668843194050038, -0.20688613423880001], [-0.67845470490425297, -0.22760743332268193], [-0.097007218657759617, -0.032543902920653831]], [[-0.58315701962093403, -0.19563704326990752], [0.22074780770506774, 0.074056295225265023], [-0.14236922944799196, -0.047761913455016132], [0.017925430912669918, 0.006013609002551829], [-0.15920105123837597, -0.053408639357513561]], [[0.65210410776317118, 0.21876735639721048], [0.40968212214303679, 0.13743982556997014], [0.47766408375325647, 0.16024635883224128], [-0.61361109897825072, -0.20585375307620526], [-0.11756537385554432, -0.039440736127931059]]]))  [-0.11917998480308735, 0.46276867595951787], [0.020437311560527954, -0.079356845251021269], [-0.094090225842637445,
1334    0.36534665871849814]], [[-0.13686106852596461, 0.53142325514480859], [-0.043466115878706635, 0.16877630021119935],
1335    [-0.11845544977431563, 0.45995535024459222], [-0.1303197093677409, 0.5060235529915621], [-0.018633451062641276,
1336    0.072352563990187704]], [[-0.1120146308418381, 0.43494603970975471], [0.042401931824984897, -0.16464413786588847],
1337    [-0.027346728485271393, 0.10618569346071642], [0.003443173037115773, -0.013369632745953342], [-0.030579837649371024,
1338    0.11873966088716816]], [[0.12525820395511819, -0.4863700334678655], [0.078693028001588561, -0.30556027033993238],
1339    [0.091751216581094433, -0.35626442716082746], [-0.1178643459992674, 0.45766013002128286], [-0.02258232604448742,
1340    0.087685806815297251]]]),self.functionspace)
1341          ref.setTaggedValue(1,numpy.array([[[-0.70830345224527813, -0.2376210668358385], [0.02580615556501907,
1342    0.0086574281077596172], [-0.62046041855344625, -0.20815155724389403], [0.10639825895181579, 0.035694401490579231],
1343    [-0.48984115079865997, -0.164331511393743]], [[-0.71250953758379842, -0.23903212092878914], [-0.2262880339811579,
1344    -0.075914925836288227], [-0.61668843194050038, -0.20688613423880001], [-0.67845470490425297, -0.22760743332268193],
1345    [-0.097007218657759617, -0.032543902920653831]], [[-0.58315701962093403, -0.19563704326990752], [0.22074780770506774,
1346    0.074056295225265023], [-0.14236922944799196, -0.047761913455016132], [0.017925430912669918, 0.006013609002551829],
1347    [-0.15920105123837597, -0.053408639357513561]], [[0.65210410776317118, 0.21876735639721048], [0.40968212214303679,
1348    0.13743982556997014], [0.47766408375325647, 0.16024635883224128], [-0.61361109897825072, -0.20585375307620526],
1349    [-0.11756537385554432, -0.039440736127931059]]]))
1350        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1351        self.assertEqual(res.getShape(),(4, 5, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5, 2),"wrong shape of result.")
1352        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1353     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1354     def test_outer_array_rank3_taggedData_rank1(self):     def test_outer_array_rank3_taggedData_rank1(self):
1355        arg0=numpy.array([[[-0.51651482132844717, 0.16838870046166465], [0.030266288621693782, -0.15936743382357843]], [[0.95307110799080386, 0.48912409835056403], [0.033818634759858579, 0.33152576519796617]], [[0.22373931465651697, 0.65165184632789686], [0.36596253834426951, -0.20685984660022738]], [[-0.79631201418088371, 0.037523980552965019], [0.012502480984663444, -0.87951823950197539]], [[0.010089749864709452, 0.112488850669201], [-0.23698144740411142, 0.28901557411917933]], [[0.22892951029030884, -0.94640460942043347], [-0.7005406469439841, 0.42849809538716555]]])        arg0=numpy.array([[[-0.51651482132844717, 0.16838870046166465], [0.030266288621693782, -0.15936743382357843]],
1356    [[0.95307110799080386, 0.48912409835056403], [0.033818634759858579, 0.33152576519796617]], [[0.22373931465651697,
1357    0.65165184632789686], [0.36596253834426951, -0.20685984660022738]], [[-0.79631201418088371, 0.037523980552965019],
1358    [0.012502480984663444, -0.87951823950197539]], [[0.010089749864709452, 0.112488850669201], [-0.23698144740411142,
1359    0.28901557411917933]], [[0.22892951029030884, -0.94640460942043347], [-0.7005406469439841, 0.42849809538716555]]])
1360        arg1=Data(numpy.array([0.93877390799400429, 0.64515413554375312]),self.functionspace)        arg1=Data(numpy.array([0.93877390799400429, 0.64515413554375312]),self.functionspace)
1361        arg1.setTaggedValue(1,numpy.array([0.81537082954752194, -0.93152156750384663]))        arg1.setTaggedValue(1,numpy.array([0.81537082954752194, -0.93152156750384663]))
1362        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1363        ref=Data(numpy.array([[[[-0.48489063735533122, -0.33323167304969042], [0.15807891839442872, 0.10863666648168124]], [[0.028413202049861936, 0.019526421271846582], [-0.14960998865753658, -0.10281655900227703]]], [[[0.8947182886447026, 0.61487776678753403], [0.45917694130260273, 0.31556043484497581]], [[0.031748051916534313, 0.021818232073766482], [0.31122773819559735, 0.21388521845677513]]], [[[0.21004063079199864, 0.14434634413437697], [0.61175375042874802, 0.42041588359316495]], [[0.34355608230085555, 0.23610224506689478], [-0.19419462659993569, -0.13345648551208308]]], [[[-0.74755694153516516, -0.51374398913197294], [0.035226533867197991, 0.024208751235808752]], [[0.011737002933593229, 0.0080660273118127561], [-0.82566877484927603, -0.56742482950086059]]], [[[0.0094719939111752686, 0.0065094438518193262], [0.10560159794847979, 0.072572647211798708]], [[-0.22247199950163327, -0.1528895608399069], [0.27132027998699276, 0.18645959287954064]]], [[[0.21491305103038685, 0.14769482031179892], [-0.88845995372915954, -0.6105768476652631]], [[-0.65764928084025198, -0.45195669549240763], [0.40226283157459702, 0.27644731831165142]]]]),self.functionspace)        ref=Data(numpy.array([[[[-0.48489063735533122, -0.33323167304969042], [0.15807891839442872, 0.10863666648168124]],
1364        ref.setTaggedValue(1,numpy.array([[[[-0.42115111834016605, 0.48114469600284437], [0.13729923438185671, -0.15685770620398556]], [[0.024678248860795185, -0.02819370061940403], [-0.12994355671959096, 0.14845420176440532]]], [[[0.77710637994023757, -0.88780629245822151], [0.39881752182378311, -0.45562964679942303]], [[0.027574728278310551, -0.031502787662343538], [0.27031643818584267, -0.30882340046512163]]], [[[0.18243051059387827, -0.20841799710107506], [0.53133790651655155, -0.6070277493581383]], [[0.29839517847308383, -0.34090199736614052], [-0.16866748472250054, 0.19269440855864906]]], [[[-0.64928958758132516, 0.74178181567192214], [0.030595959151396169, -0.034954397183681832]], [[0.010194158291867152, -0.011646330684520728], [-0.71713351654490176, 0.81929020910910366]]], [[[0.0082268877171151437, -0.0093988196096958729], [0.091720127484993738, -0.10478579050208024]], [[-0.19322775935726277, 0.22075332935520825], [0.23565486842170857, -0.26922424063652212]]], [[[0.18666244471331708, -0.21325277627351646], [-0.77167071147073729, 0.88159630526018795]], [[-0.57120040843047404, 0.65256872154141887], [0.34938484749536636, -0.39915521748746524]]]]))  [[0.028413202049861936, 0.019526421271846582], [-0.14960998865753658, -0.10281655900227703]]], [[[0.8947182886447026,
1365    0.61487776678753403], [0.45917694130260273, 0.31556043484497581]], [[0.031748051916534313, 0.021818232073766482],
1366    [0.31122773819559735, 0.21388521845677513]]], [[[0.21004063079199864, 0.14434634413437697], [0.61175375042874802,
1367    0.42041588359316495]], [[0.34355608230085555, 0.23610224506689478], [-0.19419462659993569, -0.13345648551208308]]],
1368    [[[-0.74755694153516516, -0.51374398913197294], [0.035226533867197991, 0.024208751235808752]], [[0.011737002933593229,
1369    0.0080660273118127561], [-0.82566877484927603, -0.56742482950086059]]], [[[0.0094719939111752686, 0.0065094438518193262],
1370    [0.10560159794847979, 0.072572647211798708]], [[-0.22247199950163327, -0.1528895608399069], [0.27132027998699276,
1371    0.18645959287954064]]], [[[0.21491305103038685, 0.14769482031179892], [-0.88845995372915954, -0.6105768476652631]],
1372    [[-0.65764928084025198, -0.45195669549240763], [0.40226283157459702, 0.27644731831165142]]]]),self.functionspace)
1373          ref.setTaggedValue(1,numpy.array([[[[-0.42115111834016605, 0.48114469600284437], [0.13729923438185671,
1374    -0.15685770620398556]], [[0.024678248860795185, -0.02819370061940403], [-0.12994355671959096, 0.14845420176440532]]],
1375    [[[0.77710637994023757, -0.88780629245822151], [0.39881752182378311, -0.45562964679942303]], [[0.027574728278310551,
1376    -0.031502787662343538], [0.27031643818584267, -0.30882340046512163]]], [[[0.18243051059387827, -0.20841799710107506],
1377    [0.53133790651655155, -0.6070277493581383]], [[0.29839517847308383, -0.34090199736614052], [-0.16866748472250054,
1378    0.19269440855864906]]], [[[-0.64928958758132516, 0.74178181567192214], [0.030595959151396169, -0.034954397183681832]],
1379    [[0.010194158291867152, -0.011646330684520728], [-0.71713351654490176, 0.81929020910910366]]], [[[0.0082268877171151437,
1380    -0.0093988196096958729], [0.091720127484993738, -0.10478579050208024]], [[-0.19322775935726277, 0.22075332935520825],
1381    [0.23565486842170857, -0.26922424063652212]]], [[[0.18666244471331708, -0.21325277627351646], [-0.77167071147073729,
1382    0.88159630526018795]], [[-0.57120040843047404, 0.65256872154141887], [0.34938484749536636, -0.39915521748746524]]]]))
1383        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1384        self.assertEqual(res.getShape(),(6, 2, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2, 2),"wrong shape of result.")
1385        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1386     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1387     def test_outer_array_rank0_taggedData_rank2(self):     def test_outer_array_rank0_taggedData_rank2(self):
1388        arg0=numpy.array(0.381023055405)        arg0=numpy.array(0.381023055405)
1389        arg1=Data(numpy.array([[-0.96374377174039627, 0.28269410150435359, -0.46693824882349722, -0.83571237714671121, 0.064058933359271819], [-0.87813861155325101, -0.74732919749024562, -0.11473281004766678, 0.96760879638301756, -0.58385849784974186], [-0.35243939721348894, -0.72382016954892947, 0.2452968006296361, -0.85789289204818564, -0.7916163089717565], [0.78045878538468183, 0.78157511640125077, 0.095751483573530471, -0.079265870680946371, 0.62423275441157511]]),self.functionspace)        arg1=Data(numpy.array([[-0.96374377174039627, 0.28269410150435359, -0.46693824882349722, -0.83571237714671121,
1390        arg1.setTaggedValue(1,numpy.array([[-0.72717910379825668, -0.66469615433699292, -0.33817718108446582, 0.95947103901385011, 0.92276765711495479], [-0.65912580097769768, -0.87067394864099312, 0.01312159110347566, -0.080334948985110621, 0.78966260421412571], [0.030758256099536085, 0.69508587589403303, -0.056452090936532473, 0.28707858327623481, -0.68615848490485032], [0.28053988108826866, -0.17449695656411768, 0.90034439998096905, 0.81080675219235432, 0.57175251504841462]]))  0.064058933359271819], [-0.87813861155325101, -0.74732919749024562, -0.11473281004766678, 0.96760879638301756,
1391        res=outer(arg0,arg1)  -0.58385849784974186], [-0.35243939721348894, -0.72382016954892947, 0.2452968006296361, -0.85789289204818564,
1392        ref=Data(numpy.array([[-0.36720859653631188, 0.10771297030023252, -0.17791423825230882, -0.31842568338042998, 0.024407930514551458], [-0.33459105684334939, -0.28474965422129173, -0.043715845839592905, 0.36868126003486007, -0.22246354877503202], [-0.13428753597147039, -0.27579217256548388, 0.093463736457037996, -0.32687697093865159, -0.3016240647530502], [0.2973727910251468, 0.29779813887992357, 0.036483522830772809, -0.030202124236212127, 0.23784707136993746]]),self.functionspace)  -0.7916163089717565], [0.78045878538468183, 0.78157511640125077, 0.095751483573530471, -0.079265870680946371,
1393        ref.setTaggedValue(1,numpy.array([[-0.2770720039560679, -0.25326455964160499, -0.12885330280513987, 0.36558058685791323, 0.35159575214309013], [-0.25114212658495938, -0.33174684817295058, 0.0049996287340247272, -0.03060946771813226, 0.30087965819693796], [0.011719604717982607, 0.26484374420218337, -0.021509548172652989, 0.10938355894132336, -0.26144220241068761], [0.10689216265527945, -0.06648736354897844, 0.34305197419776118, 0.30893606606354351, 0.21785089021938683]]))  0.62423275441157511]]),self.functionspace)
1394          arg1.setTaggedValue(1,numpy.array([[-0.72717910379825668, -0.66469615433699292, -0.33817718108446582,
1395    0.95947103901385011, 0.92276765711495479], [-0.65912580097769768, -0.87067394864099312, 0.01312159110347566,
1396    -0.080334948985110621, 0.78966260421412571], [0.030758256099536085, 0.69508587589403303, -0.056452090936532473,
1397    0.28707858327623481, -0.68615848490485032], [0.28053988108826866, -0.17449695656411768, 0.90034439998096905,
1398    0.81080675219235432, 0.57175251504841462]]))
1399          res=outer(arg0,arg1)
1400          ref=Data(numpy.array([[-0.36720859653631188, 0.10771297030023252, -0.17791423825230882, -0.31842568338042998,
1401    0.024407930514551458], [-0.33459105684334939, -0.28474965422129173, -0.043715845839592905, 0.36868126003486007,
1402    -0.22246354877503202], [-0.13428753597147039, -0.27579217256548388, 0.093463736457037996, -0.32687697093865159,
1403    -0.3016240647530502], [0.2973727910251468, 0.29779813887992357, 0.036483522830772809, -0.030202124236212127,
1404    0.23784707136993746]]),self.functionspace)
1405          ref.setTaggedValue(1,numpy.array([[-0.2770720039560679, -0.25326455964160499, -0.12885330280513987, 0.36558058685791323,
1406    0.35159575214309013], [-0.25114212658495938, -0.33174684817295058, 0.0049996287340247272, -0.03060946771813226,
1407    0.30087965819693796], [0.011719604717982607, 0.26484374420218337, -0.021509548172652989, 0.10938355894132336,
1408    -0.26144220241068761], [0.10689216265527945, -0.06648736354897844, 0.34305197419776118, 0.30893606606354351,
1409    0.21785089021938683]]))
1410        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1411        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")
1412        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1413     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1414     def test_outer_array_rank1_taggedData_rank2(self):     def test_outer_array_rank1_taggedData_rank2(self):
1415        arg0=numpy.array([0.21122738013075715, 0.38647702911519244])        arg0=numpy.array([0.21122738013075715, 0.38647702911519244])
1416        arg1=Data(numpy.array([[0.82448010569624897, 0.78778800925038195, 0.76182135394840622, -0.014743151024537937, 0.90793287126714861], [0.70339472706759221, 0.20072836124543092, -0.41202920687832423, 0.33619868469705461, 0.21061116268085422], [-0.94088147074802331, -0.82287905674957873, -0.55671440962084029, 0.066252875605198769, 0.75007333719112768], [-0.028409464051573297, 0.085903578361213428, -0.6634615974962641, 0.12320652220798589, -0.90910588798641823]]),self.functionspace)        arg1=Data(numpy.array([[0.82448010569624897, 0.78778800925038195, 0.76182135394840622, -0.014743151024537937,
1417        arg1.setTaggedValue(1,numpy.array([[-0.28240737403425742, -0.95907924689419755, 0.82840524365082446, -0.11622499258020458, 0.15520913474955944], [-0.32051456889783281, -0.14175594821866255, 0.79045587302605758, -0.68131274838171674, -0.68566785701206712], [0.25832614098673279, -0.4087660456168849, -0.067134537232206304, -0.7675590141200852, 0.45657394961334696], [-0.19163440717784264, -0.60108356730739931, -0.53337132837456092, 0.44609710684362591, -0.59166458013109358]]))  0.90793287126714861], [0.70339472706759221, 0.20072836124543092, -0.41202920687832423, 0.33619868469705461,
1418        res=outer(arg0,arg1)  0.21061116268085422], [-0.94088147074802331, -0.82287905674957873, -0.55671440962084029, 0.066252875605198769,
1419        ref=Data(numpy.array([[[0.1741527726961484, 0.16640239729238285, 0.16091752872218809, -0.0031141571657852364, 0.19178028173235578], [0.14857622539627646, 0.042399325863812579, -0.087031849906262171, 0.071014367371965315, 0.044486844119369526], [-0.19873992807967858, -0.17381458732168215, -0.11759332622525127, 0.013994421340215087, 0.1584360259208159], [-0.0060008566625327532, 0.018145187801096314, -0.14014125505650277, 0.026024590901014808, -0.19202805498081668]], [[0.31864262181406616, 0.30446196938765935, 0.29442645359049352, -0.0056978892077600273, 0.35089519872335406], [0.27184590441237466, 0.077576900713295274, -0.15923982378302376, 0.12993306885415298, 0.081396376451393027], [-0.36362907556422891, -0.31802385317368903, -0.21515733109588067, 0.025605214534235629, 0.28988611497614503], [-0.010979605265406906, 0.0331997597554059, -0.25641266713237576, 0.047616490670557364, -0.35134854274011984]]]),self.functionspace)  0.75007333719112768], [-0.028409464051573297, 0.085903578361213428, -0.6634615974962641, 0.12320652220798589,
1420        ref.setTaggedValue(1,numpy.array([[[-0.059652169746863007, -0.20258379665924095, 0.17498186930294518, -0.024549900688433303, 0.032784418905511099], [-0.067701452682028276, -0.029942737560179362, 0.16696592316826456, -0.14391190689035577, -0.14483182507652953], [0.054565553979916172, -0.086342580902064162, -0.014180652415849709, -0.16212947964833244, 0.096440919212779599], [-0.04047843377108646, -0.12696530716199159, -0.11266262832942027, 0.094227923162489555, -0.12497575917725533]], [[-0.10914396291698275, -0.3706620980257056, 0.32015959746961775, -0.044918289841332747, 0.059984765289549311], [-0.12387151837577108, -0.054785417726955762, 0.30549303745376649, -0.26331172689287252, -0.26499487633780427], [0.09983711951134483, -0.1579786869131789, -0.025945956500526366, -0.29664392744771656, 0.1764553436179559], [-0.074062296362343738, -0.23230499134292551, -0.20613576640542405, 0.17240628454980714, -0.22866476916175277]]]))  -0.90910588798641823]]),self.functionspace)
1421          arg1.setTaggedValue(1,numpy.array([[-0.28240737403425742, -0.95907924689419755, 0.82840524365082446,
1422    -0.11622499258020458, 0.15520913474955944], [-0.32051456889783281, -0.14175594821866255, 0.79045587302605758,
1423    -0.68131274838171674, -0.68566785701206712], [0.25832614098673279, -0.4087660456168849, -0.067134537232206304,
1424    -0.7675590141200852, 0.45657394961334696], [-0.19163440717784264, -0.60108356730739931, -0.53337132837456092,
1425    0.44609710684362591, -0.59166458013109358]]))
1426          res=outer(arg0,arg1)
1427          ref=Data(numpy.array([[[0.1741527726961484, 0.16640239729238285, 0.16091752872218809, -0.0031141571657852364,
1428    0.19178028173235578], [0.14857622539627646, 0.042399325863812579, -0.087031849906262171, 0.071014367371965315,
1429    0.044486844119369526], [-0.19873992807967858, -0.17381458732168215, -0.11759332622525127, 0.013994421340215087,
1430    0.1584360259208159], [-0.0060008566625327532, 0.018145187801096314, -0.14014125505650277, 0.026024590901014808,
1431    -0.19202805498081668]], [[0.31864262181406616, 0.30446196938765935, 0.29442645359049352, -0.0056978892077600273,
1432    0.35089519872335406], [0.27184590441237466, 0.077576900713295274, -0.15923982378302376, 0.12993306885415298,
1433    0.081396376451393027], [-0.36362907556422891, -0.31802385317368903, -0.21515733109588067, 0.025605214534235629,
1434    0.28988611497614503], [-0.010979605265406906, 0.0331997597554059, -0.25641266713237576, 0.047616490670557364,
1435    -0.35134854274011984]]]),self.functionspace)
1436          ref.setTaggedValue(1,numpy.array([[[-0.059652169746863007, -0.20258379665924095, 0.17498186930294518,
1437    -0.024549900688433303, 0.032784418905511099], [-0.067701452682028276, -0.029942737560179362, 0.16696592316826456,
1438    -0.14391190689035577, -0.14483182507652953], [0.054565553979916172, -0.086342580902064162, -0.014180652415849709,
1439    -0.16212947964833244, 0.096440919212779599], [-0.04047843377108646, -0.12696530716199159, -0.11266262832942027,
1440    0.094227923162489555, -0.12497575917725533]], [[-0.10914396291698275, -0.3706620980257056, 0.32015959746961775,
1441    -0.044918289841332747, 0.059984765289549311], [-0.12387151837577108, -0.054785417726955762, 0.30549303745376649,
1442    -0.26331172689287252, -0.26499487633780427], [0.09983711951134483, -0.1579786869131789, -0.025945956500526366,
1443    -0.29664392744771656, 0.1764553436179559], [-0.074062296362343738, -0.23230499134292551, -0.20613576640542405,
1444    0.17240628454980714, -0.22866476916175277]]]))
1445        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1446        self.assertEqual(res.getShape(),(2, 4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(2, 4, 5),"wrong shape of result.")
1447        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1448     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1449     def test_outer_array_rank2_taggedData_rank2(self):     def test_outer_array_rank2_taggedData_rank2(self):
1450        arg0=numpy.array([[-0.26931146648060356, 0.91506700842357525, -0.73706998264364509, -0.28720133727824182, 0.025800252429858617], [-0.29453834983974625, -0.59285210365103835, -0.040735927784848025, -0.83646988159030711, -0.52739983702101423], [-0.87161143206951741, 0.59502029755090935, -0.62679623643588411, -0.36760018250200988, -0.55445488830545409], [0.021549255060761885, -0.92761947971335212, -0.85362983147259364, 0.25432476780912405, 0.089147445262878655]])        arg0=numpy.array([[-0.26931146648060356, 0.91506700842357525, -0.73706998264364509, -0.28720133727824182,
1451        arg1=Data(numpy.array([[-0.70567399039441492, -0.89584695038207984, -0.94634715844997119, -0.70948109275120275, -0.1279585411856885], [-0.26638578083208708, 0.77658666721699077, -0.30459674321230046, 0.65580657910950224, 0.28166598356718131], [-0.71099804361875529, 0.01420756976475257, 0.88834227572250146, -0.40530986441748884, -0.78540957743612116], [0.22262751168969541, 0.51962718819174181, -0.45751975587490401, -0.1666299496461936, 0.90681041528452977]]),self.functionspace)  0.025800252429858617], [-0.29453834983974625, -0.59285210365103835, -0.040735927784848025, -0.83646988159030711,
1452        arg1.setTaggedValue(1,numpy.array([[-0.54095693743134876, -0.26273807040894326, 0.4877890870465873, -0.76937359878437128, -0.48852390946348234], [0.99110914989877874, 0.64594790132996693, -0.92093161527638556, 0.42875435652153526, 0.98042231520977485], [0.65087641644302385, 0.62865548472018284, -0.52793696081732633, 0.76944980836278853, -0.27268121480559637], [-0.2403351288025557, 0.6608784486374617, -0.33909031187408578, -0.025158887018166265, 0.098034219336275541]]))  -0.52739983702101423], [-0.87161143206951741, 0.59502029755090935, -0.62679623643588411, -0.36760018250200988,
1453        res=outer(arg0,arg1)  -0.55445488830545409], [0.021549255060761885, -0.92761947971335212, -0.85362983147259364, 0.25432476780912405,
1454        ref=Data(numpy.array([[[[0.19004609721033922, 0.24126185594957442, 0.25486214104191385, 0.19107139352908753, 0.034460702375436476], [0.071740745285470031, -0.20914369419749224, 0.082031395599720461, -0.176616231547608, -0.075855879092179182], [0.19147992579180712, -0.0038262614484709983, -0.23924076101154354, 0.10915459396532852, 0.21151980508723295], [-0.059956141652079582, -0.13994156007511055, 0.12321531639851813, 0.044875356098805524, -0.24421444276016183]], [[-0.64573898731254409, -0.8197599888915128, -0.86597106321296624, -0.64922274107693223, -0.11709063948503282], [-0.24376083955259609, 0.71062883835188628, -0.27872643058684371, 0.60010696445023093, 0.2577432489575045], [-0.65061085276922903, 0.013000878361601373, 0.81289270870158026, -0.37088568511707642, -0.71870239241169576], [0.20371909111467409, 0.47549369659417134, -0.4186612343031329, -0.15247756953651337, 0.82979229392175458]], [[0.52013111585208316, 0.66030189616948198, 0.69752408365358309, 0.52293721672012339, 0.094314399730841575], [0.19634496285442027, -0.57239872132691361, 0.22450911623280112, -0.48337534388182907, -0.20760754161916756], [0.52405531566974162, -0.010471973199914554, -0.65477042574840039, 0.29874173473149662, 0.57890182360899445], [-0.16409205617712169, -0.38300160258165322, 0.33722407852184022, 0.12281793409363137, -0.66838273705484497]], [[0.20267051372374914, 0.25728844214636809, 0.27179216943629592, 0.20376391861177376, 0.036749864144702722], [0.076506352486884047, -0.2230367293371727, 0.08748059198116992, -0.18834852651611814, -0.080894847146285753], [0.20419958892952023, -0.0040804330359108538, -0.25513308954829905, 0.11640553507276567, 0.22557068095079283], [-0.063938919072207931, -0.14923762333480087, 0.13140028571848716, 0.047856344368992901, -0.26043716392755478]], [[-0.01820656708536153, -0.023113077458376687, -0.024415995574288668, -0.018304791287192965, -0.0033013626631472237], [-0.0068728203891928394, 0.02003613204786097, -0.0078586728641901766, 0.016919975286187203, 0.0072670534769376871], [-0.018343929002499513, 0.00036655888634544329, 0.022919454957755603, -0.010457096814282982, -0.020263765358680515], [0.0057438459994254417, 0.013406512624764588, -0.011804125193219814, -0.0042990947632464251, 0.023395937620365792]]], [[[0.20784805265559991, 0.26386128247450685, 0.2787355304253874, 0.20896939030143921, 0.0376886975687339], [0.078460828307055239, -0.22873455546964064, 0.089715422112311913, -0.19316018762496179, -0.082961434005866669], [0.20941619050675611, -0.0041846741537432935, -0.26165086798419046, 0.11937929863929844, 0.23133324088636753], [-0.06557233992201171, -0.15305013454186292, 0.13475711391447778, 0.049078910402669873, -0.26709044333540038]], [[0.41836030969715149, 0.53110474908338345, 0.5610439036712479, 0.42061735833818803, 0.075860490322053456], [0.15792737054902728, -0.46040103932694182, 0.18058081997866746, -0.38879631001325948, -0.16698627088474224], [0.42151668585115182, -0.0084229876228024501, -0.52665558692423575, 0.24028880575042538, 0.46563172021067756], [-0.13198518863583206, -0.3080620716337481, 0.27124154973234638, 0.098786916179012474, -0.53760446231410519]], [[0.028746284712352424, 0.036493156677040735, 0.038550329506014155, 0.028901370559028059, 0.0052125098931947089], [0.010851471930886253, -0.031634978394427138, 0.012408030934996169, -0.026714889447432905, -0.011473925166040889], [0.028963164960021843, -0.00057875853593515093, -0.036187446792059375, 0.016510673367397369, 0.031994387827965834], [-0.0090689382391118418, -0.021167495613222429, 0.018637491735461389, 0.0067878255955802049, -0.036939763591578655]], [[0.59027503918657576, 0.749348992509136, 0.79159089557197104, 0.59345956564416025, 0.1070334657940613], [0.22282368254995738, -0.64959135757160746, 0.25478600172758614, -0.54856245157386974, -0.23560511192245753], [0.5947284493567202, -0.011884204198808609, -0.74307155818526471, 0.33902949429668033, 0.65697145623788544], [-0.18622120834182423, -0.43465249257785049, 0.38270149602190717, 0.13938093424995041, -0.7585196006979078]], [[0.3721723475239832, 0.47246953562728156, 0.49910333713181476, 0.37418021268647539, 0.067485313766778854], [0.14049181739555835, -0.40957168172293357, 0.16064427272729898, -0.34587228293966038, -0.14855059382769509], [0.3749802523267915, -0.0074930699783951945, -0.46851157143492417, 0.21376035643679298, 0.41422488313455397], [-0.1174137133815393, -0.27405129436401254, 0.2412958446823186, 0.087880608286222309, -0.47825166523001922]]], [[[0.61507351734188687, 0.78083044333763452, 0.82484700201149785, 0.6183918312791219, 0.11153012732838428], [0.23218489191401204, -0.67688181713909512, 0.26549000355498426, -0.57160851157824455, -0.24550329130226006], [0.61971402299716849, -0.012383480228883564, -0.77428928311038359, 0.35327271135682936, 0.68457196655021213], [-0.19404468428192864, -0.45291299764206072, 0.39877944961822109, 0.14523656903679039, -0.79038632468170278]], [[-0.41989034773842232, -0.53304711897641988, -0.56309576780735937, -0.42215565091556495, -0.076137929250488665], [-0.15850494657403977, 0.46208482980152288, -0.18124124477922093, 0.39021822583757998, 0.16759697735211376], [-0.4230582674721462, 0.0084537923888983769, 0.52858168522745475, -0.24116759612601293, -0.46733464046537482], [0.1324678882486211, 0.3091887241333926, -0.27223354127610477, -0.099148202219371151, 0.5395706031248646]], [[0.44231380132991149, 0.56151349692205188, 0.59316683727823527, 0.4447000787588723, 0.080203932035015621], [0.16696960486558646, -0.48676160027789622, 0.19092009227609735, -0.4110570956157279, -0.17654717843192083], [0.44565089785351236, -0.0089052512574471707, -0.55680959508975236, 0.25404669760722048, 0.49229176719765882], [-0.13954208645418689, -0.32570036590834467, 0.28677166107745433, 0.10444302531573503, -0.56838535546120439]], [[0.2594058876559085, 0.32931350245432156, 0.34787738815646785, 0.26080537917706753, 0.047037583092550038], [0.097923461649815621, -0.28547340059759341, 0.11196981839435949, -0.24107461816667181, -0.10354046696390397], [0.26136301059282641, -0.0052227052384330825, -0.32655478267984234, 0.14899198012973378, 0.28871670400434457], [-0.081837913927100367, -0.19101504921229051, 0.16818434575788971, 0.06125319990024148, -0.3333436741533165]], [[0.39126439352419939, 0.49670672081287776, 0.52470680803656267, 0.3933752600361996, 0.070947238660839768], [0.14769889835741601, -0.43058227383130143, 0.16888515323598113, -0.36361516357014101, -0.15617108145818737], [0.39421634086003332, -0.007877456507007833, -0.49254571726273244, 0.2247260356046975, 0.43547417953137846], [-0.12343691212763125, -0.28810983458932937, 0.25367406514115853, 0.092388790119423705, -0.50278546752080644]]], [[[-0.01520674880875488, -0.019304834429189136, -0.020393076293465671, -0.015288789028483728, -0.002757411241213406], [-0.0057404151357108588, 0.016734864168645943, -0.0065638329101592539, 0.014132143243756381, 0.0060696921218295558], [-0.015321478189643262, 0.00030616254465422186, 0.019143114280801843, -0.0087341256469752847, -0.016924991311336186], [0.0047974570329439945, 0.01119757881485036, -0.0098592099146858174, -0.0035907512856877353, 0.019541088930721741]], [[0.65459693981691225, 0.83100508201621803, 0.87785005874957145, 0.65812848212433117, 0.11869683539954791], [0.24710463941849567, -0.72037692019615107, 0.28254987246097568, -0.60833895770614976, -0.2612788531295383], [0.65953563529884107, -0.013179218473170932, -0.82404359961308205, 0.37597332555364027, 0.72856122358317843], [-0.20651361656347347, -0.48201630195533562, 0.42440423790325832, 0.15456918719546417, -0.84117500562488423]], [[0.60238436949497709, 0.76472168127989182, 0.80783016538221675, 0.6056342256382008, 0.10922922794781821], [0.22739484919838976, -0.66291754586030294, 0.26001286657541695, -0.55981605960386249, -0.2404384860840153], [0.60692914015162192, -0.012128005383920852, -0.75831546711497921, 0.3459845912568808, 0.67044904522375715], [-0.19004148528483755, -0.44356926908469424, 0.3905525121028765, 0.14224029583476699, -0.77408042197692584]], [[-0.17947037375599761, -0.22783606764843434, -0.24067952133961326, -0.18043861417891324, -0.032543026276244467], [-0.067748501857772758, 0.19750522382362268, -0.077466495992883702, 0.16678785595972009, 0.071634635870451935], [-0.1808244123560814, 0.0036133368815526286, 0.22592744300815404, -0.1030803371587254, -0.19974910841650376], [0.056619690218404836, 0.13215406398417273, -0.11635860568097209, -0.042378123253814216, 0.23062434831413339]], [[-0.062909033432123257, -0.07986246697310323, -0.084364431507599563, -0.063248426881085187, -0.011407177046268971], [-0.023747611815537674, 0.069230717407608042, -0.027154021492769662, 0.05846348111420005, 0.025109802852470175], [-0.063383659175516804, 0.0012665685479218095, 0.079193444399672755, -0.036132338952662858, -0.07001725731342727], [0.019846673912367999, 0.046323436316426846, -0.040786717393543608, -0.01485463431524027, 0.080839831860385875]]]]),self.functionspace)  0.089147445262878655]])
1455        ref.setTaggedValue(1,numpy.array([[[[0.14568590612249263, 0.070758375042116586, -0.1313671943657512, 0.20720113216007854, 0.13156509046844803], [-0.26691705860158443, -0.17396117657724161, 0.24801744383843441, -0.11546846451476218, -0.26403897147945299], [-0.17528848220991078, -0.1693041305010671, 0.14217947712702708, -0.20722165627340194, 0.07343617784100763], [0.064725005984621012, -0.17798214416798105, 0.091320909160175254, 0.0067755767578821756, -0.026401739374733509]], [[-0.49501184642128349, -0.24042294008809439, 0.4463597006253876, -0.70402839739969469, -0.44703211237613832], [0.90693128481910823, 0.59108561366749957, -0.84271413815365304, 0.39233896637073629, 0.89715211497072422], [0.59559553524797493, 0.57526189373197034, -0.48309769537134506, 0.70409813427063017, -0.24952158348546338], [-0.21992274733244926, 0.60474806492629551, -0.3102903572720368, -0.023022067478980127, 0.089707879811186275]], [[0.39872312048348363, 0.19365634499614462, -0.3595346939231876, 0.56708218510247532, 0.36007630946925456], [-0.73051680391385065, -0.47610880842197773, 0.6787910496877495, -0.31602196611971523, -0.72263985885511106], [-0.47974146897081749, -0.46336308721153746, 0.38912648654656545, -0.5671383568951166, 0.20098513826400899], [0.17714380921515793, -0.48711366666677297, 0.24993329028766062, 0.018543860417813238, -0.072258080344671904]], [[0.15536355584022554, 0.075458725175353361, -0.14009367810951256, 0.22096512643744493, 0.14030472009030687], [-0.2846478732396307, -0.18551710107404029, 0.26449279144918925, -0.12313882455685699, -0.28157860002567725], [-0.18693257720530626, -0.18055069589893782, 0.15162420114534689, -0.22098701393027975, 0.078314409542822788], [0.069024570387032483, -0.18980517422704885, 0.097387191028333514, 0.0072256659960495493, -0.028155558892406809]], [[-0.013956825539412031, -0.0067787085394847022, 0.012585081578332231, -0.019850033061505543, -0.012604040182179241], [0.025570866252931073, 0.016665618910850555, -0.023760268144768188, 0.011061970628657207, 0.025295143220278603], [0.016792775844871793, 0.016219470197195843, -0.013620906856139398, 0.019851999287866282, -0.0070352441748648869], [-0.0062007069908685212, 0.017050830800299864, -0.0087486156428708984, -0.00064910563592298254, 0.0025293076056400357]]], [[[0.15933256368539234, 0.077386437698329216, -0.14367259276853817, 0.22661003019621573, 0.14388902615063567], [-0.29191965352226001, -0.19025642894017569, 0.27124967827875868, -0.12628460065645525, -0.28877197086795064], [-0.19170806564873571, -0.18516314908718848, 0.15549768125854607, -0.22663247683968471, 0.080315075041137746], [0.070787912246027623, -0.19465404770632946, 0.099875100906038142, 0.0074102570661353055, -0.028874837191134341]], [[0.32070745834079822, 0.15576481775115664, -0.28918678639358875, 0.45612475653288448, 0.28962242740925492], [-0.58758114446528331, -0.38295157215244424, 0.54597624543535395, -0.25418792221333947, -0.5812454320385364], [-0.38587345270509599, -0.37269972658812361, 0.3129885378156877, -0.45616993754176749, 0.16165963182361848], [0.1424831866918384, -0.39180317853235386, 0.20103040472223843, 0.014915499094238669, -0.058119793163298253]], [[0.022036382737915975, 0.010702879062509028, -0.019870541024166726, 0.03134114735964879, 0.019900474697076051], [-0.040373750757178764, -0.026313287061351671, 0.037515003774682289, -0.017465706504700244, -0.039938412631038894], [-0.026514054697083688, -0.025608864427109999, 0.021506001910806746, -0.031344251827531706, 0.011107922274605405], [0.0097902744510630583, -0.026921496758258036, 0.013813158457044353, 0.0010248706047191714, -0.003993514879326472]], [[0.45249418539865549, 0.21977248264423455, -0.40802087988290286, 0.64355784307387154, 0.408635536702953], [-0.82903295325890136, -0.54031596453898478, 0.77033155918300844, -0.35864010583089689, -0.82009373791201512], [-0.54443851899201956, -0.52585137886498845, 0.44160336710201553, -0.64362159009090625, 0.22808962346033829], [0.20103309673146497, -0.55280491767736339, 0.28363883302173687, 0.021044651245029449, -0.0820026718400126]], [[0.28530060063668033, 0.13856801551289244, -0.25725988500899949, 0.40576751060714861, 0.25764743023190928], [-0.52271080412665183, -0.34067281788549075, 0.48569918380426513, -0.22612497775150753, -0.51707456925340067], [-0.34327211595287255, -0.33155280018379113, 0.27843386709242746, -0.40580770352638529, 0.14381202824716369], [0.12675270776089234, -0.34854718610209801, 0.17883617521779774, 0.013268792913010998, -0.051703231300434083]]], [[[0.47150425092247822, 0.22900550580832074, -0.42516254470855847, 0.67059482423292416, 0.42580302432766509], [-0.8638620654804765, -0.56301557532051183, 0.80269452402914432, -0.37370719869377977, -0.85454729819290365], [-0.56731132543617957, -0.54794330731531515, 0.46015589046041849, -0.67066124937270588, 0.23767206413516154], [0.20947884579220749, -0.57602921104077898, 0.29555499233347121, 0.021928773543179091, -0.085447746307508302]], [[-0.32188035787262981, -0.1563344848326812, 0.2902444077165468, -0.45779290767649056, -0.29068164196969476], [0.58973006127820016, 0.38435211245174233, -0.5479730037457945, 0.25511754479369259, 0.58337117772167169], [0.38728467898079766, 0.37406277357521434, -0.31413320751364826, 0.45783825392251659, -0.16225085757016938], [-0.14300427985203282, 0.39323609115324581, -0.20176561826794917, -0.014970048439599001, 0.058332350359641787]], [[0.33906977245585146, 0.16468323370075197, -0.3057443639352968, 0.48224047613117582, 0.30620494786065533], [-0.62122348505372305, -0.40487771348728108, 0.57723647047005799, -0.26874161702318755, -0.61452501729124298], [-0.40796688821136257, -0.39403889183738705, 0.33090890011569896, -0.4822882440081081, 0.17091555918691267], [0.15064115421677537, -0.41423612434754675, 0.21254053129454714, 0.015769495695902237, -0.061447479721907484]], [[0.19885586892549215, 0.096582562632553465, -0.17931135742081428, 0.28282187532536301, 0.17958147827537146], [-0.36433190438220292, -0.23745056641568613, 0.33853462984747007, -0.15761017970584817, -0.36040342200015629], [-0.23926228947070974, -0.23109387091402869, 0.1940697231460056, -0.28284988998029759, 0.10023766432740698], [0.088347237209463525, -0.24293903833077607, 0.12464966052957738, 0.0092484114594253656, -0.036037396919456954]], [[0.29993621832155898, 0.14567640748218116, -0.27045704377503499, 0.42658295277915381, 0.27086446965611888], [-0.54952531300564089, -0.35814897148304931, 0.51061503588502977, -0.23772494885562467, -0.54359994527181044], [-0.36088161077957098, -0.3485611065631401, 0.29271722864229155, -0.42662520755244299, 0.15118943249803246], [0.13325498699609795, -0.36642728642276562, 0.18801028099560782, 0.013949467891546915, -0.054355552132207045]]], [[[-0.011657219021596743, -0.005661809693414733, 0.010511491452623091, -0.016579427917220696, -0.010527326328309128], [0.021357663864223667, 0.013919696081723309, -0.019845390271110267, 0.0092393369870953992, 0.021127370537718123], [0.014025901910965392, 0.013547057385582116, -0.011376648224656019, 0.016581070176864082, -0.005876077048124196], [-0.0051790429906273328, 0.014241438253849286, -0.0073071436192079691, -0.00054215527339935589, 0.0021125643971600765]], [[0.50180219284739613, 0.24372095217363401, -0.45248265913600633, 0.71368593740954778, 0.45316429472404823], [-0.9193721539682479, -0.59919385615363563, 0.85427410581425778, -0.39772089312133962, -0.90945883793425142], [-0.60376564277856892, -0.58315307365508118, 0.48972460891481662, -0.71375663089902841, 0.2529444066055721], [0.22293954713666819, -0.61304372267884955, 0.31454677867647773, 0.0233378736859584, -0.090938451534820566]], [[0.46177697933345263, 0.22428105476462068, -0.41639131616974862, 0.65676025546976569, 0.417018582505645], [-0.84604033659903999, -0.55140039815237518, 0.78613469954616444, -0.36599750910061846, -0.83691773570449013], [-0.55560752567774407, -0.53663907547601131, 0.45066273889064756, -0.65682531023934665, 0.23276881944024333], [0.2051572354966697, -0.56414555873426553, 0.28945760577906504, 0.021476376485355293, -0.083684934130572167]], [[-0.13757874750696261, -0.066820798751371785, 0.12405684630294792, -0.1956707618693054, -0.12424372984350569], [0.25206360442150522, 0.1642805500225348, -0.23421571922324833, 0.10904285216948985, 0.24934567767060983], [0.16553399348430678, 0.15988266018339284, -0.13426744497772114, 0.19569014385264119, -0.069349586641343178], [-0.061123175829085899, 0.16807775799977656, -0.086239064833700321, -0.0063985280992311204, 0.024932530070047018]], [[-0.048224928969235636, -0.023422427750255628, 0.043485150937315191, -0.068587690784333702, -0.043550658478503278], [0.08835484869013957, 0.057584605176484567, -0.082098700763706012, 0.038222355529224324, 0.08740214467966817], [0.05802396970775308, 0.05604303041330095, -0.047064231316713112, 0.068594484673554168, -0.024308833671097159], [-0.021425262739672726, 0.058915625325324281, -0.030229035016967516, -0.0022428505033269255, 0.0087395002021696637]]]]))        arg1=Data(numpy.array([[-0.70567399039441492, -0.89584695038207984, -0.94634715844997119, -0.70948109275120275,
1456    -0.1279585411856885], [-0.26638578083208708, 0.77658666721699077, -0.30459674321230046, 0.65580657910950224,
1457    0.28166598356718131], [-0.71099804361875529, 0.01420756976475257, 0.88834227572250146, -0.40530986441748884,
1458    -0.78540957743612116], [0.22262751168969541, 0.51962718819174181, -0.45751975587490401, -0.1666299496461936,
1459    0.90681041528452977]]),self.functionspace)
1460          arg1.setTaggedValue(1,numpy.array([[-0.54095693743134876, -0.26273807040894326, 0.4877890870465873, -0.76937359878437128,
1461    -0.48852390946348234], [0.99110914989877874, 0.64594790132996693, -0.92093161527638556, 0.42875435652153526,
1462    0.98042231520977485], [0.65087641644302385, 0.62865548472018284, -0.52793696081732633, 0.76944980836278853,
1463    -0.27268121480559637], [-0.2403351288025557, 0.6608784486374617, -0.33909031187408578, -0.025158887018166265,
1464    0.098034219336275541]]))
1465          res=outer(arg0,arg1)
1466          ref=Data(numpy.array([[[[0.19004609721033922, 0.24126185594957442, 0.25486214104191385, 0.19107139352908753,
1467    0.034460702375436476], [0.071740745285470031, -0.20914369419749224, 0.082031395599720461, -0.176616231547608,
1468    -0.075855879092179182], [0.19147992579180712, -0.0038262614484709983, -0.23924076101154354, 0.10915459396532852,
1469    0.21151980508723295], [-0.059956141652079582, -0.13994156007511055, 0.12321531639851813, 0.044875356098805524,
1470    -0.24421444276016183]], [[-0.64573898731254409, -0.8197599888915128, -0.86597106321296624, -0.64922274107693223,
1471    -0.11709063948503282], [-0.24376083955259609, 0.71062883835188628, -0.27872643058684371, 0.60010696445023093,
1472    0.2577432489575045], [-0.65061085276922903, 0.013000878361601373, 0.81289270870158026, -0.37088568511707642,
1473    -0.71870239241169576], [0.20371909111467409, 0.47549369659417134, -0.4186612343031329, -0.15247756953651337,
1474    0.82979229392175458]], [[0.52013111585208316, 0.66030189616948198, 0.69752408365358309, 0.52293721672012339,
1475    0.094314399730841575], [0.19634496285442027, -0.57239872132691361, 0.22450911623280112, -0.48337534388182907,
1476    -0.20760754161916756], [0.52405531566974162, -0.010471973199914554, -0.65477042574840039, 0.29874173473149662,
1477    0.57890182360899445], [-0.16409205617712169, -0.38300160258165322, 0.33722407852184022, 0.12281793409363137,
1478    -0.66838273705484497]], [[0.20267051372374914, 0.25728844214636809, 0.27179216943629592, 0.20376391861177376,
1479    0.036749864144702722], [0.076506352486884047, -0.2230367293371727, 0.08748059198116992, -0.18834852651611814,
1480    -0.080894847146285753], [0.20419958892952023, -0.0040804330359108538, -0.25513308954829905, 0.11640553507276567,
1481    0.22557068095079283], [-0.063938919072207931, -0.14923762333480087, 0.13140028571848716, 0.047856344368992901,
1482    -0.26043716392755478]], [[-0.01820656708536153, -0.023113077458376687, -0.024415995574288668, -0.018304791287192965,
1483    -0.0033013626631472237], [-0.0068728203891928394, 0.02003613204786097, -0.0078586728641901766, 0.016919975286187203,
1484    0.0072670534769376871], [-0.018343929002499513, 0.00036655888634544329, 0.022919454957755603, -0.010457096814282982,
1485    -0.020263765358680515], [0.0057438459994254417, 0.013406512624764588, -0.011804125193219814, -0.0042990947632464251,
1486    0.023395937620365792]]], [[[0.20784805265559991, 0.26386128247450685, 0.2787355304253874, 0.20896939030143921,
1487    0.0376886975687339], [0.078460828307055239, -0.22873455546964064, 0.089715422112311913, -0.19316018762496179,
1488    -0.082961434005866669], [0.20941619050675611, -0.0041846741537432935, -0.26165086798419046, 0.11937929863929844,
1489    0.23133324088636753], [-0.06557233992201171, -0.15305013454186292, 0.13475711391447778, 0.049078910402669873,
1490    -0.26709044333540038]], [[0.41836030969715149, 0.53110474908338345, 0.5610439036712479, 0.42061735833818803,
1491    0.075860490322053456], [0.15792737054902728, -0.46040103932694182, 0.18058081997866746, -0.38879631001325948,
1492    -0.16698627088474224], [0.42151668585115182, -0.0084229876228024501, -0.52665558692423575, 0.24028880575042538,
1493    0.46563172021067756], [-0.13198518863583206, -0.3080620716337481, 0.27124154973234638, 0.098786916179012474,
1494    -0.53760446231410519]], [[0.028746284712352424, 0.036493156677040735, 0.038550329506014155, 0.028901370559028059,
1495    0.0052125098931947089], [0.010851471930886253, -0.031634978394427138, 0.012408030934996169, -0.026714889447432905,
1496    -0.011473925166040889], [0.028963164960021843, -0.00057875853593515093, -0.036187446792059375, 0.016510673367397369,
1497    0.031994387827965834], [-0.0090689382391118418, -0.021167495613222429, 0.018637491735461389, 0.0067878255955802049,
1498    -0.036939763591578655]], [[0.59027503918657576, 0.749348992509136, 0.79159089557197104, 0.59345956564416025,
1499    0.1070334657940613], [0.22282368254995738, -0.64959135757160746, 0.25478600172758614, -0.54856245157386974,
1500    -0.23560511192245753], [0.5947284493567202, -0.011884204198808609, -0.74307155818526471, 0.33902949429668033,
1501    0.65697145623788544], [-0.18622120834182423, -0.43465249257785049, 0.38270149602190717, 0.13938093424995041,
1502    -0.7585196006979078]], [[0.3721723475239832, 0.47246953562728156, 0.49910333713181476, 0.37418021268647539,
1503    0.067485313766778854], [0.14049181739555835, -0.40957168172293357, 0.16064427272729898, -0.34587228293966038,
1504    -0.14855059382769509], [0.3749802523267915, -0.0074930699783951945, -0.46851157143492417, 0.21376035643679298,
1505    0.41422488313455397], [-0.1174137133815393, -0.27405129436401254, 0.2412958446823186, 0.087880608286222309,
1506    -0.47825166523001922]]], [[[0.61507351734188687, 0.78083044333763452, 0.82484700201149785, 0.6183918312791219,
1507    0.11153012732838428], [0.23218489191401204, -0.67688181713909512, 0.26549000355498426, -0.57160851157824455,
1508    -0.24550329130226006], [0.61971402299716849, -0.012383480228883564, -0.77428928311038359, 0.35327271135682936,
1509    0.68457196655021213], [-0.19404468428192864, -0.45291299764206072, 0.39877944961822109, 0.14523656903679039,
1510    -0.79038632468170278]], [[-0.41989034773842232, -0.53304711897641988, -0.56309576780735937, -0.42215565091556495,
1511    -0.076137929250488665], [-0.15850494657403977, 0.46208482980152288, -0.18124124477922093, 0.39021822583757998,
1512    0.16759697735211376], [-0.4230582674721462, 0.0084537923888983769, 0.52858168522745475, -0.24116759612601293,
1513    -0.46733464046537482], [0.1324678882486211, 0.3091887241333926, -0.27223354127610477, -0.099148202219371151,
1514    0.5395706031248646]], [[0.44231380132991149, 0.56151349692205188, 0.59316683727823527, 0.4447000787588723,
1515    0.080203932035015621], [0.16696960486558646, -0.48676160027789622, 0.19092009227609735, -0.4110570956157279,
1516    -0.17654717843192083], [0.44565089785351236, -0.0089052512574471707, -0.55680959508975236, 0.25404669760722048,
1517    0.49229176719765882], [-0.13954208645418689, -0.32570036590834467, 0.28677166107745433, 0.10444302531573503,
1518    -0.56838535546120439]], [[0.2594058876559085, 0.32931350245432156, 0.34787738815646785, 0.26080537917706753,
1519    0.047037583092550038], [0.097923461649815621, -0.28547340059759341, 0.11196981839435949, -0.24107461816667181,
1520    -0.10354046696390397], [0.26136301059282641, -0.0052227052384330825, -0.32655478267984234, 0.14899198012973378,
1521    0.28871670400434457], [-0.081837913927100367, -0.19101504921229051, 0.16818434575788971, 0.06125319990024148,
1522    -0.3333436741533165]], [[0.39126439352419939, 0.49670672081287776, 0.52470680803656267, 0.3933752600361996,
1523    0.070947238660839768], [0.14769889835741601, -0.43058227383130143, 0.16888515323598113, -0.36361516357014101,
1524    -0.15617108145818737], [0.39421634086003332, -0.007877456507007833, -0.49254571726273244, 0.2247260356046975,
1525    0.43547417953137846], [-0.12343691212763125, -0.28810983458932937, 0.25367406514115853, 0.092388790119423705,
1526    -0.50278546752080644]]], [[[-0.01520674880875488, -0.019304834429189136, -0.020393076293465671, -0.015288789028483728,
1527    -0.002757411241213406], [-0.0057404151357108588, 0.016734864168645943, -0.0065638329101592539, 0.014132143243756381,
1528    0.0060696921218295558], [-0.015321478189643262, 0.00030616254465422186, 0.019143114280801843, -0.0087341256469752847,
1529    -0.016924991311336186], [0.0047974570329439945, 0.01119757881485036, -0.0098592099146858174, -0.0035907512856877353,
1530    0.019541088930721741]], [[0.65459693981691225, 0.83100508201621803, 0.87785005874957145, 0.65812848212433117,
1531    0.11869683539954791], [0.24710463941849567, -0.72037692019615107, 0.28254987246097568, -0.60833895770614976,
1532    -0.2612788531295383], [0.65953563529884107, -0.013179218473170932, -0.82404359961308205, 0.37597332555364027,
1533    0.72856122358317843], [-0.20651361656347347, -0.48201630195533562, 0.42440423790325832, 0.15456918719546417,
1534    -0.84117500562488423]], [[0.60238436949497709, 0.76472168127989182, 0.80783016538221675, 0.6056342256382008,
1535    0.10922922794781821], [0.22739484919838976, -0.66291754586030294, 0.26001286657541695, -0.55981605960386249,
1536    -0.2404384860840153], [0.60692914015162192, -0.012128005383920852, -0.75831546711497921, 0.3459845912568808,
1537    0.67044904522375715], [-0.19004148528483755, -0.44356926908469424, 0.3905525121028765, 0.14224029583476699,
1538    -0.77408042197692584]], [[-0.17947037375599761, -0.22783606764843434, -0.24067952133961326, -0.18043861417891324,
1539    -0.032543026276244467], [-0.067748501857772758, 0.19750522382362268, -0.077466495992883702, 0.16678785595972009,
1540    0.071634635870451935], [-0.1808244123560814, 0.0036133368815526286, 0.22592744300815404, -0.1030803371587254,
1541    -0.19974910841650376], [0.056619690218404836, 0.13215406398417273, -0.11635860568097209, -0.042378123253814216,
1542    0.23062434831413339]], [[-0.062909033432123257, -0.07986246697310323, -0.084364431507599563, -0.063248426881085187,
1543    -0.011407177046268971], [-0.023747611815537674, 0.069230717407608042, -0.027154021492769662, 0.05846348111420005,
1544    0.025109802852470175], [-0.063383659175516804, 0.0012665685479218095, 0.079193444399672755, -0.036132338952662858,
1545    -0.07001725731342727], [0.019846673912367999, 0.046323436316426846, -0.040786717393543608, -0.01485463431524027,
1546    0.080839831860385875]]]]),self.functionspace)
1547          ref.setTaggedValue(1,numpy.array([[[[0.14568590612249263, 0.070758375042116586, -0.1313671943657512, 0.20720113216007854,
1548    0.13156509046844803], [-0.26691705860158443, -0.17396117657724161, 0.24801744383843441, -0.11546846451476218,
1549    -0.26403897147945299], [-0.17528848220991078, -0.1693041305010671, 0.14217947712702708, -0.20722165627340194,
1550    0.07343617784100763], [0.064725005984621012, -0.17798214416798105, 0.091320909160175254, 0.0067755767578821756,
1551    -0.026401739374733509]], [[-0.49501184642128349, -0.24042294008809439, 0.4463597006253876, -0.70402839739969469,
1552    -0.44703211237613832], [0.90693128481910823, 0.59108561366749957, -0.84271413815365304, 0.39233896637073629,
1553    0.89715211497072422], [0.59559553524797493, 0.57526189373197034, -0.48309769537134506, 0.70409813427063017,
1554    -0.24952158348546338], [-0.21992274733244926, 0.60474806492629551, -0.3102903572720368, -0.023022067478980127,
1555    0.089707879811186275]], [[0.39872312048348363, 0.19365634499614462, -0.3595346939231876, 0.56708218510247532,
1556    0.36007630946925456], [-0.73051680391385065, -0.47610880842197773, 0.6787910496877495, -0.31602196611971523,
1557    -0.72263985885511106], [-0.47974146897081749, -0.46336308721153746, 0.38912648654656545, -0.5671383568951166,
1558    0.20098513826400899], [0.17714380921515793, -0.48711366666677297, 0.24993329028766062, 0.018543860417813238,
1559    -0.072258080344671904]], [[0.15536355584022554, 0.075458725175353361, -0.14009367810951256, 0.22096512643744493,
1560    0.14030472009030687], [-0.2846478732396307, -0.18551710107404029, 0.26449279144918925, -0.12313882455685699,
1561    -0.28157860002567725], [-0.18693257720530626, -0.18055069589893782, 0.15162420114534689, -0.22098701393027975,
1562    0.078314409542822788], [0.069024570387032483, -0.18980517422704885, 0.097387191028333514, 0.0072256659960495493,
1563    -0.028155558892406809]], [[-0.013956825539412031, -0.0067787085394847022, 0.012585081578332231, -0.019850033061505543,
1564    -0.012604040182179241], [0.025570866252931073, 0.016665618910850555, -0.023760268144768188, 0.011061970628657207,
1565    0.025295143220278603], [0.016792775844871793, 0.016219470197195843, -0.013620906856139398, 0.019851999287866282,
1566    -0.0070352441748648869], [-0.0062007069908685212, 0.017050830800299864, -0.0087486156428708984, -0.00064910563592298254,
1567    0.0025293076056400357]]], [[[0.15933256368539234, 0.077386437698329216, -0.14367259276853817, 0.22661003019621573,
1568    0.14388902615063567], [-0.29191965352226001, -0.19025642894017569, 0.27124967827875868, -0.12628460065645525,
1569    -0.28877197086795064], [-0.19170806564873571, -0.18516314908718848, 0.15549768125854607, -0.22663247683968471,
1570    0.080315075041137746], [0.070787912246027623, -0.19465404770632946, 0.099875100906038142, 0.0074102570661353055,
1571    -0.028874837191134341]], [[0.32070745834079822, 0.15576481775115664, -0.28918678639358875, 0.45612475653288448,
1572    0.28962242740925492], [-0.58758114446528331, -0.38295157215244424, 0.54597624543535395, -0.25418792221333947,
1573    -0.5812454320385364], [-0.38587345270509599, -0.37269972658812361, 0.3129885378156877, -0.45616993754176749,
1574    0.16165963182361848], [0.1424831866918384, -0.39180317853235386, 0.20103040472223843, 0.014915499094238669,
1575    -0.058119793163298253]], [[0.022036382737915975, 0.010702879062509028, -0.019870541024166726, 0.03134114735964879,
1576    0.019900474697076051], [-0.040373750757178764, -0.026313287061351671, 0.037515003774682289, -0.017465706504700244,
1577    -0.039938412631038894], [-0.026514054697083688, -0.025608864427109999, 0.021506001910806746, -0.031344251827531706,
1578    0.011107922274605405], [0.0097902744510630583, -0.026921496758258036, 0.013813158457044353, 0.0010248706047191714,
1579    -0.003993514879326472]], [[0.45249418539865549, 0.21977248264423455, -0.40802087988290286, 0.64355784307387154,
1580    0.408635536702953], [-0.82903295325890136, -0.54031596453898478, 0.77033155918300844, -0.35864010583089689,
1581    -0.82009373791201512], [-0.54443851899201956, -0.52585137886498845, 0.44160336710201553, -0.64362159009090625,
1582    0.22808962346033829], [0.20103309673146497, -0.55280491767736339, 0.28363883302173687, 0.021044651245029449,
1583    -0.0820026718400126]], [[0.28530060063668033, 0.13856801551289244, -0.25725988500899949, 0.40576751060714861,
1584    0.25764743023190928], [-0.52271080412665183, -0.34067281788549075, 0.48569918380426513, -0.22612497775150753,
1585    -0.51707456925340067], [-0.34327211595287255, -0.33155280018379113, 0.27843386709242746, -0.40580770352638529,
1586    0.14381202824716369], [0.12675270776089234, -0.34854718610209801, 0.17883617521779774, 0.013268792913010998,
1587    -0.051703231300434083]]], [[[0.47150425092247822, 0.22900550580832074, -0.42516254470855847, 0.67059482423292416,
1588    0.42580302432766509], [-0.8638620654804765, -0.56301557532051183, 0.80269452402914432, -0.37370719869377977,
1589    -0.85454729819290365], [-0.56731132543617957, -0.54794330731531515, 0.46015589046041849, -0.67066124937270588,
1590    0.23767206413516154], [0.20947884579220749, -0.57602921104077898, 0.29555499233347121, 0.021928773543179091,
1591    -0.085447746307508302]], [[-0.32188035787262981, -0.1563344848326812, 0.2902444077165468, -0.45779290767649056,
1592    -0.29068164196969476], [0.58973006127820016, 0.38435211245174233, -0.5479730037457945, 0.25511754479369259,
1593    0.58337117772167169], [0.38728467898079766, 0.37406277357521434, -0.31413320751364826, 0.45783825392251659,
1594    -0.16225085757016938], [-0.14300427985203282, 0.39323609115324581, -0.20176561826794917, -0.014970048439599001,
1595    0.058332350359641787]], [[0.33906977245585146, 0.16468323370075197, -0.3057443639352968, 0.48224047613117582,
1596    0.30620494786065533], [-0.62122348505372305, -0.40487771348728108, 0.57723647047005799, -0.26874161702318755,
1597    -0.61452501729124298], [-0.40796688821136257, -0.39403889183738705, 0.33090890011569896, -0.4822882440081081,
1598    0.17091555918691267], [0.15064115421677537, -0.41423612434754675, 0.21254053129454714, 0.015769495695902237,
1599    -0.061447479721907484]], [[0.19885586892549215, 0.096582562632553465, -0.17931135742081428, 0.28282187532536301,
1600    0.17958147827537146], [-0.36433190438220292, -0.23745056641568613, 0.33853462984747007, -0.15761017970584817,
1601    -0.36040342200015629], [-0.23926228947070974, -0.23109387091402869, 0.1940697231460056, -0.28284988998029759,
1602    0.10023766432740698], [0.088347237209463525, -0.24293903833077607, 0.12464966052957738, 0.0092484114594253656,
1603    -0.036037396919456954]], [[0.29993621832155898, 0.14567640748218116, -0.27045704377503499, 0.42658295277915381,
1604    0.27086446965611888], [-0.54952531300564089, -0.35814897148304931, 0.51061503588502977, -0.23772494885562467,
1605    -0.54359994527181044], [-0.36088161077957098, -0.3485611065631401, 0.29271722864229155, -0.42662520755244299,
1606    0.15118943249803246], [0.13325498699609795, -0.36642728642276562, 0.18801028099560782, 0.013949467891546915,
1607    -0.054355552132207045]]], [[[-0.011657219021596743, -0.005661809693414733, 0.010511491452623091, -0.016579427917220696,
1608    -0.010527326328309128], [0.021357663864223667, 0.013919696081723309, -0.019845390271110267, 0.0092393369870953992,
1609    0.021127370537718123], [0.014025901910965392, 0.013547057385582116, -0.011376648224656019, 0.016581070176864082,
1610    -0.005876077048124196], [-0.0051790429906273328, 0.014241438253849286, -0.0073071436192079691, -0.00054215527339935589,
1611    0.0021125643971600765]], [[0.50180219284739613, 0.24372095217363401, -0.45248265913600633, 0.71368593740954778,
1612    0.45316429472404823], [-0.9193721539682479, -0.59919385615363563, 0.85427410581425778, -0.39772089312133962,
1613    -0.90945883793425142], [-0.60376564277856892, -0.58315307365508118, 0.48972460891481662, -0.71375663089902841,
1614    0.2529444066055721], [0.22293954713666819, -0.61304372267884955, 0.31454677867647773, 0.0233378736859584,
1615    -0.090938451534820566]], [[0.46177697933345263, 0.22428105476462068, -0.41639131616974862, 0.65676025546976569,
1616    0.417018582505645], [-0.84604033659903999, -0.55140039815237518, 0.78613469954616444, -0.36599750910061846,
1617    -0.83691773570449013], [-0.55560752567774407, -0.53663907547601131, 0.45066273889064756, -0.65682531023934665,
1618    0.23276881944024333], [0.2051572354966697, -0.56414555873426553, 0.28945760577906504, 0.021476376485355293,
1619    -0.083684934130572167]], [[-0.13757874750696261, -0.066820798751371785, 0.12405684630294792, -0.1956707618693054,
1620    -0.12424372984350569], [0.25206360442150522, 0.1642805500225348, -0.23421571922324833, 0.10904285216948985,
1621    0.24934567767060983], [0.16553399348430678, 0.15988266018339284, -0.13426744497772114, 0.19569014385264119,
1622    -0.069349586641343178], [-0.061123175829085899, 0.16807775799977656, -0.086239064833700321, -0.0063985280992311204,
1623    0.024932530070047018]], [[-0.048224928969235636, -0.023422427750255628, 0.043485150937315191, -0.068587690784333702,
1624    -0.043550658478503278], [0.08835484869013957, 0.057584605176484567, -0.082098700763706012, 0.038222355529224324,
1625    0.08740214467966817], [0.05802396970775308, 0.05604303041330095, -0.047064231316713112, 0.068594484673554168,
1626    -0.024308833671097159], [-0.021425262739672726, 0.058915625325324281, -0.030229035016967516, -0.0022428505033269255,
1627    0.0087395002021696637]]]]))
1628        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1629        self.assertEqual(res.getShape(),(4, 5, 4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5, 4, 5),"wrong shape of result.")
1630        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1631     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1632     def test_outer_array_rank0_taggedData_rank3(self):     def test_outer_array_rank0_taggedData_rank3(self):
1633        arg0=numpy.array(0.704027105071)        arg0=numpy.array(0.704027105071)
1634        arg1=Data(numpy.array([[[-0.3782235462989445, -0.49753575665828897], [-0.010510916837058959, 0.52424756111160287]], [[-0.52759022930980604, 0.093331993173143779], [0.57416364865148894, -0.73716544963679365]], [[0.41131485065963647, 0.12482728958110134], [-0.96218077314844686, 0.69311459044768364]], [[0.19590676135975005, 0.073767055570488127], [0.47700162226896214, -0.27823587180601472]], [[-0.95243974037525447, -0.52612618077281281], [0.31035877112252375, 0.25673711331646887]], [[0.7221296787332816, 0.53697125941643087], [0.58139709575186216, -0.65415892129479958]]]),self.functionspace)        arg1=Data(numpy.array([[[-0.3782235462989445, -0.49753575665828897], [-0.010510916837058959, 0.52424756111160287]],
1635        arg1.setTaggedValue(1,numpy.array([[[0.16917214979085049, 0.68330341495581237], [0.19499838786148582, 0.87189337191857463]], [[-0.086333929651582597, 0.32667565845120983], [-0.14145632600578262, -0.71764916587928895]], [[-0.64476945370576466, -0.4055842208678957], [-0.54731266149788338, 0.57272004049034253]], [[0.5916267990390931, -0.93884816733771004], [-0.12474632106651429, 0.80115481137233568]], [[0.95514843830325624, -0.667976777383402], [-0.58978403981835581, -0.52737350450940923]], [[-0.46480628289036474, -0.77522320166842351], [0.4038182907972625, 0.884085768051315]]]))  [[-0.52759022930980604, 0.093331993173143779], [0.57416364865148894, -0.73716544963679365]], [[0.41131485065963647,
1636        res=outer(arg0,arg1)  0.12482728958110134], [-0.96218077314844686, 0.69311459044768364]], [[0.19590676135975005, 0.073767055570488127],
1637        ref=Data(numpy.array([[[-0.26627962837065644, -0.35027865842960682], [-0.007399970352440075, 0.36908449279010475]], [[-0.3714378218048997, 0.065708252964225153], [0.40422677139729762, -0.5189844574663941]], [[0.28957680358274857, 0.087881795317682851], [-0.6774013442749911, 0.48797145859558033]], [[0.13792367006400391, 0.051934006582926379], [0.33582207124034347, -0.19588559535458508]], [[-0.67054339317127554, -0.37040709195171645], [0.2185009871668846, 0.1807498866525625]], [[0.50839886720467875, 0.37804232127345372], [0.40931931421905993, -0.46054561161575902]]]),self.functionspace)  [0.47700162226896214, -0.27823587180601472]], [[-0.95243974037525447, -0.52612618077281281], [0.31035877112252375,
1638        ref.setTaggedValue(1,numpy.array([[[0.11910177887594517, 0.48106412511669144], [0.13728415049969742, 0.61383656656271091]], [[-0.060781426562035196, 0.22998851811667445], [-0.09958908769187684, -0.5052444647108475]], [[-0.45393517193088972, -0.28554228488023381], [-0.38532294864323735, 0.40321043212274837]], [[0.41652130261010778, -0.66097455735228772], [-0.087824791288756199, 0.56403470256442956]], [[0.67245038993203932, -0.47027375683611], [-0.41522395017058861, -0.37128524167107918]], [[-0.32723622176226719, -0.54577814645474476], [0.28429902224484754, 0.62242034391592693]]]))  0.25673711331646887]], [[0.7221296787332816, 0.53697125941643087], [0.58139709575186216,
1639    -0.65415892129479958]]]),self.functionspace)
1640          arg1.setTaggedValue(1,numpy.array([[[0.16917214979085049, 0.68330341495581237], [0.19499838786148582,
1641    0.87189337191857463]], [[-0.086333929651582597, 0.32667565845120983], [-0.14145632600578262, -0.71764916587928895]],
1642    [[-0.64476945370576466, -0.4055842208678957], [-0.54731266149788338, 0.57272004049034253]], [[0.5916267990390931,
1643    -0.93884816733771004], [-0.12474632106651429, 0.80115481137233568]], [[0.95514843830325624, -0.667976777383402],
1644    [-0.58978403981835581, -0.52737350450940923]], [[-0.46480628289036474, -0.77522320166842351], [0.4038182907972625,
1645    0.884085768051315]]]))
1646          res=outer(arg0,arg1)
1647          ref=Data(numpy.array([[[-0.26627962837065644, -0.35027865842960682], [-0.007399970352440075, 0.36908449279010475]],
1648    [[-0.3714378218048997, 0.065708252964225153], [0.40422677139729762, -0.5189844574663941]], [[0.28957680358274857,
1649    0.087881795317682851], [-0.6774013442749911, 0.48797145859558033]], [[0.13792367006400391, 0.051934006582926379],
1650    [0.33582207124034347, -0.19588559535458508]], [[-0.67054339317127554, -0.37040709195171645], [0.2185009871668846,
1651    0.1807498866525625]], [[0.50839886720467875, 0.37804232127345372], [0.40931931421905993,
1652    -0.46054561161575902]]]),self.functionspace)
1653          ref.setTaggedValue(1,numpy.array([[[0.11910177887594517, 0.48106412511669144], [0.13728415049969742,
1654    0.61383656656271091]], [[-0.060781426562035196, 0.22998851811667445], [-0.09958908769187684, -0.5052444647108475]],
1655    [[-0.45393517193088972, -0.28554228488023381], [-0.38532294864323735, 0.40321043212274837]], [[0.41652130261010778,
1656    -0.66097455735228772], [-0.087824791288756199, 0.56403470256442956]], [[0.67245038993203932, -0.47027375683611],
1657    [-0.41522395017058861, -0.37128524167107918]], [[-0.32723622176226719, -0.54577814645474476], [0.28429902224484754,
1658    0.62242034391592693]]]))
1659        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1660        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
1661        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1662     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1663     def test_outer_array_rank1_taggedData_rank3(self):     def test_outer_array_rank1_taggedData_rank3(self):
1664        arg0=numpy.array([-0.099751811547238667, 0.9673041323588123])        arg0=numpy.array([-0.099751811547238667, 0.9673041323588123])
1665        arg1=Data(numpy.array([[[-0.59209587540687703, 0.31425762767865972], [0.9168162580616952, -0.96510674431262333]], [[0.010645605719809437, -0.17466636827806448], [-0.70308232497865153, -0.66961792053243996]], [[0.47061167772961388, 0.44730410536340481], [-0.23095052674639449, 0.44317594050311526]], [[0.39926882433732946, -0.74222313744253543], [0.85656686909661151, 0.40159080034335704]], [[0.5889959758134593, 0.80538045756150178], [0.64374825965196347, 0.62050829422293563]], [[0.85445885586484516, 0.73631310370537539], [-0.81174994107411358, -0.36040549067878391]]]),self.functionspace)        arg1=Data(numpy.array([[[-0.59209587540687703, 0.31425762767865972], [0.9168162580616952, -0.96510674431262333]],
1666        arg1.setTaggedValue(1,numpy.array([[[-0.26757775517041149, -0.7032721993970148], [0.56011284925353899, -0.996491620256996]], [[0.92824845214919693, -0.13253715690597545], [0.43645736281529479, 0.96477855835738446]], [[0.29182000991085899, -0.8221594006250188], [0.024696013487273571, 0.66638812407880499]], [[-0.75026663102583502, -0.6107721381511948], [-0.21024074905131274, -0.30769737846779099]], [[-0.28618913958033976, 0.44794811631886722], [-0.58489799932720166, 0.52979247222265236]], [[-0.48986848298295782, -0.42693061460914961], [0.024126904658099635, -0.10874520793053688]]]))  [[0.010645605719809437, -0.17466636827806448], [-0.70308232497865153, -0.66961792053243996]], [[0.47061167772961388,
1667        res=outer(arg0,arg1)  0.44730410536340481], [-0.23095052674639449, 0.44317594050311526]], [[0.39926882433732946, -0.74222313744253543],
1668        ref=Data(numpy.array([[[[0.0590626361814841, -0.03134776765348396], [-0.091454082597614755, 0.096271146081641862]], [[-0.0010619184555686369, 0.017423286652114074], [0.070133735583464862, 0.066795600617605783]], [[-0.046944367388814259, -0.044619394822516548], [0.023037733420741845, -0.044207602899337006]], [[-0.039827788521984826, 0.074038102532168013], [-0.085444096903733446, -0.040059409834955303]], [[-0.05875341558142614, -0.080338159626503772], [-0.064215055080665523, -0.061896826428824797]], [[-0.085233818765099195, -0.073448565960581011], [0.080973527145507068, 0.035951100586780138]]], [[[-0.57273678703368058, 0.30398270187884463], [0.88684015503682101, -0.93355174194096024]], [[0.010297538404234276, -0.16895549981947794], [-0.68009443834029104, -0.64772418163254397]], [[0.45522462060416913, 0.43267910953908306], [-0.22339939889223179, 0.42868591861066652]], [[0.3862143837035435, -0.71795550798048724], [0.82856067211880213, 0.38846044068941199]], [[0.5697382413470703, 0.77904784472027178], [0.62270035176013794, 0.60022023716476336]], [[0.82652158220864747, 0.71223870792415234], [-0.78520907244301241, -0.34862172045839307]]]]),self.functionspace)  [0.85656686909661151, 0.40159080034335704]], [[0.5889959758134593, 0.80538045756150178], [0.64374825965196347,
1669        ref.setTaggedValue(1,numpy.array([[[[0.026691365807992053, 0.07015267590066307], [-0.05587227138392592, 0.099401844312278387]], [[-0.092594464667802676, 0.013220821498691665], [-0.043537412603956056, -0.096238408938082415]], [[-0.029109574634341325, 0.082011889592937565], [-0.0024634720833505777, -0.066473422570426849]], [[0.074840455588270738, 0.060925627223162006], [0.020971895578916846, 0.030693370910498459]], [[0.028547885118284433, -0.044683636081980185], [0.058344635003243946, -0.052847758848299696]], [[0.048865268597447699, 0.042587102212238673], [-0.0024067024466729496, 0.010847531488152198]]], [[[-0.25882906830363361, -0.68027810464980298], [0.54179947367021675, -0.96391046213552056]], [[0.89789856361958942, -0.12820373956623834], [0.42218701064966407, 0.9332342863102755]], [[0.28227870149176348, -0.79527818568222497], [0.023888555899028687, 0.64459998617626502]], [[-0.72573601256221454, -0.59080241316327808], [-0.20336674534754687, -0.29763694570786764]], [[-0.27683193735227557, 0.4333020639975862], [-0.56577425175760399, 0.51247044767356287]], [[-0.47385180790175763, -0.41297174774191792], [0.023338054576806853, -0.10518968900542661]]]]))  0.62050829422293563]], [[0.85445885586484516, 0.73631310370537539], [-0.81174994107411358,
1670    -0.36040549067878391]]]),self.functionspace)
1671          arg1.setTaggedValue(1,numpy.array([[[-0.26757775517041149, -0.7032721993970148], [0.56011284925353899,
1672    -0.996491620256996]], [[0.92824845214919693, -0.13253715690597545], [0.43645736281529479, 0.96477855835738446]],
1673    [[0.29182000991085899, -0.8221594006250188], [0.024696013487273571, 0.66638812407880499]], [[-0.75026663102583502,
1674    -0.6107721381511948], [-0.21024074905131274, -0.30769737846779099]], [[-0.28618913958033976, 0.44794811631886722],
1675    [-0.58489799932720166, 0.52979247222265236]], [[-0.48986848298295782, -0.42693061460914961], [0.024126904658099635,
1676    -0.10874520793053688]]]))
1677          res=outer(arg0,arg1)
1678          ref=Data(numpy.array([[[[0.0590626361814841, -0.03134776765348396], [-0.091454082597614755, 0.096271146081641862]],
1679    [[-0.0010619184555686369, 0.017423286652114074], [0.070133735583464862, 0.066795600617605783]], [[-0.046944367388814259,
1680    -0.044619394822516548], [0.023037733420741845, -0.044207602899337006]], [[-0.039827788521984826, 0.074038102532168013],
1681    [-0.085444096903733446, -0.040059409834955303]], [[-0.05875341558142614, -0.080338159626503772], [-0.064215055080665523,
1682    -0.061896826428824797]], [[-0.085233818765099195, -0.073448565960581011], [0.080973527145507068, 0.035951100586780138]]],
1683    [[[-0.57273678703368058, 0.30398270187884463], [0.88684015503682101, -0.93355174194096024]], [[0.010297538404234276,
1684    -0.16895549981947794], [-0.68009443834029104, -0.64772418163254397]], [[0.45522462060416913, 0.43267910953908306],
1685    [-0.22339939889223179, 0.42868591861066652]], [[0.3862143837035435, -0.71795550798048724], [0.82856067211880213,
1686    0.38846044068941199]], [[0.5697382413470703, 0.77904784472027178], [0.62270035176013794, 0.60022023716476336]],
1687    [[0.82652158220864747, 0.71223870792415234], [-0.78520907244301241, -0.34862172045839307]]]]),self.functionspace)
1688          ref.setTaggedValue(1,numpy.array([[[[0.026691365807992053, 0.07015267590066307], [-0.05587227138392592,
1689    0.099401844312278387]], [[-0.092594464667802676, 0.013220821498691665], [-0.043537412603956056, -0.096238408938082415]],
1690    [[-0.029109574634341325, 0.082011889592937565], [-0.0024634720833505777, -0.066473422570426849]], [[0.074840455588270738,
1691    0.060925627223162006], [0.020971895578916846, 0.030693370910498459]], [[0.028547885118284433, -0.044683636081980185],
1692    [0.058344635003243946, -0.052847758848299696]], [[0.048865268597447699, 0.042587102212238673], [-0.0024067024466729496,
1693    0.010847531488152198]]], [[[-0.25882906830363361, -0.68027810464980298], [0.54179947367021675, -0.96391046213552056]],
1694    [[0.89789856361958942, -0.12820373956623834], [0.42218701064966407, 0.9332342863102755]], [[0.28227870149176348,
1695    -0.79527818568222497], [0.023888555899028687, 0.64459998617626502]], [[-0.72573601256221454, -0.59080241316327808],
1696    [-0.20336674534754687, -0.29763694570786764]], [[-0.27683193735227557, 0.4333020639975862], [-0.56577425175760399,
1697    0.51247044767356287]], [[-0.47385180790175763, -0.41297174774191792], [0.023338054576806853, -0.10518968900542661]]]]))
1698        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1699        self.assertEqual(res.getShape(),(2, 6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(2, 6, 2, 2),"wrong shape of result.")
1700        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1701     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1702     def test_outer_array_rank0_taggedData_rank4(self):     def test_outer_array_rank0_taggedData_rank4(self):
1703        arg0=numpy.array(-0.0708515730447)        arg0=numpy.array(-0.0708515730447)
1704        arg1=Data(numpy.array([[[[-0.97827869989748129, -0.5363137669536211, -0.54427510467957529, 0.22593676912037153], [-0.23713371651922976, -0.35954834839453675, -0.91075392873807126, 0.10286969410010571], [-0.34424044846906554, -0.85850694284952689, -0.14494519131033878, 0.66211966482478357]], [[-0.041700412168819811, -0.60783636214129322, -0.084341919502126217, 0.27822590088774102], [-0.26981397652701933, 0.33342963211783649, 0.11843242489050576, 0.70999816999429521], [0.9414292577295893, 0.26604461049427197, 0.23454517685435516, -0.39582462844360222]]], [[[-0.95641033877536352, -0.44143263296052426, 0.23721575825434571, 0.43570317795380231], [0.81946644874742591, 0.48112725864302175, 0.56828100939862702, -0.52760359142695634], [-0.27947807553721016, 0.7224294405657814, 0.89804869651162789, 0.96505381787309363]], [[0.72420980973730598, -0.86663668014145978, -0.37484799631393662, -0.29592339600712259], [-0.056924976147858963, -0.87177739322818626, -0.3722537253722531, 0.20734191878375885], [-0.30028822356308416, 0.42772405801095892, -0.58755490665781007, -0.086791102699894873]]], [[[0.14474337489567302, 0.61556095188938631, -0.088437439158631115, -0.52612631754127048], [-0.40731285419528085, 0.13757484975063883, 0.62097013714886895, -0.68462432608446178], [-0.75811417408093451, -0.9188428753088953, -0.35131587181041612, 0.90147708459225706]], [[-0.80978939279462803, -0.15202616059901231, 0.51689588770499739, 0.81806366721492285], [0.22563589583665222, -0.64587796516796092, -0.500167084063037, 0.16241148341210332], [-0.41782931970614401, 0.26833183844255903, 0.75834324552865562, 0.958289893042233]]]]),self.functionspace)        arg1=Data(numpy.array([[[[-0.97827869989748129, -0.5363137669536211, -0.54427510467957529, 0.22593676912037153],
1705        arg1.setTaggedValue(1,numpy.array([[[[0.82981805382263607, 0.50973384992299176, -0.19902588165663415, 0.55880949471253372], [0.65120278143864652, 0.39005542512518843, -0.094319616395163841, 0.558260672925043], [-0.87067555439476396, 0.73730040630974192, -0.55151379674815937, 0.56636765431211655]], [[0.77924727217736778, 0.022464511777139151, -0.66398342349787121, 0.00095601543780277076], [-0.91770849372904428, 0.61525027864649529, 0.53962654307142066, -0.0097274508466951293], [0.34239915683292188, 0.079734817558392956, -0.077349213583399967, -0.12297204801843598]]], [[[-0.30795284251753996, -0.64188023920992943, 0.35506454068468063, 0.096504079288820765], [-0.58228537542689462, 0.012861580726549526, -0.2156033370124717, -0.6920338805125883], [-0.5349505069395839, 0.42175843685791214, 0.69320478885711601, -0.35104637849746401]], [[-0.4283120467840853, 0.31690394755050066, 0.32395286846804305, 0.40366427344827915], [0.80982587237558978, -0.71300714940927623, 0.81148932277682118, 0.85559856025065528], [-0.78247849977172224, -0.62478202178264608, 0.46740574954895653, 0.045811318251096411]]], [[[-0.39721471059287272, -0.84284962959750431, -0.80242522851950571, 0.31034889032502377], [0.64893363521345582, 0.26516689052541009, -0.30393793155495508, -0.63094047783061069], [0.65088856539406326, -0.0030937550324501295, -0.79434923004484359, -0.410914278306165]], [[-0.43704509557339821, -0.86899529281274224, -0.79861039554537228, 0.33554072829468895], [-0.50025633720531215, -0.14032417411100706, 0.79880096541072088, -0.3591955772553217], [0.13704223488208278, -0.47004074139542973, 0.86717083462174749, 0.8041685339827882]]]]))  [-0.23713371651922976, -0.35954834839453675, -0.91075392873807126, 0.10286969410010571], [-0.34424044846906554,
1706        res=outer(arg0,arg1)  -0.85850694284952689, -0.14494519131033878, 0.66211966482478357]], [[-0.041700412168819811, -0.60783636214129322,
1707        ref=Data(numpy.array([[[[0.069312584763890656, 0.037998674034209201, 0.038562747335633418, -0.016007975500822474], [0.016801296837330688, 0.025474566069387829, 0.064528348507760985, -0.0072884796456227502], [0.024389977279656878, 0.060826567370711765, 0.010269594809606946, -0.046912219796685813]], [[0.002954539798774517, 0.043066162411497265, 0.0059757576703376985, -0.019712742739683809], [0.019116744666393386, -0.023624013935274604, -0.0083911236029942608, -0.050304487202975985], [-0.066701743820474668, -0.018849679153591859, -0.016617894730185642, 0.028044797575075303]]], [[[0.067763176978478376, 0.031276196438530413, -0.016807109623318973, -0.030870255538615155], [-0.058060486951134374, -0.034088623109557133, -0.04026360344734016, 0.037381544396649292], [0.019801461283325432, -0.051185262277910454, -0.063628162818618869, -0.068375581069131802]], [[-0.05131140423431331, 0.061402572046285617, 0.026558570191507851, 0.020966638107843438], [0.0040332241056095864, 0.061766799655051823, 0.02637476201438534, -0.014690501103942126], [0.021275893006252301, -0.030304922339152121, 0.041629189386855801, 0.006149286152574332]]], [[[-0.010255295799161627, -0.043613461746274861, 0.0062659316804366859, 0.037276877218030545], [0.028858756441074718, -0.0097473945162252478, -0.043996711030799579, 0.048506710447772827], [0.053713581781141072, 0.065101463096578646, 0.024891282153348973, -0.06387106950713925]], [[0.057374852314436772, 0.010771292622390892, -0.036622886744251577, -0.057961097672918432], [-0.015986658155383828, 0.045761469827079862, 0.035437624691062264, -0.01150710908027572], [0.02960386456539003, -0.01901173285163987, -0.053729811853551745, -0.067896346354909015]]]]),self.functionspace)  -0.084341919502126217, 0.27822590088774102], [-0.26981397652701933, 0.33342963211783649, 0.11843242489050576,
1708        ref.setTaggedValue(1,numpy.array([[[[-0.058793914454250834, -0.036115445101190684, 0.014101296791986958, -0.039592531732714181], [-0.046138741436032117, -0.027636040444750803, 0.0066826931905729376, -0.039553646845749239], [0.061688732640462082, -0.052238893593564359, 0.039075620055479016, -0.040128039229667754]], [[-0.055210895024581978, -0.0015916459970921892, 0.047044270030449829, -6.7735197623373288e-05], [0.065021090377213236, -0.043591450058313122, -0.038233389433300319, 0.0006892051942036482], [-0.024259518870801994, -0.0056493372504467605, 0.0054803134561567449, 0.0087127630426383565]]], [[[0.021818943315963957, 0.045478224654351578, -0.025156881239914431, -0.0068374658228463753], [0.041255834809937109, -0.00091126322631782531, 0.015275835581026844, 0.049031689034566138], [0.037902084917745688, -0.029882248696269834, -0.049114649732667132, 0.024872188128201279]], [[0.030346582268660764, -0.022453143188037827, -0.022952570323313614, -0.028600248755768928], [-0.057377436950131921, 0.050517678127786604, -0.057495295027741054, -0.06062050388856579], [0.05543983258250753, 0.044266789053367721, -0.03311643260569503, -0.0032458039613429655]]], [[[0.028143287082012518, 0.059717222097151856, 0.056853089691384542, -0.021988707072214564], [-0.045977968856508837, -0.018787491313105222, 0.021534480558630283, 0.044703125351892851], [-0.046116478734997496, 0.00021919741066414377, 0.056280892495547886, 0.029113923004532079]], [[0.030965332512859968, 0.061569683464249216, 0.056582802774264279, -0.023773588420253317], [0.035443948416591646, 0.0099421884719675356, -0.05659630494899915, 0.025449571679249661], [-0.0097096579149610392, 0.033303125922977697, -0.061440417731462894, -0.056976605625755579]]]]))  0.70999816999429521], [0.9414292577295893, 0.26604461049427197, 0.23454517685435516, -0.39582462844360222]]],
1709    [[[-0.95641033877536352, -0.44143263296052426, 0.23721575825434571, 0.43570317795380231], [0.81946644874742591,
1710    0.48112725864302175, 0.56828100939862702, -0.52760359142695634], [-0.27947807553721016, 0.7224294405657814,
1711    0.89804869651162789, 0.96505381787309363]], [[0.72420980973730598, -0.86663668014145978, -0.37484799631393662,
1712    -0.29592339600712259], [-0.056924976147858963, -0.87177739322818626, -0.3722537253722531, 0.20734191878375885],
1713    [-0.30028822356308416, 0.42772405801095892, -0.58755490665781007, -0.086791102699894873]]], [[[0.14474337489567302,
1714    0.61556095188938631, -0.088437439158631115, -0.52612631754127048], [-0.40731285419528085, 0.13757484975063883,
1715    0.62097013714886895, -0.68462432608446178], [-0.75811417408093451, -0.9188428753088953, -0.35131587181041612,
1716    0.90147708459225706]], [[-0.80978939279462803, -0.15202616059901231, 0.51689588770499739, 0.81806366721492285],
1717    [0.22563589583665222, -0.64587796516796092, -0.500167084063037, 0.16241148341210332], [-0.41782931970614401,
1718    0.26833183844255903, 0.75834324552865562, 0.958289893042233]]]]),self.functionspace)
1719          arg1.setTaggedValue(1,numpy.array([[[[0.82981805382263607, 0.50973384992299176, -0.19902588165663415,
1720    0.55880949471253372], [0.65120278143864652, 0.39005542512518843, -0.094319616395163841, 0.558260672925043],
1721    [-0.87067555439476396, 0.73730040630974192, -0.55151379674815937, 0.56636765431211655]], [[0.77924727217736778,
1722    0.022464511777139151, -0.66398342349787121, 0.00095601543780277076], [-0.91770849372904428, 0.61525027864649529,
1723    0.53962654307142066, -0.0097274508466951293], [0.34239915683292188, 0.079734817558392956, -0.077349213583399967,
1724    -0.12297204801843598]]], [[[-0.30795284251753996, -0.64188023920992943, 0.35506454068468063, 0.096504079288820765],
1725    [-0.58228537542689462, 0.012861580726549526, -0.2156033370124717, -0.6920338805125883], [-0.5349505069395839,
1726    0.42175843685791214, 0.69320478885711601, -0.35104637849746401]], [[-0.4283120467840853, 0.31690394755050066,
1727    0.32395286846804305, 0.40366427344827915], [0.80982587237558978, -0.71300714940927623, 0.81148932277682118,
1728    0.85559856025065528], [-0.78247849977172224, -0.62478202178264608, 0.46740574954895653, 0.045811318251096411]]],
1729    [[[-0.39721471059287272, -0.84284962959750431, -0.80242522851950571, 0.31034889032502377], [0.64893363521345582,
1730    0.26516689052541009, -0.30393793155495508, -0.63094047783061069], [0.65088856539406326, -0.0030937550324501295,
1731    -0.79434923004484359, -0.410914278306165]], [[-0.43704509557339821, -0.86899529281274224, -0.79861039554537228,
1732    0.33554072829468895], [-0.50025633720531215, -0.14032417411100706, 0.79880096541072088, -0.3591955772553217],
1733    [0.13704223488208278, -0.47004074139542973, 0.86717083462174749, 0.8041685339827882]]]]))
1734          res=outer(arg0,arg1)
1735          ref=Data(numpy.array([[[[0.069312584763890656, 0.037998674034209201, 0.038562747335633418, -0.016007975500822474],
1736    [0.016801296837330688, 0.025474566069387829, 0.064528348507760985, -0.0072884796456227502], [0.024389977279656878,
1737    0.060826567370711765, 0.010269594809606946, -0.046912219796685813]], [[0.002954539798774517, 0.043066162411497265,
1738    0.0059757576703376985, -0.019712742739683809], [0.019116744666393386, -0.023624013935274604, -0.0083911236029942608,
1739    -0.050304487202975985], [-0.066701743820474668, -0.018849679153591859, -0.016617894730185642, 0.028044797575075303]]],
1740    [[[0.067763176978478376, 0.031276196438530413, -0.016807109623318973, -0.030870255538615155], [-0.058060486951134374,
1741    -0.034088623109557133, -0.04026360344734016, 0.037381544396649292], [0.019801461283325432, -0.051185262277910454,
1742    -0.063628162818618869, -0.068375581069131802]], [[-0.05131140423431331, 0.061402572046285617, 0.026558570191507851,
1743    0.020966638107843438], [0.0040332241056095864, 0.061766799655051823, 0.02637476201438534, -0.014690501103942126],
1744    [0.021275893006252301, -0.030304922339152121, 0.041629189386855801, 0.006149286152574332]]], [[[-0.010255295799161627,
1745    -0.043613461746274861, 0.0062659316804366859, 0.037276877218030545], [0.028858756441074718, -0.0097473945162252478,
1746    -0.043996711030799579, 0.048506710447772827], [0.053713581781141072, 0.065101463096578646, 0.024891282153348973,
1747    -0.06387106950713925]], [[0.057374852314436772, 0.010771292622390892, -0.036622886744251577, -0.057961097672918432],
1748    [-0.015986658155383828, 0.045761469827079862, 0.035437624691062264, -0.01150710908027572], [0.02960386456539003,
1749    -0.01901173285163987, -0.053729811853551745, -0.067896346354909015]]]]),self.functionspace)
1750          ref.setTaggedValue(1,numpy.array([[[[-0.058793914454250834, -0.036115445101190684, 0.014101296791986958,
1751    -0.039592531732714181], [-0.046138741436032117, -0.027636040444750803, 0.0066826931905729376, -0.039553646845749239],
1752    [0.061688732640462082, -0.052238893593564359, 0.039075620055479016, -0.040128039229667754]], [[-0.055210895024581978,
1753    -0.0015916459970921892, 0.047044270030449829, -6.7735197623373288e-05], [0.065021090377213236, -0.043591450058313122,
1754    -0.038233389433300319, 0.0006892051942036482], [-0.024259518870801994, -0.0056493372504467605, 0.0054803134561567449,
1755    0.0087127630426383565]]], [[[0.021818943315963957, 0.045478224654351578, -0.025156881239914431, -0.0068374658228463753],
1756    [0.041255834809937109, -0.00091126322631782531, 0.015275835581026844, 0.049031689034566138], [0.037902084917745688,
1757    -0.029882248696269834, -0.049114649732667132, 0.024872188128201279]], [[0.030346582268660764, -0.022453143188037827,
1758    -0.022952570323313614, -0.028600248755768928], [-0.057377436950131921, 0.050517678127786604, -0.057495295027741054,
1759    -0.06062050388856579], [0.05543983258250753, 0.044266789053367721, -0.03311643260569503, -0.0032458039613429655]]],
1760    [[[0.028143287082012518, 0.059717222097151856, 0.056853089691384542, -0.021988707072214564], [-0.045977968856508837,
1761    -0.018787491313105222, 0.021534480558630283, 0.044703125351892851], [-0.046116478734997496, 0.00021919741066414377,
1762    0.056280892495547886, 0.029113923004532079]], [[0.030965332512859968, 0.061569683464249216, 0.056582802774264279,
1763    -0.023773588420253317], [0.035443948416591646, 0.0099421884719675356, -0.05659630494899915, 0.025449571679249661],
1764    [-0.0097096579149610392, 0.033303125922977697, -0.061440417731462894, -0.056976605625755579]]]]))
1765        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1766        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")
1767        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
# Line 719  class Test_util_binary_with_tagged_data( Line 1789  class Test_util_binary_with_tagged_data(
1789        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1790     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1791     def test_outer_constData_rank2_taggedData_rank0(self):     def test_outer_constData_rank2_taggedData_rank0(self):
1792        arg0=Data(numpy.array([[0.4990759241891225, -0.71562567842653735, -0.71491441859956928, -0.16977617098779474, -0.29276763491100377], [-0.63945796111161357, 0.23224775151724852, 0.92188504234276691, 0.11789528075878786, -0.27475427490937632], [-0.18318842961568449, -0.19969730770778238, -0.24351653275592988, 0.28501557927622434, -0.14932820637971678], [0.017394628525154499, 0.23504234340026264, 0.17614319978043258, 0.26251721320321453, -0.31854269107987609]]),self.functionspace)        arg0=Data(numpy.array([[0.4990759241891225, -0.71562567842653735, -0.71491441859956928, -0.16977617098779474,
1793    -0.29276763491100377], [-0.63945796111161357, 0.23224775151724852, 0.92188504234276691, 0.11789528075878786,
1794    -0.27475427490937632], [-0.18318842961568449, -0.19969730770778238, -0.24351653275592988, 0.28501557927622434,
1795    -0.14932820637971678], [0.017394628525154499, 0.23504234340026264, 0.17614319978043258, 0.26251721320321453,
1796    -0.31854269107987609]]),self.functionspace)
1797        arg1=Data(0.275668291231,self.functionspace)        arg1=Data(0.275668291231,self.functionspace)
1798        arg1.setTaggedValue(1,0.677322567221)        arg1.setTaggedValue(1,0.677322567221)
1799        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1800        ref=Data(numpy.array([[0.13757940721556033, -0.19727530793260029, -0.19707923615147899, -0.046801906947883783, -0.080706753643547874], [-0.17627828345345795, 0.064023340802914691, 0.2541344743337029, 0.032499990590929825, -0.075741041472577153], [-0.050499241365377354, -0.055050215579160684, -0.067129786471233702, 0.078569757713183488, -0.041165051485230635], [0.0047951475221208271, 0.064793721171992169, 0.048557094895366443, 0.072367671582355811, -0.087812119333994285]]),self.functionspace)        ref=Data(numpy.array([[0.13757940721556033, -0.19727530793260029, -0.19707923615147899, -0.046801906947883783,
1801        ref.setTaggedValue(1,numpy.array([[0.33803538621019941, -0.48470942168146158, -0.48422766934949807, -0.11499323198648277, -0.19829812607727634], [-0.43311930785031894, 0.15730664328907459, 0.62441354356266765, 0.079853134226837041, -0.18609727083668967], [-0.12407765743256323, -0.13525949312384911, -0.1649392431271153, 0.19304748385348394, -0.10114336410368584], [0.011781774448521291, 0.15919948343761398, 0.11930576427388519, 0.17780883278662474, -0.2157561532918543]]))  -0.080706753643547874], [-0.17627828345345795, 0.064023340802914691, 0.2541344743337029, 0.032499990590929825,
1802    -0.075741041472577153], [-0.050499241365377354, -0.055050215579160684, -0.067129786471233702, 0.078569757713183488,
1803    -0.041165051485230635], [0.0047951475221208271, 0.064793721171992169, 0.048557094895366443, 0.072367671582355811,
1804    -0.087812119333994285]]),self.functionspace)
1805          ref.setTaggedValue(1,numpy.array([[0.33803538621019941, -0.48470942168146158, -0.48422766934949807, -0.11499323198648277,
1806    -0.19829812607727634], [-0.43311930785031894, 0.15730664328907459, 0.62441354356266765, 0.079853134226837041,
1807    -0.18609727083668967], [-0.12407765743256323, -0.13525949312384911, -0.1649392431271153, 0.19304748385348394,
1808    -0.10114336410368584], [0.011781774448521291, 0.15919948343761398, 0.11930576427388519, 0.17780883278662474,
1809    -0.2157561532918543]]))
1810        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1811        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")
1812        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1813     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1814     def test_outer_constData_rank3_taggedData_rank0(self):     def test_outer_constData_rank3_taggedData_rank0(self):
1815        arg0=Data(numpy.array([[[-0.24140715296006143, -0.64856407812954875], [0.94412318042606169, 0.35234412448467367]], [[-0.28664613035923869, 0.49728948539315865], [-0.5753940267241946, -0.11383261804019829]], [[0.24485491221004607, 0.97481395366069701], [0.66247997805566272, -0.83750295510814632]], [[-0.9389444607352464, -0.52505716150629222], [-0.7630733420549487, 0.57829970765001937]], [[-0.79540081390548845, -0.99821052259006793], [-0.38970418087931402, -0.14508728623645717]], [[0.75215868638497518, -0.78880463759830888], [-0.61225797093201328, 0.5446571880752773]]]),self.functionspace)        arg0=Data(numpy.array([[[-0.24140715296006143, -0.64856407812954875], [0.94412318042606169, 0.35234412448467367]],
1816    [[-0.28664613035923869, 0.49728948539315865], [-0.5753940267241946, -0.11383261804019829]], [[0.24485491221004607,
1817    0.97481395366069701], [0.66247997805566272, -0.83750295510814632]], [[-0.9389444607352464, -0.52505716150629222],
1818    [-0.7630733420549487, 0.57829970765001937]], [[-0.79540081390548845, -0.99821052259006793], [-0.38970418087931402,
1819    -0.14508728623645717]], [[0.75215868638497518, -0.78880463759830888], [-0.61225797093201328,
1820    0.5446571880752773]]]),self.functionspace)
1821        arg1=Data(-0.567508857852,self.functionspace)        arg1=Data(-0.567508857852,self.functionspace)
1822        arg1.setTaggedValue(1,0.017440077081)        arg1.setTaggedValue(1,0.017440077081)
1823        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1824        ref=Data(numpy.array([[[0.13700069765363954, 0.36806585922306034], [-0.53579826779508255, -0.19995841165711922]], [[0.16267421804783383, -0.28221618787722269], [0.32654120692104416, 0.064601019050282704]], [[-0.13895733156774659, -0.55321555346006168], [-0.37596325569611039, 0.47529034550100185]], [[0.5328592984982129, 0.29797459003338816], [0.43305088080682402, -0.32819020658454096]], [[0.45139700743396277, 0.56649331357082178], [0.22116057459092356, 0.082338320100881185]], [[-0.42685671703371075, 0.44765361895168559], [0.34746182179433893, -0.30909777872541944]]]),self.functionspace)        ref=Data(numpy.array([[[0.13700069765363954, 0.36806585922306034], [-0.53579826779508255, -0.19995841165711922]],
1825        ref.setTaggedValue(1,numpy.array([[[-0.0042101593555307305, -0.011311007514553759], [0.01646558104059917, 0.0061449086900538198]], [[-0.0049991306084384681, 0.0086727669568326636], [-0.010034916178022891, -0.001985249632954269]], [[0.0042702885426072288, 0.017000830491487019], [0.011553701881916812, -0.014606116092660033]], [[-0.016375263770010407, -0.0091570373686062443], [-0.013308057903902493, 0.010085591477342096]], [[-0.013871851504810098, -0.017408868457046422], [-0.0067964709533272416, -0.0025303334554384271]], [[0.013117705467705467, -0.013756813681572952], [-0.010677826206517313, 0.009498863342759194]]]))  [[0.16267421804783383, -0.28221618787722269], [0.32654120692104416, 0.064601019050282704]], [[-0.13895733156774659,
1826    -0.55321555346006168], [-0.37596325569611039, 0.47529034550100185]], [[0.5328592984982129, 0.29797459003338816],
1827    [0.43305088080682402, -0.32819020658454096]], [[0.45139700743396277, 0.56649331357082178], [0.22116057459092356,
1828    0.082338320100881185]], [[-0.42685671703371075, 0.44765361895168559], [0.34746182179433893,
1829    -0.30909777872541944]]]),self.functionspace)
1830          ref.setTaggedValue(1,numpy.array([[[-0.0042101593555307305, -0.011311007514553759], [0.01646558104059917,
1831    0.0061449086900538198]], [[-0.0049991306084384681, 0.0086727669568326636], [-0.010034916178022891, -0.001985249632954269]],
1832    [[0.0042702885426072288, 0.017000830491487019], [0.011553701881916812, -0.014606116092660033]], [[-0.016375263770010407,
1833    -0.0091570373686062443], [-0.013308057903902493, 0.010085591477342096]], [[-0.013871851504810098, -0.017408868457046422],
1834    [-0.0067964709533272416, -0.0025303334554384271]], [[0.013117705467705467, -0.013756813681572952], [-0.010677826206517313,
1835    0.009498863342759194]]]))
1836        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1837        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
1838        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1839     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1840     def test_outer_constData_rank4_taggedData_rank0(self):     def test_outer_constData_rank4_taggedData_rank0(self):
1841        arg0=Data(numpy.array([[[[-0.51634379244210038, -0.66969872015335108, 0.34993396767937135, 0.28319084630103153], [-0.68365477353235571, 0.63545946412083687, -0.43617608234664917, -0.7109611655508612], [-0.46016744918303121, 0.70827817282568928, 0.28541911241541817, 0.83529560289200422]], [[-0.78106481640937564, -0.83145204890561009, -0.93848329845377632, 0.54454036038441522], [0.98310846656333961, -0.20675023492579125, 0.30644455901111223, 0.66244060995027776], [-0.28502793425906137, 0.85653470228467721, -0.41445306439850449, 0.49127642701739593]]], [[[-0.14690736035470442, -0.99733112975063509, -0.2925341546352187, -0.26074071531628618], [-0.37460913740259127, -0.085292799979562961, 0.81234887929092658, -0.70925554982527661], [-0.39910855859211414, 0.86154697739012698, 0.40044112293925282, -0.76663882772607628]], [[-0.77022475708788418, 0.4187103765870952, -0.63307289975741199, 0.9351420641274204], [0.15291717675255567, -0.10940324256984257, 0.82141430927862236, 0.14419366068272055], [0.94921190725272142, -0.12532143331069245, 0.66832866552506442, -0.89194122184669755]]], [[[-0.29346881915714329, 0.93929818727039693, 0.92645000255827381, -0.31013275549349739], [-0.64480636744624231, -0.58612210631826023, -0.56441850870510324, 0.37706876918421672], [-0.75141238332071691, -0.59132095761911341, -0.099450792715001901, -0.019789332665212322]], [[-0.74012954004278364, -0.37777856259180043, 0.25002710281506135, 0.22233828409113787], [-0.92202693798534097, -0.15003203074229021, -0.4722392385365739, -0.091017181819327275], [0.93339702600405006, 0.061346729246282594, 0.61494719557210886, 0.45178502259581177]]]]),self.functionspace)        arg0=Data(numpy.array([[[[-0.51634379244210038, -0.66969872015335108, 0.34993396767937135, 0.28319084630103153],
1842    [-0.68365477353235571, 0.63545946412083687, -0.43617608234664917, -0.7109611655508612], [-0.46016744918303121,
1843    0.70827817282568928, 0.28541911241541817, 0.83529560289200422]], [[-0.78106481640937564, -0.83145204890561009,
1844    -0.93848329845377632, 0.54454036038441522], [0.98310846656333961, -0.20675023492579125, 0.30644455901111223,
1845    0.66244060995027776], [-0.28502793425906137, 0.85653470228467721, -0.41445306439850449, 0.49127642701739593]]],
1846    [[[-0.14690736035470442, -0.99733112975063509, -0.2925341546352187, -0.26074071531628618], [-0.37460913740259127,
1847    -0.085292799979562961, 0.81234887929092658, -0.70925554982527661], [-0.39910855859211414, 0.86154697739012698,
1848    0.40044112293925282, -0.76663882772607628]], [[-0.77022475708788418, 0.4187103765870952, -0.63307289975741199,
1849    0.9351420641274204], [0.15291717675255567, -0.10940324256984257, 0.82141430927862236, 0.14419366068272055],
1850    [0.94921190725272142, -0.12532143331069245, 0.66832866552506442, -0.89194122184669755]]], [[[-0.29346881915714329,
1851    0.93929818727039693, 0.92645000255827381, -0.31013275549349739], [-0.64480636744624231, -0.58612210631826023,
1852    -0.56441850870510324, 0.37706876918421672], [-0.75141238332071691, -0.59132095761911341, -0.099450792715001901,
1853    -0.019789332665212322]], [[-0.74012954004278364, -0.37777856259180043, 0.25002710281506135, 0.22233828409113787],
1854    [-0.92202693798534097, -0.15003203074229021, -0.4722392385365739, -0.091017181819327275], [0.93339702600405006,
1855    0.061346729246282594, 0.61494719557210886, 0.45178502259581177]]]]),self.functionspace)
1856        arg1=Data(0.150529719038,self.functionspace)        arg1=Data(0.150529719038,self.functionspace)
1857        arg1.setTaggedValue(1,0.570809784459)        arg1.setTaggedValue(1,0.570809784459)
1858        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1859        ref=Data(numpy.array([[[[-0.07772508600340132, -0.10080956018489143, 0.052675461836680225, 0.042628638527869703], [-0.10291036097891439, 0.095655534594241837, -0.065657463126801319, -0.10702078449740555], [-0.069268876836023063, 0.10661691435630404, 0.042964058800010557, 0.12573681241713405]], [[-0.11757346736468617, -0.12515824331545419, -0.1412696272382416, 0.081969507453598031], [0.14798704125580428, -0.031122054774450507, 0.046129013368711974, 0.099716998895274883], [-0.042905174862040305, 0.12893392808133644, -0.062387503338406453, 0.073951702528993968]]], [[[-0.022113923678829656, -0.1501279747493621, -0.044035084106301692, -0.039249226618366363], [-0.056389808202335141, -0.012839101216900592, 0.1222826485606178, -0.10676403864144626], [-0.060077699190591277, 0.12968842444470169, 0.060278289727366319, -0.11540192734134161]], [[-0.1159417162806652, 0.063028355346012699, -0.095296285731149025, 0.14076667217385463], [0.023018579652669062, -0.016468439365900783, 0.12364726518962565, 0.02170543122965201], [0.14288460170641701, -0.018864600145716569, 0.10060332624662852, -0.13426366152312605]]], [[[-0.044175778894181922, 0.14139229222285482, 0.13945825858798871, -0.046684196548962893], [-0.097062521325691847, -0.08822879598613538, -0.084961759535309836, 0.05676005588336052], [-0.11310989494305289, -0.089011377611773926, -0.014970299885510359, -0.0029788826860468608]], [[-0.11141149171447413, -0.056866900885579226, 0.037636509538673396, 0.033468519435662973], [-0.13879245592053754, -0.022584279434359769, -0.071086039895699546, -0.013700790806907391], [0.14050399207543282, 0.0092345059173522728, 0.092567828572766755, 0.068007072516991007]]]]),self.functionspace)        ref=Data(numpy.array([[[[-0.07772508600340132, -0.10080956018489143, 0.052675461836680225, 0.042628638527869703],
1860        ref.setTaggedValue(1,numpy.array([[[[-0.29473408887078667, -0.3822705821034213, 0.19974573266605897, 0.16164810593794612], [-0.3902368339245938, 0.36272647974745414, -0.24897357555060437, -0.4058235896670388], [-0.26266808248336421, 0.40429211116787744, 0.16292002203841718, 0.47679490304660832]], [[-0.44583943950339933, -0.47460096482407688, -0.53569544930907809, 0.31082896574043217], [0.56116793189915914, -0.11801505703490607, 0.17492155267786641, 0.37812758178282296], [-0.16269673371930196, 0.48891838879305016, -0.2365738643578178, 0.2804253914157479]]], [[[-0.083856158699557468, -0.56928636720753689, -0.16698135775432055, -0.14883335150945998], [-0.21383056097726744, -0.048685964772266804, 0.46369668869382941, -0.4048500075223474], [-0.22781507030583725, 0.49177944446564281, 0.22857571107360566, -0.43760494401247252]], [[-0.43965182757857246, 0.23900397981056334, -0.36136420545756931, 0.53378824006342274], [0.087286620702255069, -0.062448441310443276, 0.46887132483113719, 0.082307152374705012], [0.54181944418515238, -0.071534700336210247, 0.38148854151635148, -0.50912877659270195]]], [[[-0.16751487340862209, 0.53616059581885156, 0.52882672627263094, -0.17702681131702033], [-0.36806178361999098, -0.33456423317437273, -0.32217560729881461, 0.21523454286438637], [-0.42891354056336739, -0.33753178836484882, -0.056767485553959419, -0.01129594471322376]], [[-0.42247318322380195, -0.21563969988637988, 0.1427179166668551, 0.12691286801911897], [-0.52630199773710551, -0.085639751130001759, -0.26955877796229832, -0.051953497936385554], [0.53279215522834844, 0.035017313298355245, 0.35101787615838292, 0.25788331136986736]]]]))  [-0.10291036097891439, 0.095655534594241837, -0.065657463126801319, -0.10702078449740555], [-0.069268876836023063,
1861    0.10661691435630404, 0.042964058800010557, 0.12573681241713405]], [[-0.11757346736468617, -0.12515824331545419,
1862    -0.1412696272382416, 0.081969507453598031], [0.14798704125580428, -0.031122054774450507, 0.046129013368711974,
1863    0.099716998895274883], [-0.042905174862040305, 0.12893392808133644, -0.062387503338406453, 0.073951702528993968]]],
1864    [[[-0.022113923678829656, -0.1501279747493621, -0.044035084106301692, -0.039249226618366363], [-0.056389808202335141,
1865    -0.012839101216900592, 0.1222826485606178, -0.10676403864144626], [-0.060077699190591277, 0.12968842444470169,
1866    0.060278289727366319, -0.11540192734134161]], [[-0.1159417162806652, 0.063028355346012699, -0.095296285731149025,
1867    0.14076667217385463], [0.023018579652669062, -0.016468439365900783, 0.12364726518962565, 0.02170543122965201],
1868    [0.14288460170641701, -0.018864600145716569, 0.10060332624662852, -0.13426366152312605]]], [[[-0.044175778894181922,
1869    0.14139229222285482, 0.13945825858798871, -0.046684196548962893], [-0.097062521325691847, -0.08822879598613538,
1870    -0.084961759535309836, 0.05676005588336052], [-0.11310989494305289, -0.089011377611773926, -0.014970299885510359,
1871    -0.0029788826860468608]], [[-0.11141149171447413, -0.056866900885579226, 0.037636509538673396, 0.033468519435662973],
1872    [-0.13879245592053754, -0.022584279434359769, -0.071086039895699546, -0.013700790806907391], [0.14050399207543282,
1873    0.0092345059173522728, 0.092567828572766755, 0.068007072516991007]]]]),self.functionspace)
1874          ref.setTaggedValue(1,numpy.array([[[[-0.29473408887078667, -0.3822705821034213, 0.19974573266605897,
1875    0.16164810593794612], [-0.3902368339245938, 0.36272647974745414, -0.24897357555060437, -0.4058235896670388],
1876    [-0.26266808248336421, 0.40429211116787744, 0.16292002203841718, 0.47679490304660832]], [[-0.44583943950339933,
1877    -0.47460096482407688, -0.53569544930907809, 0.31082896574043217], [0.56116793189915914, -0.11801505703490607,
1878    0.17492155267786641, 0.37812758178282296], [-0.16269673371930196, 0.48891838879305016, -0.2365738643578178,
1879    0.2804253914157479]]], [[[-0.083856158699557468, -0.56928636720753689, -0.16698135775432055, -0.14883335150945998],
1880    [-0.21383056097726744, -0.048685964772266804, 0.46369668869382941, -0.4048500075223474], [-0.22781507030583725,
1881    0.49177944446564281, 0.22857571107360566, -0.43760494401247252]], [[-0.43965182757857246, 0.23900397981056334,
1882    -0.36136420545756931, 0.53378824006342274], [0.087286620702255069, -0.062448441310443276, 0.46887132483113719,
1883    0.082307152374705012], [0.54181944418515238, -0.071534700336210247, 0.38148854151635148, -0.50912877659270195]]],
1884    [[[-0.16751487340862209, 0.53616059581885156, 0.52882672627263094, -0.17702681131702033], [-0.36806178361999098,
1885    -0.33456423317437273, -0.32217560729881461, 0.21523454286438637], [-0.42891354056336739, -0.33753178836484882,
1886    -0.056767485553959419, -0.01129594471322376]], [[-0.42247318322380195, -0.21563969988637988, 0.1427179166668551,
1887    0.12691286801911897], [-0.52630199773710551, -0.085639751130001759, -0.26955877796229832, -0.051953497936385554],
1888    [0.53279215522834844, 0.035017313298355245, 0.35101787615838292, 0.25788331136986736]]]]))
1889        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1890        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")
1891        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
# Line 767  class Test_util_binary_with_tagged_data( Line 1906  class Test_util_binary_with_tagged_data(
1906        arg1=Data(numpy.array([0.75047047695349201, -0.70167629614424309]),self.functionspace)        arg1=Data(numpy.array([0.75047047695349201, -0.70167629614424309]),self.functionspace)
1907        arg1.setTaggedValue(1,numpy.array([-0.45926428861044633, -0.78891093861307615]))        arg1.setTaggedValue(1,numpy.array([-0.45926428861044633, -0.78891093861307615]))
1908        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1909        ref=Data(numpy.array([[0.29102627176451967, -0.27210429020654348], [-0.64838082374481876, 0.60622432043307684]]),self.functionspace)        ref=Data(numpy.array([[0.29102627176451967, -0.27210429020654348], [-0.64838082374481876,
1910        ref.setTaggedValue(1,numpy.array([[-0.17809890964860112, -0.30593316628635314], [0.39678863714218199, 0.68159206783952409]]))  0.60622432043307684]]),self.functionspace)
1911          ref.setTaggedValue(1,numpy.array([[-0.17809890964860112, -0.30593316628635314], [0.39678863714218199,
1912    0.68159206783952409]]))
1913        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1914        self.assertEqual(res.getShape(),(2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(2, 2),"wrong shape of result.")
1915        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1916     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1917     def test_outer_constData_rank2_taggedData_rank1(self):     def test_outer_constData_rank2_taggedData_rank1(self):
1918        arg0=Data(numpy.array([[0.46016583671517464, 0.36677732375681638, -0.46638268878369282, 0.67466818327766154, 0.11772097156627503], [-0.28462916033306684, -0.39384926523711039, -0.95036567347737733, 0.46456024086119485, -0.90191384206445746], [-0.50518141833844687, 0.068746627077932665, 0.15907380901193635, -0.60023112577755366, 0.57914722679372233], [-0.51325715325742838, -0.15852730717510388, 0.66966249997324412, -0.92350677269138104, 0.38913283945179167]]),self.functionspace)        arg0=Data(numpy.array([[0.46016583671517464, 0.36677732375681638, -0.46638268878369282, 0.67466818327766154,
1919    0.11772097156627503], [-0.28462916033306684, -0.39384926523711039, -0.95036567347737733, 0.46456024086119485,
1920    -0.90191384206445746], [-0.50518141833844687, 0.068746627077932665, 0.15907380901193635, -0.60023112577755366,
1921    0.57914722679372233], [-0.51325715325742838, -0.15852730717510388, 0.66966249997324412, -0.92350677269138104,
1922    0.38913283945179167]]),self.functionspace)
1923        arg1=Data(numpy.array([0.51146337700296063, 0.29761212601681741]),self.functionspace)        arg1=Data(numpy.array([0.51146337700296063, 0.29761212601681741]),self.functionspace)
1924        arg1.setTaggedValue(1,numpy.array([-0.51030826659793327, 0.32600873129986208]))        arg1.setTaggedValue(1,numpy.array([-0.51030826659793327, 0.32600873129986208]))
1925        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1926        ref=Data(numpy.array([[[0.23535797282773618, 0.13695093298511077], [0.18759316861676953, 0.10915737909802467], [-0.23853766498102835, -0.13880114354635453], [0.34506806737564516, 0.20078943238116867], [0.060209965661356536, 0.035035188624604426]], [[-0.14557739153746749, -0.084709089533105617], [-0.20143947522830724, -0.11721431715737785], [-0.48607723674443243, -0.28284034857700679], [0.2376055496121755, 0.13825876094558498], [-0.46129589942800231, -0.26842049602079926]], [[-0.25838179422252744, -0.15034811593589642], [0.035161382042842616, 0.020459829841148847], [0.081360427549968958, 0.047342294493635549], [-0.30699623857247643, -0.17863606144412547], [0.29621259639781672, 0.17236123744282361]], [[-0.26251223687597042, -0.15275155257428275], [-0.081080911874964301, -0.047179648920103741], [0.34250784368856046, 0.19929968033077411], [-0.47233989264583931, -0.27484681401161165], [0.19902719616876427, 0.11581065165220861]]]),self.functionspace)        ref=Data(numpy.array([[[0.23535797282773618, 0.13695093298511077], [0.18759316861676953, 0.10915737909802467],
1927        ref.setTaggedValue(1,numpy.array([[[-0.23482643048170837, 0.15001808061505356], [-0.18716950031376994, 0.11957260998751847], [0.23799894148448966, -0.1520448286705901], [-0.3442887511372002, 0.21994771847873326], [-0.060073984942210404, 0.038378064587708462]], [[0.14524861343279258, -0.092791591451128155], [0.20098453584401946, -0.12839829928333324], [0.48497945946641785, -0.30982750748129878], [-0.2370689312441947, 0.15145069473551648], [0.46025408936459544, -0.29403178739321795]], [[0.25779825390977823, -0.16469355326878193], [-0.035081972098594358, 0.022412000674821572], [-0.081176679738011931, 0.051859450659017939], [0.3063029053536695, -0.19568058780142822], [-0.2955436174101046, 0.18880705264285491]], [[0.26191936819778805, -0.16732631336403309], [0.080897795332965372, -0.051681286288539137], [-0.34173430956698475, 0.21831582201537122], [0.47127314036359025, -0.30107127131194722], [-0.19857770477697567, 0.12686070329679153]]]))  [-0.23853766498102835, -0.13880114354635453], [0.34506806737564516, 0.20078943238116867], [0.060209965661356536,
1928    0.035035188624604426]], [[-0.14557739153746749, -0.084709089533105617], [-0.20143947522830724, -0.11721431715737785],
1929    [-0.48607723674443243, -0.28284034857700679], [0.2376055496121755, 0.13825876094558498], [-0.46129589942800231,
1930    -0.26842049602079926]], [[-0.25838179422252744, -0.15034811593589642], [0.035161382042842616, 0.020459829841148847],
1931    [0.081360427549968958, 0.047342294493635549], [-0.30699623857247643, -0.17863606144412547], [0.29621259639781672,
1932    0.17236123744282361]], [[-0.26251223687597042, -0.15275155257428275], [-0.081080911874964301, -0.047179648920103741],
1933    [0.34250784368856046, 0.19929968033077411], [-0.47233989264583931, -0.27484681401161165], [0.19902719616876427,
1934    0.11581065165220861]]]),self.functionspace)
1935          ref.setTaggedValue(1,numpy.array([[[-0.23482643048170837, 0.15001808061505356], [-0.18716950031376994,
1936    0.11957260998751847], [0.23799894148448966, -0.1520448286705901], [-0.3442887511372002, 0.21994771847873326],
1937    [-0.060073984942210404, 0.038378064587708462]], [[0.14524861343279258, -0.092791591451128155], [0.20098453584401946,
1938    -0.12839829928333324], [0.48497945946641785, -0.30982750748129878], [-0.2370689312441947, 0.15145069473551648],
1939    [0.46025408936459544, -0.29403178739321795]], [[0.25779825390977823, -0.16469355326878193], [-0.035081972098594358,
1940    0.022412000674821572], [-0.081176679738011931, 0.051859450659017939], [0.3063029053536695, -0.19568058780142822],
1941    [-0.2955436174101046, 0.18880705264285491]], [[0.26191936819778805, -0.16732631336403309], [0.080897795332965372,
1942    -0.051681286288539137], [-0.34173430956698475, 0.21831582201537122], [0.47127314036359025, -0.30107127131194722],
1943    [-0.19857770477697567, 0.12686070329679153]]]))
1944        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1945        self.assertEqual(res.getShape(),(4, 5, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5, 2),"wrong shape of result.")
1946        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1947     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1948     def test_outer_constData_rank3_taggedData_rank1(self):     def test_outer_constData_rank3_taggedData_rank1(self):
1949        arg0=Data(numpy.array([[[0.90458365695583587, -0.95884760839529637], [-0.28861525659205856, 0.71780550056875736]], [[0.30428718510080022, -0.49078563967888611], [0.12149524937110545, 0.97138464759661813]], [[-0.33564140254216657, 0.94682306651707893], [-0.1092711559647126, 0.48568374193981811]], [[-0.074412694693311465, -0.85801120831705791], [-0.24143862300417429, -0.85929677375862035]], [[0.29963688877781491, -0.63988279814283811], [-0.41112741674881814, 0.41563321653026519]], [[-0.83503215652634899, -0.61040002062265075], [0.056837957213350387, 0.85992350028919207]]]),self.functionspace)        arg0=Data(numpy.array([[[0.90458365695583587, -0.95884760839529637], [-0.28861525659205856, 0.71780550056875736]],
1950    [[0.30428718510080022, -0.49078563967888611], [0.12149524937110545, 0.97138464759661813]], [[-0.33564140254216657,
1951    0.94682306651707893], [-0.1092711559647126, 0.48568374193981811]], [[-0.074412694693311465, -0.85801120831705791],
1952    [-0.24143862300417429, -0.85929677375862035]], [[0.29963688877781491, -0.63988279814283811], [-0.41112741674881814,
1953    0.41563321653026519]], [[-0.83503215652634899, -0.61040002062265075], [0.056837957213350387,
1954    0.85992350028919207]]]),self.functionspace)
1955        arg1=Data(numpy.array([0.26701894195909048, 0.38300198653124418]),self.functionspace)        arg1=Data(numpy.array([0.26701894195909048, 0.38300198653124418]),self.functionspace)
1956        arg1.setTaggedValue(1,numpy.array([0.20794850070178561, 0.37053946874032184]))        arg1.setTaggedValue(1,numpy.array([0.20794850070178561, 0.37053946874032184]))
1957        res=outer(arg0,arg1)        res=outer(arg0,arg1)
1958        ref=Data(numpy.array([[[[0.24154097099383215, 0.34645733759778263], [-0.25603047389371636, -0.367240538796131]], [[-0.077065740448462886, -0.11054021661798319], [0.19166766529428492, 0.27492093266088818]]], [[[0.081250442217325594, 0.11654259636960689], [-0.13104906223577159, -0.18797187495802078]], [[0.032441532940128429, 0.046532921863242281], [0.25937810083655294, 0.3720422497154573]]], [[[-0.089622612184474496, -0.12855132393578278], [0.25281969344385197, 0.36263511536964554]], [[-0.029177468452344316, -0.041851069805050337], [0.12968675889950218, 0.1860178379888785]]], [[[-0.019869599005332854, -0.028500209890681263], [-0.22910524503386157, -0.32861999725150637]], [[-0.064468685662634348, -0.092471472235966898], [-0.22944851535788674, -0.32911237136944066]]], [[[0.080008725013365811, 0.11476152363994457], [-0.17086082773792291, -0.24507638283587813]], [[-0.10977880783064348, -0.15746261733225606], [0.11098194172096497, 0.15918834759946232]]], [[[-0.22296940293748335, -0.3198189747670605], [-0.16298836767846722, -0.23378442047718764]], [[0.015176811198224876, 0.021769050523091058], [0.22961586321297769, 0.32935240887566147]]]]),self.functionspace)        ref=Data(numpy.array([[[[0.24154097099383215, 0.34645733759778263], [-0.25603047389371636, -0.367240538796131]],
1959        ref.setTaggedValue(1,numpy.array([[[[0.18810681522330444, 0.33518394767959298], [-0.19939092256729474, -0.3552908834177213]], [[-0.060017109887979724, -0.10694334384797305], [0.1492665776387678, 0.26597526883962813]]], [[[0.063276063924478126, 0.11275041191173849], [-0.10205813793719115, -0.18185545019199348]], [[0.02526475494911094, 0.045018785156442337], [0.20199798107244912, 0.35993635126295564]]], [[[-0.069796126432088032, -0.12436838698523091], [0.19689043711209359, 0.35083531605832086]], [[-0.022722773052812961, -0.040489276079805459], [0.10099720595161812, 0.17996499571419178]]], [[[-0.015474008294653837, -0.027572840359195397], [-0.17842214435485965, -0.31792701730304423]], [[-0.050206799665221687, -0.089462539101361593], [-0.17868947576098657, -0.31840337003879171]]], [[[0.062309041776294302, 0.11102729358273444], [-0.13306266849866652, -0.23710183207991783]], [[-0.085493329910314914, -0.15233893458668796], [0.086430304219329263, 0.15400851124395562]]], [[[-0.17364368498743304, -0.30941237166035862], [-0.12693176911681925, -0.22617729936059849]], [[0.011819367985468454, 0.021060706470119997], [0.17881980260336899, 0.31863559695447524]]]]))  [[-0.077065740448462886, -0.11054021661798319], [0.19166766529428492, 0.27492093266088818]]], [[[0.081250442217325594,
1960    0.11654259636960689], [-0.13104906223577159, -0.18797187495802078]], [[0.032441532940128429, 0.046532921863242281],
1961    [0.25937810083655294, 0.3720422497154573]]], [[[-0.089622612184474496, -0.12855132393578278], [0.25281969344385197,
1962    0.36263511536964554]], [[-0.029177468452344316, -0.041851069805050337], [0.12968675889950218, 0.1860178379888785]]],
1963    [[[-0.019869599005332854, -0.028500209890681263], [-0.22910524503386157, -0.32861999725150637]], [[-0.064468685662634348,
1964    -0.092471472235966898], [-0.22944851535788674, -0.32911237136944066]]], [[[0.080008725013365811, 0.11476152363994457],
1965    [-0.17086082773792291, -0.24507638283587813]], [[-0.10977880783064348, -0.15746261733225606], [0.11098194172096497,
1966    0.15918834759946232]]], [[[-0.22296940293748335, -0.3198189747670605], [-0.16298836767846722, -0.23378442047718764]],
1967    [[0.015176811198224876, 0.021769050523091058], [0.22961586321297769, 0.32935240887566147]]]]),self.functionspace)
1968          ref.setTaggedValue(1,numpy.array([[[[0.18810681522330444, 0.33518394767959298], [-0.19939092256729474,
1969    -0.3552908834177213]], [[-0.060017109887979724, -0.10694334384797305], [0.1492665776387678, 0.26597526883962813]]],
1970    [[[0.063276063924478126, 0.11275041191173849], [-0.10205813793719115, -0.18185545019199348]], [[0.02526475494911094,
1971    0.045018785156442337], [0.20199798107244912, 0.35993635126295564]]], [[[-0.069796126432088032, -0.12436838698523091],
1972    [0.19689043711209359, 0.35083531605832086]], [[-0.022722773052812961, -0.040489276079805459], [0.10099720595161812,
1973    0.17996499571419178]]], [[[-0.015474008294653837, -0.027572840359195397], [-0.17842214435485965, -0.31792701730304423]],
1974    [[-0.050206799665221687, -0.089462539101361593], [-0.17868947576098657, -0.31840337003879171]]], [[[0.062309041776294302,
1975    0.11102729358273444], [-0.13306266849866652, -0.23710183207991783]], [[-0.085493329910314914, -0.15233893458668796],
1976    [0.086430304219329263, 0.15400851124395562]]], [[[-0.17364368498743304, -0.30941237166035862], [-0.12693176911681925,
1977    -0.22617729936059849]], [[0.011819367985468454, 0.021060706470119997], [0.17881980260336899, 0.31863559695447524]]]]))
1978        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
1979        self.assertEqual(res.getShape(),(6, 2, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2, 2),"wrong shape of result.")
1980        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
1981     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1982     def test_outer_constData_rank0_taggedData_rank2(self):     def test_outer_constData_rank0_taggedData_rank2(self):
1983        arg0=Data(-0.749393110979,self.functionspace)        arg0=Data(-0.749393110979,self.functionspace)
1984        arg1=Data(numpy.array([[-0.090635890955572895, 0.76954527301886788, 0.79546776961093957, 0.26437777859790157, 0.65298242461444556], [0.71414104296785763, -0.76225619609951067, 0.032172151688610207, -0.53478025318993638, -0.45166341731561466], [0.78619014812815968, -0.30065263167075829, 0.79324056224607786, 0.91463658833723405, 0.6545715180832985], [-0.33548386133875074, 0.13669870916776605, -0.71683579746501813, -0.59658133909920918, 0.77694886721744161]]),self.functionspace)        arg1=Data(numpy.array([[-0.090635890955572895, 0.76954527301886788, 0.79546776961093957, 0.26437777859790157,
1985        arg1.setTaggedValue(1,numpy.array([[0.9491706637144679, -0.41036941576860775, 0.54486363380302127, 0.20564402853801456, 0.12934411611822783], [-0.2336051933026857, -0.78166562063195011, 0.86084175296561227, 0.92832490341312801, -0.19380400057318892], [0.091819025192839465, -0.72121403994447664, 0.93087734096148789, -0.31720460158329078, 0.21849588854976165], [-0.35760750774044081, -0.0015917666761569027, 0.91048816458575965, 0.89103581431381729, -0.7984823613174139]]))  0.65298242461444556], [0.71414104296785763, -0.76225619609951067, 0.032172151688610207, -0.53478025318993638,
1986        res=outer(arg0,arg1)  -0.45166341731561466], [0.78619014812815968, -0.30065263167075829, 0.79324056224607786, 0.91463658833723405,
1987        ref=Data(numpy.array([[0.067921912289562722, -0.57669192618689979, -0.59611806655237842, -0.19812288597723529, -0.48934053059652], [-0.53517237786756933, 0.57122954215813637, -0.024109588840820342, 0.40076063762821768, 0.33847345341761725], [-0.58916548092691112, 0.22530701097181455, -0.59444901269642914, -0.68542235834938525, -0.49053138629478032], [0.25140929453194027, -0.10244107093006466, 0.53719180832352142, 0.44707394565965658, -0.582240128675796]]),self.functionspace)  0.6545715180832985], [-0.33548386133875074, 0.13669870916776605, -0.71683579746501813, -0.59658133909920918,
1988        ref.setTaggedValue(1,numpy.array([[-0.71130195653111861, 0.3075280131335284, -0.40831705359504411, -0.15410821830038543, -0.096929589564685656], [0.1750621225499826, 0.58577483119081597, -0.64510887931563499, -0.69568028736817211, 0.14523538290974475], [-0.068808544936333843, 0.54047283307582383, -0.69759306648311747, 0.23771094319740038, -0.16373931365645697], [0.26798860273510522, 0.0011928589813981439, -0.68231355816860817, -0.66773610088246138, 0.59837718080962521]]))  0.77694886721744161]]),self.functionspace)
1989          arg1.setTaggedValue(1,numpy.array([[0.9491706637144679, -0.41036941576860775, 0.54486363380302127, 0.20564402853801456,
1990    0.12934411611822783], [-0.2336051933026857, -0.78166562063195011, 0.86084175296561227, 0.92832490341312801,
1991    -0.19380400057318892], [0.091819025192839465, -0.72121403994447664, 0.93087734096148789, -0.31720460158329078,
1992    0.21849588854976165], [-0.35760750774044081, -0.0015917666761569027, 0.91048816458575965, 0.89103581431381729,
1993    -0.7984823613174139]]))
1994          res=outer(arg0,arg1)
1995          ref=Data(numpy.array([[0.067921912289562722, -0.57669192618689979, -0.59611806655237842, -0.19812288597723529,
1996    -0.48934053059652], [-0.53517237786756933, 0.57122954215813637, -0.024109588840820342, 0.40076063762821768,
1997    0.33847345341761725], [-0.58916548092691112, 0.22530701097181455, -0.59444901269642914, -0.68542235834938525,
1998    -0.49053138629478032], [0.25140929453194027, -0.10244107093006466, 0.53719180832352142, 0.44707394565965658,
1999    -0.582240128675796]]),self.functionspace)
2000          ref.setTaggedValue(1,numpy.array([[-0.71130195653111861, 0.3075280131335284, -0.40831705359504411, -0.15410821830038543,
2001    -0.096929589564685656], [0.1750621225499826, 0.58577483119081597, -0.64510887931563499, -0.69568028736817211,
2002    0.14523538290974475], [-0.068808544936333843, 0.54047283307582383, -0.69759306648311747, 0.23771094319740038,
2003    -0.16373931365645697], [0.26798860273510522, 0.0011928589813981439, -0.68231355816860817, -0.66773610088246138,
2004    0.59837718080962521]]))
2005        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2006        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")
2007        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2008     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2009     def test_outer_constData_rank1_taggedData_rank2(self):     def test_outer_constData_rank1_taggedData_rank2(self):
2010        arg0=Data(numpy.array([-0.89874601249969044, 0.87708975082372009]),self.functionspace)        arg0=Data(numpy.array([-0.89874601249969044, 0.87708975082372009]),self.functionspace)
2011        arg1=Data(numpy.array([[0.52082507766048036, -0.39624889332518132, 0.39662855427161237, 0.57174800166941964, -0.82934772286657288], [0.47035610179759102, -0.61489579936594474, -0.84940384374349698, 0.80282561568731414, 0.95703323706675714], [-0.04437616710486858, 0.0070695494731705111, -0.40193969661362194, -0.86901958171598492, 0.89906708943354663], [0.49829611593312984, -0.62304557600700172, -0.89824056421645815, -0.28828781125829939, 0.14372683065624781]]),self.functionspace)        arg1=Data(numpy.array([[0.52082507766048036, -0.39624889332518132, 0.39662855427161237, 0.57174800166941964,
2012        arg1.setTaggedValue(1,numpy.array([[0.66656069337991197, -0.09982933862684007, 0.39343646935696697, -0.63777302075842113, 0.86010820241948327], [0.15966192569601767, 0.6943697879739974, -0.065815891185420083, 0.58569966378007443, -0.76657522446037651], [0.1430131208467178, 0.43708332089018298, -0.35663464645020571, -0.63386993943869285, -0.44510579623097191], [-0.8670032014721587, 0.3963341627256749, -0.69855849249915658, 0.011551725495012155, -0.66938408790877868]]))  -0.82934772286657288], [0.47035610179759102, -0.61489579936594474, -0.84940384374349698, 0.80282561568731414,
2013        res=outer(arg0,arg1)  0.95703323706675714], [-0.04437616710486858, 0.0070695494731705111, -0.40193969661362194, -0.86901958171598492,
2014        ref=Data(numpy.array([[[-0.46808946175719834, 0.35612711283342191, -0.3564683315951287, -0.5138562366550572, 0.7453729589020307], [-0.42273067094548339, 0.55263514778295253, 0.76339831756637799, -0.72153632083158248, -0.8601298056434189], [0.039882903235520566, -0.0063537293991812842, 0.36124169959682806, 0.78102788385139033, -0.80803296159810256], [-0.4478416472389839, 0.55995972704186558, 0.80729012535501388, 0.25909752082065995, -0.12917391594152097]], [[0.4568103375879754, -0.34754584311075815, 0.34787883983566081, 0.50147431231819117, -0.72741238759526206], [0.41254451612406545, -0.53931880344842864, -0.74500340565769385, 0.70415011921808601, 0.83940404342890029], [-0.038921881348520947, 0.0062006293858590852, -0.35253718834900333, -0.76220816838820671, 0.78856252944507665], [0.43705041616021639, -0.54646688901180229, -0.78783759264837105, -0.25285428454205744, 0.1260613300869714]]]),self.functionspace)  0.89906708943354663], [0.49829611593312984, -0.62304557600700172, -0.89824056421645815, -0.28828781125829939,
2015        ref.setTaggedValue(1,numpy.array([[[-0.5990687652642247, 0.08972122002135384, -0.3535994580065307, 0.57319595928651323, -0.7730188172427872], [-0.14349551906731775, -0.62406207814188563, 0.059151769762009823, -0.52639523734475124, 0.68895642626481857], [-0.12853247209612398, -0.3928268917801746, 0.32052396641635927, 0.56968808051394548, 0.40003705950308577], [0.77921567014756832, -0.35620374836710378, 0.62782665963141193, -0.010382067226133187, 0.60160627983875714]], [[0.58463355246547311, -0.087559289741111934, 0.34507909487326632, -0.55938417985909483, 0.75439208894154242], [0.14003783862475544, 0.60902462431363269, -0.057726443600061177, 0.51371117216240214, -0.67235527260958894], [0.12543534252797028, 0.38336130100877469, -0.31280059319011644, -0.55596082723692963, -0.39039773190641669], [-0.7604396219425833, 0.34762063202798993, -0.61269849412187882, 0.010131900036004225, -0.58710992286927388]]]))  0.14372683065624781]]),self.functionspace)
2016          arg1.setTaggedValue(1,numpy.array([[0.66656069337991197, -0.09982933862684007, 0.39343646935696697, -0.63777302075842113,
2017    0.86010820241948327], [0.15966192569601767, 0.6943697879739974, -0.065815891185420083, 0.58569966378007443,
2018    -0.76657522446037651], [0.1430131208467178, 0.43708332089018298, -0.35663464645020571, -0.63386993943869285,
2019    -0.44510579623097191], [-0.8670032014721587, 0.3963341627256749, -0.69855849249915658, 0.011551725495012155,
2020    -0.66938408790877868]]))
2021          res=outer(arg0,arg1)
2022          ref=Data(numpy.array([[[-0.46808946175719834, 0.35612711283342191, -0.3564683315951287, -0.5138562366550572,
2023    0.7453729589020307], [-0.42273067094548339, 0.55263514778295253, 0.76339831756637799, -0.72153632083158248,
2024    -0.8601298056434189], [0.039882903235520566, -0.0063537293991812842, 0.36124169959682806, 0.78102788385139033,
2025    -0.80803296159810256], [-0.4478416472389839, 0.55995972704186558, 0.80729012535501388, 0.25909752082065995,
2026    -0.12917391594152097]], [[0.4568103375879754, -0.34754584311075815, 0.34787883983566081, 0.50147431231819117,
2027    -0.72741238759526206], [0.41254451612406545, -0.53931880344842864, -0.74500340565769385, 0.70415011921808601,
2028    0.83940404342890029], [-0.038921881348520947, 0.0062006293858590852, -0.35253718834900333, -0.76220816838820671,
2029    0.78856252944507665], [0.43705041616021639, -0.54646688901180229, -0.78783759264837105, -0.25285428454205744,
2030    0.1260613300869714]]]),self.functionspace)
2031          ref.setTaggedValue(1,numpy.array([[[-0.5990687652642247, 0.08972122002135384, -0.3535994580065307, 0.57319595928651323,
2032    -0.7730188172427872], [-0.14349551906731775, -0.62406207814188563, 0.059151769762009823, -0.52639523734475124,
2033    0.68895642626481857], [-0.12853247209612398, -0.3928268917801746, 0.32052396641635927, 0.56968808051394548,
2034    0.40003705950308577], [0.77921567014756832, -0.35620374836710378, 0.62782665963141193, -0.010382067226133187,
2035    0.60160627983875714]], [[0.58463355246547311, -0.087559289741111934, 0.34507909487326632, -0.55938417985909483,
2036    0.75439208894154242], [0.14003783862475544, 0.60902462431363269, -0.057726443600061177, 0.51371117216240214,
2037    -0.67235527260958894], [0.12543534252797028, 0.38336130100877469, -0.31280059319011644, -0.55596082723692963,
2038    -0.39039773190641669], [-0.7604396219425833, 0.34762063202798993, -0.61269849412187882, 0.010131900036004225,
2039    -0.58710992286927388]]]))
2040        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2041        self.assertEqual(res.getShape(),(2, 4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(2, 4, 5),"wrong shape of result.")
2042        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2043     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2044     def test_outer_constData_rank2_taggedData_rank2(self):     def test_outer_constData_rank2_taggedData_rank2(self):
2045        arg0=Data(numpy.array([[-0.77863180496942608, 0.49103616298953146, -0.28256978917522102, 0.85141445485928435, 0.89534100052098475], [-0.019829524657347219, 0.86009618327105652, 0.2231447184293307, 0.53261010401118525, 0.21973919586386392], [0.40884066766675642, 0.60155082880001731, -0.55282063302010931, 0.60038599894081979, -0.16019921169384288], [0.19748372867082775, 0.80209900872838369, 0.95521487864664079, -0.18023053483189555, 0.24780780289670346]]),self.functionspace)        arg0=Data(numpy.array([[-0.77863180496942608, 0.49103616298953146, -0.28256978917522102, 0.85141445485928435,
2046        arg1=Data(numpy.array([[-0.96878216704166342, -0.032013423311604283, 0.8049217154007291, 0.24139811696083879, -0.061131439175322821], [0.85950413875180542, -0.30074978009677067, 0.56924596923283377, -0.0017067914608279722, -0.037331484432138851], [0.39312624145320663, -0.26688855821339574, 0.41779360076601679, -0.98114894488416216, -0.52930120615507814], [0.79864183978020065, 0.62818244025942915, -0.30434820292422615, 0.97773357032029251, 0.70680887254158509]]),self.functionspace)  0.89534100052098475], [-0.019829524657347219, 0.86009618327105652, 0.2231447184293307, 0.53261010401118525,
2047        arg1.setTaggedValue(1,numpy.array([[0.67477317075489518, 0.11291746664828439, 0.24631750642024763, 0.23615923920376147, 0.1661900932802316], [-0.19298707326067133, 0.77486579208603401, -0.60597328009063833, -0.99730021883295361, -0.75292496597180714], [0.28831681972948831, -0.18183326238673669, 0.12517039650035322, 0.42461861795792943, -0.97726043312028699], [-0.13459338070875582, 0.84900844393953112, 0.45871100834215883, -0.73690742232065154, 0.36576515519971053]]))  0.21973919586386392], [0.40884066766675642, 0.60155082880001731, -0.55282063302010931, 0.60038599894081979,
2048        res=outer(arg0,arg1)  -0.16019921169384288], [0.19748372867082775, 0.80209900872838369, 0.95521487864664079, -0.18023053483189555,
2049        ref=Data(numpy.array([[[[0.75432460734584239, 0.024926669576364746, -0.62673764812155641, -0.18796025152543855, 0.047598882825460292], [-0.66923725893501029, 0.23417334412090651, -0.44323301649533176, 0.0013289621158508874, 0.029067481105584304], [-0.30610059496355668, 0.20780791980738408, -0.32530738546911947, 0.7639537738990031, 0.4121307535210228], [-0.62184793723216081, -0.48912282730929801, 0.23697519058209138, -0.76129445463769063, -0.55034386819545944]], [[-0.47570707807682172, -0.015719748547089785, 0.39524567063732569, 0.11853520510534842, -0.030017747330678444], [0.42204761436630839, -0.14767901803866362, 0.27952035652934759, -0.00083809632994826465, -0.018331108874260888], [0.19303920117367868, -0.13105193357091405, 0.20515176664172505, -0.48177961321714624, -0.25990603333612056], [0.39216202460856986, 0.30846029512239065, -0.14944597377667132, 0.48010254079613168, 0.34706871673977674]], [[0.27374857269767661, 0.0090460262759371277, -0.22744655942334127, -0.068211815016919558, 0.017273897879748815], [-0.24286990328232758, 0.084982801956438564, -0.16085171351496619, 0.00048228770325222758, 0.01054874968558752], [-0.11108559916667964, 0.075414643627637931, -0.11805584968720982, 0.27724305050540826, 0.14956453023343064], [-0.22567205629320194, -0.17750537970768276, 0.085999607536155973, -0.27627796883494121, -0.19972283410125136]], [[-0.82483514062917407, -0.027256691357029066, 0.68532198352231177, 0.20552984615627032, -0.05204819096022098], [0.73179424774466717, -0.25606271007014164, 0.48466424657521812, -0.0014531869211793294, -0.031784565466877357], [0.33471336455776129, -0.22723277629943872, 0.35571551083989567, -0.83536439404431095, -0.45065469789488755], [0.67997520664427546, 0.53484360992565683, -0.25912645928013284, 0.83245649477187356, 0.60178729090469907]], [[-0.86739039472597068, -0.028662930457913596, 0.7206794140079561, 0.2161336315635991, -0.054733483914521257], [0.76954929554196883, -0.26927360901830882, 0.50966925563546306, -0.0015281603742183898, -0.033424408622404762], [0.35198204235376823, -0.23895626873838482, 0.37406774052111036, -0.87846287797269429, -0.47390507149585165], [0.71505678388672489, 0.56243749457159098, -0.27249542451294034, 0.87540495309352528, 0.63283496311849197]]], [[[0.019210489868950936, 0.0006348109669235514, -0.015961215002772977, -0.0047868099125121409, 0.0012122073804661858], [-0.01704355851247091, 0.005963725180120668, -0.011287876982997994, 3.3844863357437953e-05, 0.00074026559104247119], [-0.0077955064983465973, 0.0052922732458563796, -0.0082846485080716094, 0.019455717195110703, 0.010495791318615746], [-0.015836688054310637, -0.012456559188436897, 0.0060350801943052576, -0.019387991940982372, -0.014015683966095149]], [[-0.83324584429359783, -0.02753462320375151, 0.69231009524815867, 0.20762559904683753, -0.052578917512561905], [0.73925622924610446, -0.25867373798084203, 0.48960628547959362, -0.0014680048210977698, -0.032108667275925491], [0.3381263798175988, -0.22954983027805687, 0.35934268141392262, -0.8438824627152921, -0.45524994721474937], [0.68690879819552519, 0.54029731926503355, -0.26176872772053189, 0.84094491208846678, 0.60792361357513602]], [[-0.2161786238838688, -0.0071436263308269094, 0.17961402954074956, 0.053866714838597014, -0.013641157781957167], [0.19179380903061602, -0.067110724997377011, 0.12702423152149214, -0.00038086149994404387, -0.0083303235821585667], [0.087724044456256867, -0.05955477217453823, 0.093228435404509022, -0.21893820504341127, -0.11811076861178003], [0.17821270846363552, 0.14017559375394018, -0.067913694045999243, 0.21817608224802587, 0.15772066684664471]], [[-0.51598317075224176, -0.01705067271974766, 0.42870943856044397, 0.12857107618261662, -0.032559222177522135], [0.4577805887386433, -0.16018237165868213, 0.30318615488104755, -0.00090905437747698908, -0.019883125806293415], [0.20938300834991871, -0.14214754274943198, 0.2225210931591958, -0.52256984158521824, -0.28191117046350195], [0.42536471335301701, 0.33457631484457473, -0.16209892801508941, 0.52075077858351848, 0.37645354712040219]], [[-0.21287941435298663, -0.0070346038953414012, 0.17687285047551815, 0.053044628104025687, -0.013432973286386145], [0.18886674829098465, -0.066086514834698296, 0.12508565152796872, -0.00037504898310964822, -0.0082031903695225453], [0.086385244169910835, -0.058645877167077615, 0.091805629869392738, -0.21559688017152434, -0.11630822141029014], [0.17549291565653813, 0.13803630427840671, -0.066877229373181538, 0.21484638851128574, 0.15531361328173221]]], [[[-0.39607754799696082, -0.0130883893610148, 0.329084731543905, 0.098693367311767088, -0.024993018407868692], [0.3514002459496286, -0.12295874089539389, 0.23273090212776165, -0.00069780576041282669, -0.015262629020226771], [0.16072599503305149, -0.1091148963325827, 0.17081101468407658, -0.40113358970697444, -0.21639985852126162], [0.32651726300234396, 0.25682652829219732, -0.12442992248671809, 0.39973724568994995, 0.28897221136268897]], [[-0.58277171551058948, -0.019257701325821351, 0.48420132501844027, 0.14521323732855609, -0.03677366790165329], [0.51703542702319361, -0.18091627947863534, 0.34243038458308028, -0.001026721817849859, -0.02245678540048807], [0.23648541636921216, -0.16054703339050988, 0.25132408680814095, -0.5902109609713303, -0.31840157924743606], [0.48042366063415032, 0.37788366757567698, -0.18308091371286409, 0.58815643957177199, 0.42518146308059629]], [[0.53556277084256565, 0.017697680940261803, -0.44497733223946334, -0.1334498598281533, 0.033794720902332272], [-0.47515162206817696, 0.16626068381375544, -0.31469091705544083, 0.00094354953580823666, 0.020637614855355355], [-0.21732829765697803, 0.14754150169735372, -0.23096492284722023, 0.54239938079787486, 0.29260862784495767], [-0.44150568742363522, -0.34727221427633465, 0.16824996619910337, -0.54051129126947561, -0.39073852834266881]], [[-0.58164324911536125, -0.019220411134452865, 0.483263728170025, 0.14493204959396605, -0.036702460175966158], [0.51603425093827171, -0.18056595715463153, 0.34176730988089005, -0.0010247336961928632, -0.022413300572733347], [0.23602749118473337, -0.16023615362882473, 0.25083742834698702, -0.58906808938400901, -0.31778503339799741], [0.47949337877236992, 0.37715194191223922, -0.18272639983850486, 0.58701754631472314, 0.42435815100111413]], [[0.1551981394631273, 0.0051285251781402995, -0.12894782428245255, -0.038671788041504458, 0.0097932083655968213], [-0.13769188547563457, 0.048179877688599257, -0.09119275553099751, 0.00027342664655042367, 0.0059804743773896113], [-0.062978513976967035, 0.042755336635892295, -0.066930205493447997, 0.15717928752468846, 0.084793635974643733], [-0.12794179315850851, -0.1006343317294751, 0.048756342188898759, -0.15663214721191734, -0.1132302241993758]]], [[[-0.19131871461719238, -0.006322130203093212, 0.15895894164545482, 0.047672200231543033, -0.012072464547356661], [0.16973808212871502, -0.059393187970441769, 0.1124168165349393, -0.00033706354174783699, -0.0073723607424757394], [0.077636036000527375, -0.052706147615562665, 0.082507438094084187, -0.19376095201717281, -0.10452837578147131], [0.15771876839232382, 0.12405581058797158, -0.060103817927741901, 0.19308647111349234, 0.13958325160713606]], [[-0.77705921585785365, -0.025677935104239925, 0.645626910026875, 0.19362519032318723, -0.049033466764665919], [0.6894074176907663, -0.24123110049089913, 0.45659162764428396, -0.0013690157388361864, -0.029943546657377661], [0.31532616857473228, -0.21407104798391224, 0.33511183302748415, -0.78697859610648602, -0.42455197277572604], [0.6405898280167116, 0.50386451263266518, -0.24411739187378675, 0.78423912755437009, 0.56693069602603186]], [[-0.92539514012573221, -0.030579698263657626, 0.76887319869655335, 0.23058707299827522, -0.058393660253350493], [0.82101114159409128, -0.28728066469814068, 0.54375221942083074, -0.0016303525981299141, -0.035659589371544474], [0.37552003502253478, -0.25493592174598573, 0.39908266365505379, -0.93720807032180464, -0.50559638740494361], [0.76287456806777432, 0.60004921344036133, -0.29071793172258786, 0.93394565372224503, 0.67515435141117919]], [[0.17460412810152176, 0.0057697964052503131, -0.14507147126448022, -0.04350731172726445, 0.011017751977611925], [-0.15490889061746566, 0.054204293717415954, -0.10259550548573439, 0.0003076159378315377, 0.0067282734052729679], [-0.07085335275356433, 0.048101467587313804, -0.075299164115402648, 0.17683299908622255, 0.095396239472497132], [-0.1439396459227146, -0.1132176571799622, 0.054852839388159554, -0.17621744430192507, -0.12738854112209896]], [[-0.24007178030010176, -0.0079331760940507656, 0.19946588179730032, 0.059820336987466909, -0.015148847629950214], [0.21299183220470827, -0.074528142227447455, 0.14106359294339299, -0.00042295624191063469, -0.009251033136000817], [0.09741975015555808, -0.066137067229130542, 0.10353251427012911, -0.24313636434616301, -0.131164968967865], [0.19790967961731259, 0.1556685103389788, -0.07541985948221254, 0.2422900078794212, 0.17515275377242631]]]]),self.functionspace)  0.24780780289670346]]),self.functionspace)
2050        ref.setTaggedValue(1,numpy.array([[[[-0.52539985188982674, -0.087921130868928651, -0.1917906446195656, -0.18388109468143124, -0.12940089229882401], [0.15026587318872339, -0.6033351503010127, 0.47183006884021733, 0.77652966948630631, 0.58625132526117185], [-0.22449264574901612, 0.14158116129566403, -0.097461651755808759, -0.33062156092420575, 0.76092605496565213], [0.10479868695819568, -0.66106497713892087, -0.3571669803848006, 0.57377955633689603, -0.28479638298807286]], [[0.33133802865576367, 0.055446559557471957, 0.12095080322974767, 0.11596272667314196, 0.081605345731197237], [-0.094763631960499653, 0.38048712537777019, -0.29755479432988768, -0.48971047280435359, -0.3697133863098197], [0.14157398488531237, -0.089286707466251877, 0.061463191217411721, 0.20850309689597943, -0.47987021332087332], [-0.066090217227016676, 0.41689384865778006, 0.22524369345739262, -0.36184819313483896, 0.17960391836453632]], [[-0.19067051260130616, -0.031907064745005771, -0.069601885859335522, -0.066731466433587475, -0.046960299621205355], [0.054532316604810831, -0.21895366350884127, 0.17122974200102883, 0.28180691258002949, 0.21275384889941401], [-0.081469622966631711, 0.051380586617662836, -0.035369372550083635, -0.11998439335624583, 0.2761442745560847], [0.038032023211253388, -0.23990413701197577, -0.12961787291959687, 0.20822777496680206, -0.1033541827924242]], [[0.57451163133194982, 0.096139563310440476, 0.20971828545109342, 0.20106938990665391, 0.141496647673202], [-0.16431198377512324, 0.65973193595803825, -0.51593440992766326, -0.84911582214870418, -0.6410511994528314], [0.24547710789674484, -0.15481546797028864, 0.1065718849008687, 0.3615264291317532, -0.8320536589206573], [-0.11459474986381345, 0.72285806146770515, 0.39055318310559178, -0.62741363125689797, 0.31141774022088309]], [[0.60415208582840518, 0.10109963756516988, 0.22053816264413861, 0.21144304951097037, 0.14879680439419835], [-0.17278923926082604, 0.69376911355579507, -0.54255272288533507, -0.89292377574969373, -0.67412459235042621], [0.25814186984362847, -0.16280277507333557, 0.11207018803823462, 0.3801784582422903, -0.87498133395948863], [-0.12050697214727923, 0.76015206964758419, 0.41070277315905829, -0.65978342879191199, 0.3274845400122221]]], [[[-0.01338043122760056, -0.0022390996891473378, -0.0048843590670965822, -0.0046829254568513485, -0.0032954705525071871], [0.0038268419277717562, -0.015365220330304895, 0.012016162099250886, 0.019775989280125833, 0.014930144177870266], [-0.0057171854859538219, 0.0036056671600236821, -0.0024820694637736822, -0.0084199853547654597, 0.019378609855208555], [0.0026689227614799952, -0.016835433873394926, -0.0090960212505174446, 0.01461252390108954, -0.0072529491638310926]], [[0.58036982873999421, 0.097119882088826229, 0.21185674714489894, 0.20311966028335171, 0.14293946492778806], [-0.16598744513215519, 0.66645911032050187, -0.52119530537020098, -0.85777411179361285, -0.64758788952184143], [0.24798019622218215, -0.15639409497055679, 0.10765858028847862, 0.36521285265144598, -0.84053796858857843], [-0.11576325304114912, 0.73022892219728952, 0.39453558749950857, -0.63381126136210497, 0.31459321396081669]], [[0.15057206919176777, 0.025196936300984761, 0.054964450614361018, 0.052697686936608312, 0.037084441570761482], [-0.043064046123253118, 0.17290720899555836, -0.13521973696152345, -0.22254227652098932, -0.16801122953019229], [0.064336375556976771, -0.040575132136374967, 0.027931112882758999, 0.094751401944073707, -0.21807050418075222], [-0.030033802040707026, 0.18945175016701088, 0.1023589387969454, -0.16443699926222569, 0.081618562568299857]], [[0.35939100865972201, 0.060140983656222294, 0.13119119271426388, 0.12578079695551778, 0.08851452286761273], [-0.10278686516218039, 0.41270135011765202, -0.32274749173707395, -0.53117217328299726, -0.40101544443886233], [0.15356045134429691, -0.096846232792492964, 0.066667017899174424, 0.22615616627565852, -0.52049878093021196], [-0.071685794498507496, 0.45219047563300824, 0.24431411786419288, -0.39248433884881662, 0.19481021735458515]], [[0.14827411393219042, 0.024812393320278688, 0.054125610787977355, 0.051893441318456433, 0.036518477457938625], [-0.04240682429042051, 0.17026838605540109, -0.13315608128210485, -0.21914594812120874, -0.16544712656847202], [0.06335450612138438, -0.039955894858164497, 0.027504842272948624, 0.093305353658900664, -0.21474242172342323], [-0.029575441245540898, 0.18656043275290296, 0.10079678810700816, -0.16192744440685275, 0.080372941078605778]]], [[[0.27587471365504557, 0.046165252455723289, 0.1007046137828646, 0.096551501031739081, 0.067945268696290417], [-0.078900963882946096, 0.31679664778858418, -0.24774652042047096, -0.40773688733186703, -0.30782634579088347], [0.11787564107775984, -0.07434083239821794, 0.051174748477317039, 0.17360135926965523, -0.3995438079612017], [-0.055027247632493663, 0.34710917907495187, 0.1875397149166993, -0.30127772255016361, 0.14953967026108445]], [[0.40591036011962278, 0.067925595648273787, 0.14817250013505354, 0.14206178607180425, 0.099971788351075508], [-0.11609153386764649, 0.46612115943813565, -0.36452372886918855, -0.59992677320140186, -0.45292263730456539], [0.17343722186525887, -0.10938194969215247, 0.07529635575601426, 0.25542968155651036, -0.58787182349697253], [-0.080964759716348325, 0.51072173311003799, 0.27593798724791729, -0.44328727064587231, 0.22002633225655283]], [[-0.37302853140170744, -0.062423105391531661, -0.13616939982317613, -0.13055370011017084, -0.091873312568848647], [0.10668723600466254, -0.42836179768662974, 0.33499453229297871, 0.55132813828632699, 0.41623245630517869], [-0.15938748679320047, 0.10052117921674741, -0.069196777828703343, -0.2347379331716265, 0.5402497312630633], [0.074405997923730954, -0.46934938541806959, -0.25358491000500488, 0.40737762768451963, -0.20220252463420249]], [[0.40512436418214209, 0.067794066011496928, 0.14788558214873218, 0.14178670073845434, 0.099778205168119874], [-0.11586673676227333, 0.46521857262664312, -0.36381787309866309, -0.59876508812792106, -0.45204560782246617], [0.17310138182472909, -0.1091701448787291, 0.075150553540683063, 0.25493507311154179, -0.58673348136426173], [-0.080807981327648423, 0.50973278272382638, 0.27540366696865776, -0.44242889887688891, 0.21960027808232219]], [[-0.10809813002708904, -0.018089289143520954, -0.039459870354916757, -0.03783252395466026, -0.026623521934819316], [0.030916377003461452, -0.12413288906070781, 0.097076441778052511, 0.15976670887913616, 0.12061798601329698], [-0.046188127238739836, 0.02912954529407491, -0.020052198846762334, -0.068023567867389334, 0.15655635100545343], [0.021561753488751962, -0.13601048344052907, -0.073485141931701636, 0.11805198814711014, -0.058595289528069722]]], [[[0.13325672176771383, 0.022299362345767036, 0.048643699604771058, 0.04663760711802474, 0.032819839289132811], [-0.038111806812787571, 0.15302338584062436, -0.11966986282719112, -0.19695056581936415, -0.14869042968946858], [0.056937880598694229, -0.035909110652513739, 0.024719116620095682, 0.083855267937385611, -0.19299303421506236], [-0.026580002676777355, 0.16766535318219603, 0.090587960309764695, -0.14552722544509061, 0.072232666666702833]], [[0.54123489137900982, 0.09057098806670924, 0.19757102773212792, 0.18942309166738633, 0.13330090908055139], [-0.15479474015977643, 0.62151908372974174, -0.48605056727658819, -0.79993351693051218, -0.60392036885283851], [0.23125863530474267, -0.14584827951424958, 0.10039905095507207, 0.34058617255167145, -0.78385962467525305], [-0.107957217247895, 0.68098883128592547, 0.36793164508404291, -0.59107271296798303, 0.29337986841307123]], [[0.64455337241664623, 0.10786044420152709, 0.23528614700375999, 0.22558281901730404, 0.15874724978495033], [-0.18434412376506254, 0.74016333355489417, -0.57883469320488601, -0.95263600750678812, -0.7192051300007859], [0.27540451596968857, -0.17368983766466947, 0.11956462510323682, 0.40560202162378789, -0.9334937060291586], [-0.12856559982035531, 0.81098549774767259, 0.43816758016743346, -0.70390493398582998, 0.34938431833726125]], [[-0.12161472945536873, -0.020351175405883024, -0.044393935920580094, -0.042563105987187488, -0.029952529395658751], [0.034782163429413003, -0.13965447613060628, 0.10921488836457378, 0.17974395182822969, 0.13570006930538556], [-0.051963494620876891, 0.032771906130189953, -0.022559527506379087, -0.076529240614137947, 0.17613217053131922], [0.024257836989971995, -0.1530172459280171, -0.082673730366785395, 0.13281321884644456, -0.06592204954451511]], [[0.16721405689841268, 0.027981829318773146, 0.06103940008099621, 0.05852210220084117, 0.041183201878972391], [-0.047823702612192112, 0.19201778947665391, -0.15016490715336978, -0.24713877605739579, -0.18658068156354873], [0.071447157635329425, -0.045059701245597009, 0.031018200944461751, 0.10522380678518921, -0.24217276078941913], [-0.033353289957876328, 0.21039091713340424, 0.1136721671418018, -0.18261140926355382, 0.090639459486212021]]]]))        arg1=Data(numpy.array([[-0.96878216704166342, -0.032013423311604283, 0.8049217154007291, 0.24139811696083879,
2051    -0.061131439175322821], [0.85950413875180542, -0.30074978009677067, 0.56924596923283377, -0.0017067914608279722,
2052    -0.037331484432138851], [0.39312624145320663, -0.26688855821339574, 0.41779360076601679, -0.98114894488416216,
2053    -0.52930120615507814], [0.79864183978020065, 0.62818244025942915, -0.30434820292422615, 0.97773357032029251,
2054    0.70680887254158509]]),self.functionspace)
2055          arg1.setTaggedValue(1,numpy.array([[0.67477317075489518, 0.11291746664828439, 0.24631750642024763, 0.23615923920376147,
2056    0.1661900932802316], [-0.19298707326067133, 0.77486579208603401, -0.60597328009063833, -0.99730021883295361,
2057    -0.75292496597180714], [0.28831681972948831, -0.18183326238673669, 0.12517039650035322, 0.42461861795792943,
2058    -0.97726043312028699], [-0.13459338070875582, 0.84900844393953112, 0.45871100834215883, -0.73690742232065154,
2059    0.36576515519971053]]))
2060          res=outer(arg0,arg1)
2061          ref=Data(numpy.array([[[[0.75432460734584239, 0.024926669576364746, -0.62673764812155641, -0.18796025152543855,
2062    0.047598882825460292], [-0.66923725893501029, 0.23417334412090651, -0.44323301649533176, 0.0013289621158508874,
2063    0.029067481105584304], [-0.30610059496355668, 0.20780791980738408, -0.32530738546911947, 0.7639537738990031,
2064    0.4121307535210228], [-0.62184793723216081, -0.48912282730929801, 0.23697519058209138, -0.76129445463769063,
2065    -0.55034386819545944]], [[-0.47570707807682172, -0.015719748547089785, 0.39524567063732569, 0.11853520510534842,
2066    -0.030017747330678444], [0.42204761436630839, -0.14767901803866362, 0.27952035652934759, -0.00083809632994826465,
2067    -0.018331108874260888], [0.19303920117367868, -0.13105193357091405, 0.20515176664172505, -0.48177961321714624,
2068    -0.25990603333612056], [0.39216202460856986, 0.30846029512239065, -0.14944597377667132, 0.48010254079613168,
2069    0.34706871673977674]], [[0.27374857269767661, 0.0090460262759371277, -0.22744655942334127, -0.068211815016919558,
2070    0.017273897879748815], [-0.24286990328232758, 0.084982801956438564, -0.16085171351496619, 0.00048228770325222758,
2071    0.01054874968558752], [-0.11108559916667964, 0.075414643627637931, -0.11805584968720982, 0.27724305050540826,
2072    0.14956453023343064], [-0.22567205629320194, -0.17750537970768276, 0.085999607536155973, -0.27627796883494121,
2073    -0.19972283410125136]], [[-0.82483514062917407, -0.027256691357029066, 0.68532198352231177, 0.20552984615627032,
2074    -0.05204819096022098], [0.73179424774466717, -0.25606271007014164, 0.48466424657521812, -0.0014531869211793294,
2075    -0.031784565466877357], [0.33471336455776129, -0.22723277629943872, 0.35571551083989567, -0.83536439404431095,
2076    -0.45065469789488755], [0.67997520664427546, 0.53484360992565683, -0.25912645928013284, 0.83245649477187356,
2077    0.60178729090469907]], [[-0.86739039472597068, -0.028662930457913596, 0.7206794140079561, 0.2161336315635991,
2078    -0.054733483914521257], [0.76954929554196883, -0.26927360901830882, 0.50966925563546306, -0.0015281603742183898,
2079    -0.033424408622404762], [0.35198204235376823, -0.23895626873838482, 0.37406774052111036, -0.87846287797269429,
2080    -0.47390507149585165], [0.71505678388672489, 0.56243749457159098, -0.27249542451294034, 0.87540495309352528,
2081    0.63283496311849197]]], [[[0.019210489868950936, 0.0006348109669235514, -0.015961215002772977, -0.0047868099125121409,
2082    0.0012122073804661858], [-0.01704355851247091, 0.005963725180120668, -0.011287876982997994, 3.3844863357437953e-05,
2083    0.00074026559104247119], [-0.0077955064983465973, 0.0052922732458563796, -0.0082846485080716094, 0.019455717195110703,
2084    0.010495791318615746], [-0.015836688054310637, -0.012456559188436897, 0.0060350801943052576, -0.019387991940982372,
2085    -0.014015683966095149]], [[-0.83324584429359783, -0.02753462320375151, 0.69231009524815867, 0.20762559904683753,
2086    -0.052578917512561905], [0.73925622924610446, -0.25867373798084203, 0.48960628547959362, -0.0014680048210977698,
2087    -0.032108667275925491], [0.3381263798175988, -0.22954983027805687, 0.35934268141392262, -0.8438824627152921,
2088    -0.45524994721474937], [0.68690879819552519, 0.54029731926503355, -0.26176872772053189, 0.84094491208846678,
2089    0.60792361357513602]], [[-0.2161786238838688, -0.0071436263308269094, 0.17961402954074956, 0.053866714838597014,
2090    -0.013641157781957167], [0.19179380903061602, -0.067110724997377011, 0.12702423152149214, -0.00038086149994404387,
2091    -0.0083303235821585667], [0.087724044456256867, -0.05955477217453823, 0.093228435404509022, -0.21893820504341127,
2092    -0.11811076861178003], [0.17821270846363552, 0.14017559375394018, -0.067913694045999243, 0.21817608224802587,
2093    0.15772066684664471]], [[-0.51598317075224176, -0.01705067271974766, 0.42870943856044397, 0.12857107618261662,
2094    -0.032559222177522135], [0.4577805887386433, -0.16018237165868213, 0.30318615488104755, -0.00090905437747698908,
2095    -0.019883125806293415], [0.20938300834991871, -0.14214754274943198, 0.2225210931591958, -0.52256984158521824,
2096    -0.28191117046350195], [0.42536471335301701, 0.33457631484457473, -0.16209892801508941, 0.52075077858351848,
2097    0.37645354712040219]], [[-0.21287941435298663, -0.0070346038953414012, 0.17687285047551815, 0.053044628104025687,
2098    -0.013432973286386145], [0.18886674829098465, -0.066086514834698296, 0.12508565152796872, -0.00037504898310964822,
2099    -0.0082031903695225453], [0.086385244169910835, -0.058645877167077615, 0.091805629869392738, -0.21559688017152434,
2100    -0.11630822141029014], [0.17549291565653813, 0.13803630427840671, -0.066877229373181538, 0.21484638851128574,
2101    0.15531361328173221]]], [[[-0.39607754799696082, -0.0130883893610148, 0.329084731543905, 0.098693367311767088,
2102    -0.024993018407868692], [0.3514002459496286, -0.12295874089539389, 0.23273090212776165, -0.00069780576041282669,
2103    -0.015262629020226771], [0.16072599503305149, -0.1091148963325827, 0.17081101468407658, -0.40113358970697444,
2104    -0.21639985852126162], [0.32651726300234396, 0.25682652829219732, -0.12442992248671809, 0.39973724568994995,
2105    0.28897221136268897]], [[-0.58277171551058948, -0.019257701325821351, 0.48420132501844027, 0.14521323732855609,
2106    -0.03677366790165329], [0.51703542702319361, -0.18091627947863534, 0.34243038458308028, -0.001026721817849859,
2107    -0.02245678540048807], [0.23648541636921216, -0.16054703339050988, 0.25132408680814095, -0.5902109609713303,
2108    -0.31840157924743606], [0.48042366063415032, 0.37788366757567698, -0.18308091371286409, 0.58815643957177199,
2109    0.42518146308059629]], [[0.53556277084256565, 0.017697680940261803, -0.44497733223946334, -0.1334498598281533,
2110    0.033794720902332272], [-0.47515162206817696, 0.16626068381375544, -0.31469091705544083, 0.00094354953580823666,
2111    0.020637614855355355], [-0.21732829765697803, 0.14754150169735372, -0.23096492284722023, 0.54239938079787486,
2112    0.29260862784495767], [-0.44150568742363522, -0.34727221427633465, 0.16824996619910337, -0.54051129126947561,
2113    -0.39073852834266881]], [[-0.58164324911536125, -0.019220411134452865, 0.483263728170025, 0.14493204959396605,
2114    -0.036702460175966158], [0.51603425093827171, -0.18056595715463153, 0.34176730988089005, -0.0010247336961928632,
2115    -0.022413300572733347], [0.23602749118473337, -0.16023615362882473, 0.25083742834698702, -0.58906808938400901,
2116    -0.31778503339799741], [0.47949337877236992, 0.37715194191223922, -0.18272639983850486, 0.58701754631472314,
2117    0.42435815100111413]], [[0.1551981394631273, 0.0051285251781402995, -0.12894782428245255, -0.038671788041504458,
2118    0.0097932083655968213], [-0.13769188547563457, 0.048179877688599257, -0.09119275553099751, 0.00027342664655042367,
2119    0.0059804743773896113], [-0.062978513976967035, 0.042755336635892295, -0.066930205493447997, 0.15717928752468846,
2120    0.084793635974643733], [-0.12794179315850851, -0.1006343317294751, 0.048756342188898759, -0.15663214721191734,
2121    -0.1132302241993758]]], [[[-0.19131871461719238, -0.006322130203093212, 0.15895894164545482, 0.047672200231543033,
2122    -0.012072464547356661], [0.16973808212871502, -0.059393187970441769, 0.1124168165349393, -0.00033706354174783699,
2123    -0.0073723607424757394], [0.077636036000527375, -0.052706147615562665, 0.082507438094084187, -0.19376095201717281,
2124    -0.10452837578147131], [0.15771876839232382, 0.12405581058797158, -0.060103817927741901, 0.19308647111349234,
2125    0.13958325160713606]], [[-0.77705921585785365, -0.025677935104239925, 0.645626910026875, 0.19362519032318723,
2126    -0.049033466764665919], [0.6894074176907663, -0.24123110049089913, 0.45659162764428396, -0.0013690157388361864,
2127    -0.029943546657377661], [0.31532616857473228, -0.21407104798391224, 0.33511183302748415, -0.78697859610648602,
2128    -0.42455197277572604], [0.6405898280167116, 0.50386451263266518, -0.24411739187378675, 0.78423912755437009,
2129    0.56693069602603186]], [[-0.92539514012573221, -0.030579698263657626, 0.76887319869655335, 0.23058707299827522,
2130    -0.058393660253350493], [0.82101114159409128, -0.28728066469814068, 0.54375221942083074, -0.0016303525981299141,
2131    -0.035659589371544474], [0.37552003502253478, -0.25493592174598573, 0.39908266365505379, -0.93720807032180464,
2132    -0.50559638740494361], [0.76287456806777432, 0.60004921344036133, -0.29071793172258786, 0.93394565372224503,
2133    0.67515435141117919]], [[0.17460412810152176, 0.0057697964052503131, -0.14507147126448022, -0.04350731172726445,
2134    0.011017751977611925], [-0.15490889061746566, 0.054204293717415954, -0.10259550548573439, 0.0003076159378315377,
2135    0.0067282734052729679], [-0.07085335275356433, 0.048101467587313804, -0.075299164115402648, 0.17683299908622255,
2136    0.095396239472497132], [-0.1439396459227146, -0.1132176571799622, 0.054852839388159554, -0.17621744430192507,
2137    -0.12738854112209896]], [[-0.24007178030010176, -0.0079331760940507656, 0.19946588179730032, 0.059820336987466909,
2138    -0.015148847629950214], [0.21299183220470827, -0.074528142227447455, 0.14106359294339299, -0.00042295624191063469,
2139    -0.009251033136000817], [0.09741975015555808, -0.066137067229130542, 0.10353251427012911, -0.24313636434616301,
2140    -0.131164968967865], [0.19790967961731259, 0.1556685103389788, -0.07541985948221254, 0.2422900078794212,
2141    0.17515275377242631]]]]),self.functionspace)
2142          ref.setTaggedValue(1,numpy.array([[[[-0.52539985188982674, -0.087921130868928651, -0.1917906446195656,
2143    -0.18388109468143124, -0.12940089229882401], [0.15026587318872339, -0.6033351503010127, 0.47183006884021733,
2144    0.77652966948630631, 0.58625132526117185], [-0.22449264574901612, 0.14158116129566403, -0.097461651755808759,
2145    -0.33062156092420575, 0.76092605496565213], [0.10479868695819568, -0.66106497713892087, -0.3571669803848006,
2146    0.57377955633689603, -0.28479638298807286]], [[0.33133802865576367, 0.055446559557471957, 0.12095080322974767,
2147    0.11596272667314196, 0.081605345731197237], [-0.094763631960499653, 0.38048712537777019, -0.29755479432988768,
2148    -0.48971047280435359, -0.3697133863098197], [0.14157398488531237, -0.089286707466251877, 0.061463191217411721,
2149    0.20850309689597943, -0.47987021332087332], [-0.066090217227016676, 0.41689384865778006, 0.22524369345739262,
2150    -0.36184819313483896, 0.17960391836453632]], [[-0.19067051260130616, -0.031907064745005771, -0.069601885859335522,
2151    -0.066731466433587475, -0.046960299621205355], [0.054532316604810831, -0.21895366350884127, 0.17122974200102883,
2152    0.28180691258002949, 0.21275384889941401], [-0.081469622966631711, 0.051380586617662836, -0.035369372550083635,
2153    -0.11998439335624583, 0.2761442745560847], [0.038032023211253388, -0.23990413701197577, -0.12961787291959687,
2154    0.20822777496680206, -0.1033541827924242]], [[0.57451163133194982, 0.096139563310440476, 0.20971828545109342,
2155    0.20106938990665391, 0.141496647673202], [-0.16431198377512324, 0.65973193595803825, -0.51593440992766326,
2156    -0.84911582214870418, -0.6410511994528314], [0.24547710789674484, -0.15481546797028864, 0.1065718849008687, 0.3615264291317532,
2157    -0.8320536589206573], [-0.11459474986381345, 0.72285806146770515, 0.39055318310559178, -0.62741363125689797,
2158    0.31141774022088309]], [[0.60415208582840518, 0.10109963756516988, 0.22053816264413861, 0.21144304951097037,
2159    0.14879680439419835], [-0.17278923926082604, 0.69376911355579507, -0.54255272288533507, -0.89292377574969373,
2160    -0.67412459235042621], [0.25814186984362847, -0.16280277507333557, 0.11207018803823462, 0.3801784582422903,
2161    -0.87498133395948863], [-0.12050697214727923, 0.76015206964758419, 0.41070277315905829, -0.65978342879191199,
2162    0.3274845400122221]]], [[[-0.01338043122760056, -0.0022390996891473378, -0.0048843590670965822, -0.0046829254568513485,
2163    -0.0032954705525071871], [0.0038268419277717562, -0.015365220330304895, 0.012016162099250886, 0.019775989280125833,
2164    0.014930144177870266], [-0.0057171854859538219, 0.0036056671600236821, -0.0024820694637736822, -0.0084199853547654597,
2165    0.019378609855208555], [0.0026689227614799952, -0.016835433873394926, -0.0090960212505174446, 0.01461252390108954,
2166    -0.0072529491638310926]], [[0.58036982873999421, 0.097119882088826229, 0.21185674714489894, 0.20311966028335171,
2167    0.14293946492778806], [-0.16598744513215519, 0.66645911032050187, -0.52119530537020098, -0.85777411179361285,
2168    -0.64758788952184143], [0.24798019622218215, -0.15639409497055679, 0.10765858028847862, 0.36521285265144598,
2169    -0.84053796858857843], [-0.11576325304114912, 0.73022892219728952, 0.39453558749950857, -0.63381126136210497,
2170    0.31459321396081669]], [[0.15057206919176777, 0.025196936300984761, 0.054964450614361018, 0.052697686936608312,
2171    0.037084441570761482], [-0.043064046123253118, 0.17290720899555836, -0.13521973696152345, -0.22254227652098932,
2172    -0.16801122953019229], [0.064336375556976771, -0.040575132136374967, 0.027931112882758999, 0.094751401944073707,
2173    -0.21807050418075222], [-0.030033802040707026, 0.18945175016701088, 0.1023589387969454, -0.16443699926222569,
2174    0.081618562568299857]], [[0.35939100865972201, 0.060140983656222294, 0.13119119271426388, 0.12578079695551778,
2175    0.08851452286761273], [-0.10278686516218039, 0.41270135011765202, -0.32274749173707395, -0.53117217328299726,
2176    -0.40101544443886233], [0.15356045134429691, -0.096846232792492964, 0.066667017899174424, 0.22615616627565852,
2177    -0.52049878093021196], [-0.071685794498507496, 0.45219047563300824, 0.24431411786419288, -0.39248433884881662,
2178    0.19481021735458515]], [[0.14827411393219042, 0.024812393320278688, 0.054125610787977355, 0.051893441318456433,
2179    0.036518477457938625], [-0.04240682429042051, 0.17026838605540109, -0.13315608128210485, -0.21914594812120874,
2180    -0.16544712656847202], [0.06335450612138438, -0.039955894858164497, 0.027504842272948624, 0.093305353658900664,
2181    -0.21474242172342323], [-0.029575441245540898, 0.18656043275290296, 0.10079678810700816, -0.16192744440685275,
2182    0.080372941078605778]]], [[[0.27587471365504557, 0.046165252455723289, 0.1007046137828646, 0.096551501031739081,
2183    0.067945268696290417], [-0.078900963882946096, 0.31679664778858418, -0.24774652042047096, -0.40773688733186703,
2184    -0.30782634579088347], [0.11787564107775984, -0.07434083239821794, 0.051174748477317039, 0.17360135926965523,
2185    -0.3995438079612017], [-0.055027247632493663, 0.34710917907495187, 0.1875397149166993, -0.30127772255016361,
2186    0.14953967026108445]], [[0.40591036011962278, 0.067925595648273787, 0.14817250013505354, 0.14206178607180425,
2187    0.099971788351075508], [-0.11609153386764649, 0.46612115943813565, -0.36452372886918855, -0.59992677320140186,
2188    -0.45292263730456539], [0.17343722186525887, -0.10938194969215247, 0.07529635575601426, 0.25542968155651036,
2189    -0.58787182349697253], [-0.080964759716348325, 0.51072173311003799, 0.27593798724791729, -0.44328727064587231,
2190    0.22002633225655283]], [[-0.37302853140170744, -0.062423105391531661, -0.13616939982317613, -0.13055370011017084,
2191    -0.091873312568848647], [0.10668723600466254, -0.42836179768662974, 0.33499453229297871, 0.55132813828632699,
2192    0.41623245630517869], [-0.15938748679320047, 0.10052117921674741, -0.069196777828703343, -0.2347379331716265,
2193    0.5402497312630633], [0.074405997923730954, -0.46934938541806959, -0.25358491000500488, 0.40737762768451963,
2194    -0.20220252463420249]], [[0.40512436418214209, 0.067794066011496928, 0.14788558214873218, 0.14178670073845434,
2195    0.099778205168119874], [-0.11586673676227333, 0.46521857262664312, -0.36381787309866309, -0.59876508812792106,
2196    -0.45204560782246617], [0.17310138182472909, -0.1091701448787291, 0.075150553540683063, 0.25493507311154179,
2197    -0.58673348136426173], [-0.080807981327648423, 0.50973278272382638, 0.27540366696865776, -0.44242889887688891,
2198    0.21960027808232219]], [[-0.10809813002708904, -0.018089289143520954, -0.039459870354916757, -0.03783252395466026,
2199    -0.026623521934819316], [0.030916377003461452, -0.12413288906070781, 0.097076441778052511, 0.15976670887913616,
2200    0.12061798601329698], [-0.046188127238739836, 0.02912954529407491, -0.020052198846762334, -0.068023567867389334,
2201    0.15655635100545343], [0.021561753488751962, -0.13601048344052907, -0.073485141931701636, 0.11805198814711014,
2202    -0.058595289528069722]]], [[[0.13325672176771383, 0.022299362345767036, 0.048643699604771058, 0.04663760711802474,
2203    0.032819839289132811], [-0.038111806812787571, 0.15302338584062436, -0.11966986282719112, -0.19695056581936415,
2204    -0.14869042968946858], [0.056937880598694229, -0.035909110652513739, 0.024719116620095682, 0.083855267937385611,
2205    -0.19299303421506236], [-0.026580002676777355, 0.16766535318219603, 0.090587960309764695, -0.14552722544509061,
2206    0.072232666666702833]], [[0.54123489137900982, 0.09057098806670924, 0.19757102773212792, 0.18942309166738633,
2207    0.13330090908055139], [-0.15479474015977643, 0.62151908372974174, -0.48605056727658819, -0.79993351693051218,
2208    -0.60392036885283851], [0.23125863530474267, -0.14584827951424958, 0.10039905095507207, 0.34058617255167145,
2209    -0.78385962467525305], [-0.107957217247895, 0.68098883128592547, 0.36793164508404291, -0.59107271296798303,
2210    0.29337986841307123]], [[0.64455337241664623, 0.10786044420152709, 0.23528614700375999, 0.22558281901730404,
2211    0.15874724978495033], [-0.18434412376506254, 0.74016333355489417, -0.57883469320488601, -0.95263600750678812,
2212    -0.7192051300007859], [0.27540451596968857, -0.17368983766466947, 0.11956462510323682, 0.40560202162378789,
2213    -0.9334937060291586], [-0.12856559982035531, 0.81098549774767259, 0.43816758016743346, -0.70390493398582998,
2214    0.34938431833726125]], [[-0.12161472945536873, -0.020351175405883024, -0.044393935920580094, -0.042563105987187488,
2215    -0.029952529395658751], [0.034782163429413003, -0.13965447613060628, 0.10921488836457378, 0.17974395182822969,
2216    0.13570006930538556], [-0.051963494620876891, 0.032771906130189953, -0.022559527506379087, -0.076529240614137947,
2217    0.17613217053131922], [0.024257836989971995, -0.1530172459280171, -0.082673730366785395, 0.13281321884644456,
2218    -0.06592204954451511]], [[0.16721405689841268, 0.027981829318773146, 0.06103940008099621, 0.05852210220084117,
2219    0.041183201878972391], [-0.047823702612192112, 0.19201778947665391, -0.15016490715336978, -0.24713877605739579,
2220    -0.18658068156354873], [0.071447157635329425, -0.045059701245597009, 0.031018200944461751, 0.10522380678518921,
2221    -0.24217276078941913], [-0.033353289957876328, 0.21039091713340424, 0.1136721671418018, -0.18261140926355382,
2222    0.090639459486212021]]]]))
2223        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2224        self.assertEqual(res.getShape(),(4, 5, 4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5, 4, 5),"wrong shape of result.")
2225        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2226     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2227     def test_outer_constData_rank0_taggedData_rank3(self):     def test_outer_constData_rank0_taggedData_rank3(self):
2228        arg0=Data(-0.815684173848,self.functionspace)        arg0=Data(-0.815684173848,self.functionspace)
2229        arg1=Data(numpy.array([[[0.5186186715651353, -0.17878803666941812], [-0.28669503476840452, -0.56183717538691691]], [[0.50542826737908286, -0.93179610743232599], [-0.72505934893936219, 0.82735382283309677]], [[-0.27442360568362445, -0.73442057367741387], [0.039223112481604927, -0.35562775312671979]], [[0.88079417160633566, -0.48903807038661773], [-0.53496838967479676, -0.6719434486155027]], [[0.99501951735953709, -0.32145991271566832], [-0.25666408730183576, -0.76035265261734564]], [[-0.7811219974282031, -0.79021218561733142], [-0.83958109296364469, -0.67545403917546398]]]),self.functionspace)        arg1=Data(numpy.array([[[0.5186186715651353, -0.17878803666941812], [-0.28669503476840452, -0.56183717538691691]],
2230        arg1.setTaggedValue(1,numpy.array([[[-0.0037490037003344856, 0.53597278498967538], [0.86925664587023577, -0.69164610677631866]], [[0.42597061274731618, -0.27260563443497809], [0.2762552654339101, -0.90810803645440319]], [[0.45461931585779869, -0.60883510855469236], [-0.83647002942065285, -0.43613726876411119]], [[0.77651424053378504, 0.40709976627162736], [-0.0082859153672250052, 0.27452514264385264]], [[-0.3230169718408622, 0.0045812405170664317], [-0.066610555656048565, 0.24531116760437843]], [[-0.46936468887416272, -0.61484031430957331], [0.78026194638694957, -0.5335850359285228]]]))  [[0.50542826737908286, -0.93179610743232599], [-0.72505934893936219, 0.82735382283309677]], [[-0.27442360568362445,
2231        res=outer(arg0,arg1)  -0.73442057367741387], [0.039223112481604927, -0.35562775312671979]], [[0.88079417160633566, -0.48903807038661773],
2232        ref=Data(numpy.array([[[-0.42302904265799479, 0.14583457198468303], [0.23385260258152243, 0.45828169224283133]], [[-0.41226983871676726, 0.76005133808615055], [0.59141943603070812, -0.67485941945798222]], [[0.22384299208656358, 0.59905523889737566], [-0.03199367210032325, 0.29007993000675358]], [[-0.71844986619725526, 0.3989006144237548], [0.43636524896692924, 0.54809363675682354]], [[-0.81162167298051047, 0.26220976332887896], [0.20935683400736771, 0.62020762528366702]], [[0.63714885114708508, 0.6445635737902613], [0.68483301019284015, 0.5509571699174457]]]),self.functionspace)  [-0.53496838967479676, -0.6719434486155027]], [[0.99501951735953709, -0.32145991271566832], [-0.25666408730183576,
2233        ref.setTaggedValue(1,numpy.array([[[0.0030580029860621657, -0.43718451832956329], [-0.70903888904894929, 0.56416478320134733]], [[-0.34745748734251819, 0.22236010171053122], [-0.22533704795674683, 0.74072935348045976]], [[-0.37082578107102199, 0.49661716253137356], [0.68229536489698484, 0.35575026775637913]], [[-0.63339037677136711, -0.33206483652517477], [0.0067586900308932128, -0.22392581417808241]], [[0.26347983181504592, -0.0037368453863644378], [0.05433317605989104, -0.20009643708317926]], [[0.38285334847796232, 0.50151551382633364], [-0.63644732112403268, 0.43523686920925958]]]))  -0.76035265261734564]], [[-0.7811219974282031, -0.79021218561733142], [-0.83958109296364469,
2234    -0.67545403917546398]]]),self.functionspace)
2235          arg1.setTaggedValue(1,numpy.array([[[-0.0037490037003344856, 0.53597278498967538], [0.86925664587023577,
2236    -0.69164610677631866]], [[0.42597061274731618, -0.27260563443497809], [0.2762552654339101, -0.90810803645440319]],
2237    [[0.45461931585779869, -0.60883510855469236], [-0.83647002942065285, -0.43613726876411119]], [[0.77651424053378504,
2238    0.40709976627162736], [-0.0082859153672250052, 0.27452514264385264]], [[-0.3230169718408622, 0.0045812405170664317],
2239    [-0.066610555656048565, 0.24531116760437843]], [[-0.46936468887416272, -0.61484031430957331], [0.78026194638694957,
2240    -0.5335850359285228]]]))
2241          res=outer(arg0,arg1)
2242          ref=Data(numpy.array([[[-0.42302904265799479, 0.14583457198468303], [0.23385260258152243, 0.45828169224283133]],
2243    [[-0.41226983871676726, 0.76005133808615055], [0.59141943603070812, -0.67485941945798222]], [[0.22384299208656358,
2244    0.59905523889737566], [-0.03199367210032325, 0.29007993000675358]], [[-0.71844986619725526, 0.3989006144237548],
2245    [0.43636524896692924, 0.54809363675682354]], [[-0.81162167298051047, 0.26220976332887896], [0.20935683400736771,
2246    0.62020762528366702]], [[0.63714885114708508, 0.6445635737902613], [0.68483301019284015,
2247    0.5509571699174457]]]),self.functionspace)
2248          ref.setTaggedValue(1,numpy.array([[[0.0030580029860621657, -0.43718451832956329], [-0.70903888904894929,
2249    0.56416478320134733]], [[-0.34745748734251819, 0.22236010171053122], [-0.22533704795674683, 0.74072935348045976]],
2250    [[-0.37082578107102199, 0.49661716253137356], [0.68229536489698484, 0.35575026775637913]], [[-0.63339037677136711,
2251    -0.33206483652517477], [0.0067586900308932128, -0.22392581417808241]], [[0.26347983181504592, -0.0037368453863644378],
2252    [0.05433317605989104, -0.20009643708317926]], [[0.38285334847796232, 0.50151551382633364], [-0.63644732112403268,
2253    0.43523686920925958]]]))
2254        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2255        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
2256        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2257     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2258     def test_outer_constData_rank1_taggedData_rank3(self):     def test_outer_constData_rank1_taggedData_rank3(self):
2259        arg0=Data(numpy.array([0.27669471521673916, -0.58250617233723312]),self.functionspace)        arg0=Data(numpy.array([0.27669471521673916, -0.58250617233723312]),self.functionspace)
2260        arg1=Data(numpy.array([[[0.16186314116445177, -0.55455467264314562], [0.63053843677171084, -0.58891054306059543]], [[0.88879036833438829, -0.091610358420473714], [-0.30787278402660778, 0.26297782865212604]], [[0.11994646578035306, 0.45414234274252108], [0.61398958082577337, -0.84008399595847338]], [[0.8837205760370519, -0.68413124076864862], [0.91600875730687648, 0.38844592024244595]], [[-0.054867484444678372, 0.69426025527543289], [0.99276653978330121, 0.54213885844178455]], [[0.80945681446493967, 0.38793385564382588], [0.47529696475549743, 0.72067359222248029]]]),self.functionspace)        arg1=Data(numpy.array([[[0.16186314116445177, -0.55455467264314562], [0.63053843677171084, -0.58891054306059543]],
2261        arg1.setTaggedValue(1,numpy.array([[[-0.080378331695805993, 0.6998850955256406], [0.73371545076346112, -0.92187226001899059]], [[-0.15070037279070725, 0.76854383931705983], [0.44577559543322653, -0.81312603150992091]], [[0.015242070593834089, -0.089179036860166816], [-0.36561499693129251, 0.29464414303154096]], [[0.16783430341927796, 0.50416587132724988], [0.18410409055350474, 0.026434559952948522]], [[-0.52404210717797417, -0.25098939755140615], [-0.84092518777437775, -0.63487489033415923]], [[0.9800349282490759, 0.16298053724950057], [0.12975394494742942, 0.46446164827756609]]]))  [[0.88879036833438829, -0.091610358420473714], [-0.30787278402660778, 0.26297782865212604]], [[0.11994646578035306,
2262        res=outer(arg0,arg1)  0.45414234274252108], [0.61398958082577337, -0.84008399595847338]], [[0.8837205760370519, -0.68413124076864862],
2263        ref=Data(numpy.array([[[[0.044786675748584831, -0.15344234721910718], [0.17446665319575641, -0.16294843500028666]], [[0.24592359785366427, -0.025348102034056377], [-0.085186772299226887, 0.072764575407216439]], [[0.033188553190349142, 0.12565878619300461], [0.16988767221263243, -0.23244680201987006]], [[0.24452081311774476, -0.18929549883535565], [0.25345478223906531, 0.10748093327858775]], [[-0.015181542983079149, 0.19209814361973654], [0.27469325500204805, 0.15000695704447764]], [[0.22397242275862536, 0.1073392477103], [0.13151215830640287, 0.1994065743642236]]], [[[-0.094286278802186041, 0.32303151971308608], [-0.36729253131539175, 0.34304402628726877]], [[-0.51772587546866411, 0.053363599229952159], [0.17933779699014696, -0.15318620837770669]], [[-0.069869556667092381, -0.26454071776720978], [-0.35765272058176345, 0.48935411292753794]], [[-0.51477269016299787, 0.39851067043646754], [-0.53358075504621416, -0.22627214616044133]], [[0.031960648349642275, -0.40441088390636276], [-0.5782926371136502, -0.31579923130620097]], [[-0.47151359066626186, -0.22597386537110975], [-0.27686341566322958, -0.41979681571004096]]]]),self.functionspace)  [0.91600875730687648, 0.38844592024244595]], [[-0.054867484444678372, 0.69426025527543289], [0.99276653978330121,
2264        ref.setTaggedValue(1,numpy.array([[[[-0.022240259598167639, 0.1936545071909074], [0.20301518769911728, -0.25507718245216632]], [[-0.041697996732381171, 0.21265201875141321], [0.12334375142896895, -0.22498767572395484]], [[0.0042174003822743576, -0.024675368207326943], [-0.10116373745487295, 0.081526477246392393]], [[0.046438864788196907, 0.13950003218889256], [0.050940628905938749, 0.0073143030380609089]], [[-0.14499968160718946, -0.069447439877907247], [-0.23267955534981435, -0.17566652697926868]], [[0.27117048537433547, 0.045095853340121707], [0.035902230845477438, 0.12851408349925841]]], [[[0.046820874334976455, -0.40768738807051969], [-0.42739377880891138, 0.53699628156753676]], [[0.087783897324108989, -0.44768153011394207], [-0.25966703581715977, 0.47365093224260846]], [[-0.0088786002001081925, 0.051947339414136796], [0.21297299241153644, -0.17163203195888715]], [[-0.097764517671649398, -0.29367973192990232], [-0.10724176909994941, -0.015398294335611153]], [[0.30525776199577981, 0.1462028732648977], [0.48984411235242181, 0.36981854228157174]], [[-0.57087639481116415, -0.094937168918672418], [-0.075582473816983187, -0.27055177693560728]]]]))  0.54213885844178455]], [[0.80945681446493967, 0.38793385564382588], [0.47529696475549743,
2265    0.72067359222248029]]]),self.functionspace)
2266          arg1.setTaggedValue(1,numpy.array([[[-0.080378331695805993, 0.6998850955256406], [0.73371545076346112,
2267    -0.92187226001899059]], [[-0.15070037279070725, 0.76854383931705983], [0.44577559543322653, -0.81312603150992091]],
2268    [[0.015242070593834089, -0.089179036860166816], [-0.36561499693129251, 0.29464414303154096]], [[0.16783430341927796,
2269    0.50416587132724988], [0.18410409055350474, 0.026434559952948522]], [[-0.52404210717797417, -0.25098939755140615],
2270    [-0.84092518777437775, -0.63487489033415923]], [[0.9800349282490759, 0.16298053724950057], [0.12975394494742942,
2271    0.46446164827756609]]]))
2272          res=outer(arg0,arg1)
2273          ref=Data(numpy.array([[[[0.044786675748584831, -0.15344234721910718], [0.17446665319575641, -0.16294843500028666]],
2274    [[0.24592359785366427, -0.025348102034056377], [-0.085186772299226887, 0.072764575407216439]], [[0.033188553190349142,
2275    0.12565878619300461], [0.16988767221263243, -0.23244680201987006]], [[0.24452081311774476, -0.18929549883535565],
2276    [0.25345478223906531, 0.10748093327858775]], [[-0.015181542983079149, 0.19209814361973654], [0.27469325500204805,
2277    0.15000695704447764]], [[0.22397242275862536, 0.1073392477103], [0.13151215830640287, 0.1994065743642236]]],
2278    [[[-0.094286278802186041, 0.32303151971308608], [-0.36729253131539175, 0.34304402628726877]], [[-0.51772587546866411,
2279    0.053363599229952159], [0.17933779699014696, -0.15318620837770669]], [[-0.069869556667092381, -0.26454071776720978],
2280    [-0.35765272058176345, 0.48935411292753794]], [[-0.51477269016299787, 0.39851067043646754], [-0.53358075504621416,
2281    -0.22627214616044133]], [[0.031960648349642275, -0.40441088390636276], [-0.5782926371136502, -0.31579923130620097]],
2282    [[-0.47151359066626186, -0.22597386537110975], [-0.27686341566322958, -0.41979681571004096]]]]),self.functionspace)
2283          ref.setTaggedValue(1,numpy.array([[[[-0.022240259598167639, 0.1936545071909074], [0.20301518769911728,
2284    -0.25507718245216632]], [[-0.041697996732381171, 0.21265201875141321], [0.12334375142896895, -0.22498767572395484]],
2285    [[0.0042174003822743576, -0.024675368207326943], [-0.10116373745487295, 0.081526477246392393]], [[0.046438864788196907,
2286    0.13950003218889256], [0.050940628905938749, 0.0073143030380609089]], [[-0.14499968160718946, -0.069447439877907247],
2287    [-0.23267955534981435, -0.17566652697926868]], [[0.27117048537433547, 0.045095853340121707], [0.035902230845477438,
2288    0.12851408349925841]]], [[[0.046820874334976455, -0.40768738807051969], [-0.42739377880891138, 0.53699628156753676]],
2289    [[0.087783897324108989, -0.44768153011394207], [-0.25966703581715977, 0.47365093224260846]], [[-0.0088786002001081925,
2290    0.051947339414136796], [0.21297299241153644, -0.17163203195888715]], [[-0.097764517671649398, -0.29367973192990232],
2291    [-0.10724176909994941, -0.015398294335611153]], [[0.30525776199577981, 0.1462028732648977], [0.48984411235242181,
2292    0.36981854228157174]], [[-0.57087639481116415, -0.094937168918672418], [-0.075582473816983187, -0.27055177693560728]]]]))
2293        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2294        self.assertEqual(res.getShape(),(2, 6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(2, 6, 2, 2),"wrong shape of result.")
2295        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2296     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2297     def test_outer_constData_rank0_taggedData_rank4(self):     def test_outer_constData_rank0_taggedData_rank4(self):
2298        arg0=Data(-0.877835614466,self.functionspace)        arg0=Data(-0.877835614466,self.functionspace)
2299        arg1=Data(numpy.array([[[[0.25446175854505104, -0.20354893863031731, -0.17571389889846345, -0.38437941648321261], [-0.89986006960559783, -0.5551265572810562, 0.26050217438044521, -0.20452486385144564], [0.069369186982854103, -0.58880938638583014, 0.77654937900456456, 0.20372039687038868]], [[0.78783903075766037, 0.75251834446183086, 0.082763923216648383, -0.9186726679964623], [0.22879532741857544, 0.88873834443256516, -0.6460156917085218, 0.50707072708753076], [-0.85574843048667759, 0.13048715584708193, 0.091158129172832281, 0.63454010694221274]]], [[[0.49798676906348627, -0.41995469659039086, -0.8619692830136152, 0.77881512859705793], [-0.51658319603604896, 0.18601507832343622, -0.60089917071352095, -0.073424975494905453], [0.7066612058208408, -0.55185334500944783, 0.98469113369071448, 0.91181487543514006]], [[-0.90526882230635297, 0.41877801499814882, -0.70712825939913482, 0.52092380106049263], [0.7429134538300437, -0.065130455928156028, -0.81701387372714773, -0.60985897601554462], [-0.16865226519561261, 0.80023403426297435, -0.2246960704302674, 0.92877365511449561]]], [[[-0.36169283925788798, 0.39555153142368527, -0.17368624437806113, -0.40896134626473901], [-0.53743057368219005, 0.021434888874746871, 0.70077039424781962, -0.20085919793665141], [-0.3811416572736479, -0.78608635139536576, 0.070021560317791165, 0.88745239518175012]], [[0.0062806481764750011, -0.54939586202548507, -0.75924452358638095, -0.71445035757195274], [0.67005253694510314, -0.76155493229923099, -0.2607010373505485, 0.47887806863141891], [-0.72192275627094227, 0.3241627217708194, 0.95604997446291562, -0.93780488936237871]]]]),self.functionspace)        arg1=Data(numpy.array([[[[0.25446175854505104, -0.20354893863031731, -0.17571389889846345, -0.38437941648321261],
2300        arg1.setTaggedValue(1,numpy.array([[[[0.90253670598918534, 0.6622113781747605, -0.40349237230191082, -0.49290936492532511], [-0.18314385107746212, 0.29773933930589047, 0.30960250376403842, -0.9172231735221823], [0.55443057407782259, 0.19798293037806203, 0.97461218494401169, -0.02773328979130163]], [[-0.86632562241244071, 0.12526065978564493, 0.24325462771000939, -0.75685876309569977], [0.89291604817504222, -0.10961478423045268, -0.77465895490132164, -0.062669217633242846], [0.44840045495959702, -0.36924933560741136, 0.062897985461887407, 0.72934163371395244]]], [[[-0.24976840161406355, 0.93621824791053077, -0.3155030992891581, -0.57182632505737918], [0.12688324888834468, -0.3624987500996808, -0.28319526163987341, 0.47435962262593634], [0.60324520759764799, -0.03238412264551993, 0.20967541419065894, 0.39023770571102112]], [[0.87530762247163385, 0.047311175975118358, -0.27617932248072607, 0.46420301287553922], [-0.14390700376373045, 0.36681860400354349, -0.099361669795139163, -0.91342267142103384], [0.85501076611242066, 0.78163731778232326, 0.26607223537218117, 0.52095227053719051]]], [[[-0.36165740979197047, 0.90690159496925093, 0.53149902830955553, -0.98213567204180197], [0.62650851112959649, 0.18307068921386382, -0.38613766743348132, 0.56260232600471127], [0.14521983523173576, 0.053511254205649061, -0.21797268302248018, -0.71201805173745147]], [[-0.19479698265739032, -0.74942067915191224, -0.69473404470941214, 0.5728683106456538], [0.26827015242668484, -0.58113777431295177, 0.55081420746802112, 0.47424938050346399], [-0.58759021932752709, 0.36629494012213359, -0.20824589892713941, 0.73714543634081298]]]]))  [-0.89986006960559783, -0.5551265572810562, 0.26050217438044521, -0.20452486385144564], [0.069369186982854103,
2301        res=outer(arg0,arg1)  -0.58880938638583014, 0.77654937900456456, 0.20372039687038868]], [[0.78783903075766037, 0.75251834446183086,
2302        ref=Data(numpy.array([[[[-0.22337559417052838, 0.17868250761647439, 0.15424791840977314, 0.33742194125667568], [0.7899292171357698, 0.48730986251728653, -0.22867808631702261, 0.17953920953263658], [-0.060894742880110007, 0.51687784950143367, -0.68168270128176822, -0.17883301976600272]], [[-0.69159315966555568, -0.66058740330769061, -0.07265311939251462, 0.80644358600391897], [-0.20084468683146592, -0.78016617068457716, 0.56709558168571605, -0.44512474329067286], [0.75120644930470404, -0.1145462726329616, -0.080021852336016608, -0.55702190468102486]]], [[[-0.43715052141685118, 0.36865118912936545, 0.75666733520519147, -0.68367165696752097], [0.45347512731518536, -0.16329066058002004, 0.52749069275549521, 0.064455058480731298], [-0.62033237383111828, 0.48443652021156114, -0.86439694640274434, -0.8004235714569693]], [[0.79467721288633253, -0.36761825612080862, 0.62074237009600863, -0.45728546499397266], [-0.6521558882380557, 0.057173833800152431, 0.71720387587062873, 0.53535592894829409], [0.1480489648490963, -0.70247393518395296, 0.19724621305427995, -0.81531059223739222]]], [[[0.31750685579794941, -0.34722922164033182, 0.15246797105793072, 0.35900083469120536], [0.47177569788119322, -0.018816308846376761, -0.61516120963421106, 0.17632135744189562], [0.3345797209114541, 0.69005459530059376, -0.061467419427445803, -0.77903731863381565]], [[-0.0055133766512415481, 0.48227925412629408, 0.66649188289249928, 0.62716996864472563], [-0.58819598049379784, 0.66852004194461201, 0.2288526553145778, -0.42037622363141802], [0.63372950634818903, -0.28456158205270227, -0.83925471679298702, 0.82323853130277036]]]]),self.functionspace)  0.082763923216648383, -0.9186726679964623], [0.22879532741857544, 0.88873834443256516, -0.6460156917085218,
2303        ref.setTaggedValue(1,numpy.array([[[[-0.7922788638802587, -0.58131273206650758, 0.35419997457204677, 0.43269339523533557], [0.16077019504627843, -0.26136619587032767, -0.2717801041319588, 0.80517116813142409], [-0.48669890367441787, -0.17379646734223228, -0.85554928623650983, 0.02434526948511468]], [[0.76049148507818254, -0.10995826825136522, -0.21353757558754721, 0.6643975773661932], [-0.78383350781641203, 0.096223761469512323, 0.68002321967749635, 0.055013271169189734], [-0.39362188890635275, 0.32414021741414439, -0.055214091716618015, -0.64024206118702287]]], [[[0.21925559830510608, -0.82184572092894992, 0.27695985703046838, 0.50196951342465679], [-0.1113826347533597, 0.31821431303695952, 0.24859888651553641, -0.41640977080576319], [-0.529550127485233, 0.028427936201476694, -0.18406054605449865, -0.34256455618068932]], [[-0.76837620461927925, -0.041531435233233507, 0.24244004525270926, -0.40749393704463055], [0.12632669307491484, -0.32200643464306078, 0.087223212458997279, 0.80183495203418254], [-0.75055890124545843, -0.68614907514510803, -0.23356768423031699, -0.45731045651454327]]], [[[0.31747575455096549, -0.79611051888015105, -0.46656877610427283, 0.86215367115592656], [-0.54997148383571326, -0.16070597095679115, 0.33896539655999053, -0.49387235854842304], [-0.12747914329332177, -0.046974084716469543, 0.19134418413787116, 0.62503480395792665]], [[0.17099972896719945, 0.65786816237694778, 0.60986228702803069, -0.50288420548380475], [-0.23549709409840283, 0.51014343520349259, -0.48352432826936798, -0.41631299634444258], [0.51580762123767132, -0.32154674383794962, 0.18280566664475825, -0.64709251706114546]]]]))  0.50707072708753076], [-0.85574843048667759, 0.13048715584708193, 0.091158129172832281, 0.63454010694221274]]],
2304    [[[0.49798676906348627, -0.41995469659039086, -0.8619692830136152, 0.77881512859705793], [-0.51658319603604896,
2305    0.18601507832343622, -0.60089917071352095, -0.073424975494905453], [0.7066612058208408, -0.55185334500944783,
2306    0.98469113369071448, 0.91181487543514006]], [[-0.90526882230635297, 0.41877801499814882, -0.70712825939913482,
2307    0.52092380106049263], [0.7429134538300437, -0.065130455928156028, -0.81701387372714773, -0.60985897601554462],
2308    [-0.16865226519561261, 0.80023403426297435, -0.2246960704302674, 0.92877365511449561]]], [[[-0.36169283925788798,
2309    0.39555153142368527, -0.17368624437806113, -0.40896134626473901], [-0.53743057368219005, 0.021434888874746871,
2310    0.70077039424781962, -0.20085919793665141], [-0.3811416572736479, -0.78608635139536576, 0.070021560317791165,
2311    0.88745239518175012]], [[0.0062806481764750011, -0.54939586202548507, -0.75924452358638095, -0.71445035757195274],
2312    [0.67005253694510314, -0.76155493229923099, -0.2607010373505485, 0.47887806863141891], [-0.72192275627094227,
2313    0.3241627217708194, 0.95604997446291562, -0.93780488936237871]]]]),self.functionspace)
2314          arg1.setTaggedValue(1,numpy.array([[[[0.90253670598918534, 0.6622113781747605, -0.40349237230191082,
2315    -0.49290936492532511], [-0.18314385107746212, 0.29773933930589047, 0.30960250376403842, -0.9172231735221823],
2316    [0.55443057407782259, 0.19798293037806203, 0.97461218494401169, -0.02773328979130163]], [[-0.86632562241244071,
2317    0.12526065978564493, 0.24325462771000939, -0.75685876309569977], [0.89291604817504222, -0.10961478423045268,
2318    -0.77465895490132164, -0.062669217633242846], [0.44840045495959702, -0.36924933560741136, 0.062897985461887407,
2319    0.72934163371395244]]], [[[-0.24976840161406355, 0.93621824791053077, -0.3155030992891581, -0.57182632505737918],
2320    [0.12688324888834468, -0.3624987500996808, -0.28319526163987341, 0.47435962262593634], [0.60324520759764799,
2321    -0.03238412264551993, 0.20967541419065894, 0.39023770571102112]], [[0.87530762247163385, 0.047311175975118358,
2322    -0.27617932248072607, 0.46420301287553922], [-0.14390700376373045, 0.36681860400354349, -0.099361669795139163,
2323    -0.91342267142103384], [0.85501076611242066, 0.78163731778232326, 0.26607223537218117, 0.52095227053719051]]],
2324    [[[-0.36165740979197047, 0.90690159496925093, 0.53149902830955553, -0.98213567204180197], [0.62650851112959649,
2325    0.18307068921386382, -0.38613766743348132, 0.56260232600471127], [0.14521983523173576, 0.053511254205649061,
2326    -0.21797268302248018, -0.71201805173745147]], [[-0.19479698265739032, -0.74942067915191224, -0.69473404470941214,
2327    0.5728683106456538], [0.26827015242668484, -0.58113777431295177, 0.55081420746802112, 0.47424938050346399],
2328    [-0.58759021932752709, 0.36629494012213359, -0.20824589892713941, 0.73714543634081298]]]]))
2329          res=outer(arg0,arg1)
2330          ref=Data(numpy.array([[[[-0.22337559417052838, 0.17868250761647439, 0.15424791840977314, 0.33742194125667568],
2331    [0.7899292171357698, 0.48730986251728653, -0.22867808631702261, 0.17953920953263658], [-0.060894742880110007,
2332    0.51687784950143367, -0.68168270128176822, -0.17883301976600272]], [[-0.69159315966555568, -0.66058740330769061,
2333    -0.07265311939251462, 0.80644358600391897], [-0.20084468683146592, -0.78016617068457716, 0.56709558168571605,
2334    -0.44512474329067286], [0.75120644930470404, -0.1145462726329616, -0.080021852336016608, -0.55702190468102486]]],
2335    [[[-0.43715052141685118, 0.36865118912936545, 0.75666733520519147, -0.68367165696752097], [0.45347512731518536,
2336    -0.16329066058002004, 0.52749069275549521, 0.064455058480731298], [-0.62033237383111828, 0.48443652021156114,
2337    -0.86439694640274434, -0.8004235714569693]], [[0.79467721288633253, -0.36761825612080862, 0.62074237009600863,
2338    -0.45728546499397266], [-0.6521558882380557, 0.057173833800152431, 0.71720387587062873, 0.53535592894829409],
2339    [0.1480489648490963, -0.70247393518395296, 0.19724621305427995, -0.81531059223739222]]], [[[0.31750685579794941,
2340    -0.34722922164033182, 0.15246797105793072, 0.35900083469120536], [0.47177569788119322, -0.018816308846376761,
2341    -0.61516120963421106, 0.17632135744189562], [0.3345797209114541, 0.69005459530059376, -0.061467419427445803,
2342    -0.77903731863381565]], [[-0.0055133766512415481, 0.48227925412629408, 0.66649188289249928, 0.62716996864472563],
2343    [-0.58819598049379784, 0.66852004194461201, 0.2288526553145778, -0.42037622363141802], [0.63372950634818903,
2344    -0.28456158205270227, -0.83925471679298702, 0.82323853130277036]]]]),self.functionspace)
2345          ref.setTaggedValue(1,numpy.array([[[[-0.7922788638802587, -0.58131273206650758, 0.35419997457204677,
2346    0.43269339523533557], [0.16077019504627843, -0.26136619587032767, -0.2717801041319588, 0.80517116813142409],
2347    [-0.48669890367441787, -0.17379646734223228, -0.85554928623650983, 0.02434526948511468]], [[0.76049148507818254,
2348    -0.10995826825136522, -0.21353757558754721, 0.6643975773661932], [-0.78383350781641203, 0.096223761469512323,
2349    0.68002321967749635, 0.055013271169189734], [-0.39362188890635275, 0.32414021741414439, -0.055214091716618015,
2350    -0.64024206118702287]]], [[[0.21925559830510608, -0.82184572092894992, 0.27695985703046838, 0.50196951342465679],
2351    [-0.1113826347533597, 0.31821431303695952, 0.24859888651553641, -0.41640977080576319], [-0.529550127485233,
2352    0.028427936201476694, -0.18406054605449865, -0.34256455618068932]], [[-0.76837620461927925, -0.041531435233233507,
2353    0.24244004525270926, -0.40749393704463055], [0.12632669307491484, -0.32200643464306078, 0.087223212458997279,
2354    0.80183495203418254], [-0.75055890124545843, -0.68614907514510803, -0.23356768423031699, -0.45731045651454327]]],
2355    [[[0.31747575455096549, -0.79611051888015105, -0.46656877610427283, 0.86215367115592656], [-0.54997148383571326,
2356    -0.16070597095679115, 0.33896539655999053, -0.49387235854842304], [-0.12747914329332177, -0.046974084716469543,
2357    0.19134418413787116, 0.62503480395792665]], [[0.17099972896719945, 0.65786816237694778, 0.60986228702803069,
2358    -0.50288420548380475], [-0.23549709409840283, 0.51014343520349259, -0.48352432826936798, -0.41631299634444258],
2359    [0.51580762123767132, -0.32154674383794962, 0.18280566664475825, -0.64709251706114546]]]]))
2360        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2361        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")        self.assertEqual(res.getShape(),(3, 2, 3, 4),"wrong shape of result.")
2362        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
# Line 884  class Test_util_binary_with_tagged_data( Line 2384  class Test_util_binary_with_tagged_data(
2384        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2385     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2386     def test_outer_taggedData_rank2_float_rank0(self):     def test_outer_taggedData_rank2_float_rank0(self):
2387        arg0=Data(numpy.array([[0.74001164946818787, 0.9360901483385109, 0.8095118386905078, 0.1792360871576264, -0.37371368090282187], [-0.41133210708840995, 0.93687006109657056, -0.62934203257624377, 0.2912861007456633, -0.77730023566932838], [0.67831364406596162, 0.75531690073737123, 0.52706593291064108, 0.41234743896167592, 0.99067176687556446], [0.57596641179834562, -0.28270758180509192, -0.83743456620344237, -0.88615148782239439, -0.24244641683446178]]),self.functionspace)        arg0=Data(numpy.array([[0.74001164946818787, 0.9360901483385109, 0.8095118386905078, 0.1792360871576264,
2388        arg0.setTaggedValue(1,numpy.array([[-0.45368650327869764, -0.82531813814898336, 0.19999740878467831, 0.14514403691181776, 0.2826360842507305], [0.63997848064942775, 0.50401728156189241, 0.010710001558258631, -0.86172497702587814, -0.72338097151438174], [0.052611022475992142, 0.93665531577212424, 0.48274652992628497, -0.21684654240657109, -0.39304259734224845], [-0.45992489113885804, -0.73809783999666556, -0.14163459479975815, -0.77901202180262974, -0.95924184229460407]]))  -0.37371368090282187], [-0.41133210708840995, 0.93687006109657056, -0.62934203257624377, 0.2912861007456633,
2389    -0.77730023566932838], [0.67831364406596162, 0.75531690073737123, 0.52706593291064108, 0.41234743896167592,
2390    0.99067176687556446], [0.57596641179834562, -0.28270758180509192, -0.83743456620344237, -0.88615148782239439,
2391    -0.24244641683446178]]),self.functionspace)
2392          arg0.setTaggedValue(1,numpy.array([[-0.45368650327869764, -0.82531813814898336, 0.19999740878467831, 0.14514403691181776,
2393    0.2826360842507305], [0.63997848064942775, 0.50401728156189241, 0.010710001558258631, -0.86172497702587814,
2394    -0.72338097151438174], [0.052611022475992142, 0.93665531577212424, 0.48274652992628497, -0.21684654240657109,
2395    -0.39304259734224845], [-0.45992489113885804, -0.73809783999666556, -0.14163459479975815, -0.77901202180262974,
2396    -0.95924184229460407]]))
2397        arg1=0.64284665619        arg1=0.64284665619
2398        res=outer(arg0,arg1)        res=outer(arg0,arg1)
2399        ref=Data(numpy.array([[0.47571401440263617, 0.60176242175227479, 0.52039197864881115, 0.11522131929794799, -0.24024059014102014], [-0.26442346962557434, 0.6022637860609138, -0.40457042124176695, 0.18725229585911687, -0.49968485735611035], [0.43605165793619205, 0.48555294400318599, 0.3388225725635286, 0.26507617232522701, 0.63685003271828478], [0.37025808190260329, -0.18173762364310375, -0.53834201066221943, -0.56965952082485705, -0.15585586836740034]]),self.functionspace)        ref=Data(numpy.array([[0.47571401440263617, 0.60176242175227479, 0.52039197864881115, 0.11522131929794799,
2400        ref.setTaggedValue(1,numpy.array([[-0.29165085159146814, -0.53055300540243777, 0.12856766548399368, 0.093305358794751617, 0.18169166167935671], [0.41140802631935708, 0.32400582411428502, 0.0068848886895215358, -0.5539570200369156, -0.46502303868985095], [0.033820819877454451, 0.60212573774716094, 0.31033199255067628, -0.13939907469253426, -0.25266611944189099], [-0.29566117836739164, -0.47448372838328234, -0.091049325667919984, -0.50078527334801637, -0.61664541079709501]]))  -0.24024059014102014], [-0.26442346962557434, 0.6022637860609138, -0.40457042124176695, 0.18725229585911687,
2401    -0.49968485735611035], [0.43605165793619205, 0.48555294400318599, 0.3388225725635286, 0.26507617232522701,
2402    0.63685003271828478], [0.37025808190260329, -0.18173762364310375, -0.53834201066221943, -0.56965952082485705,
2403    -0.15585586836740034]]),self.functionspace)
2404          ref.setTaggedValue(1,numpy.array([[-0.29165085159146814, -0.53055300540243777, 0.12856766548399368, 0.093305358794751617,
2405    0.18169166167935671], [0.41140802631935708, 0.32400582411428502, 0.0068848886895215358, -0.5539570200369156,
2406    -0.46502303868985095], [0.033820819877454451, 0.60212573774716094, 0.31033199255067628, -0.13939907469253426,
2407    -0.25266611944189099], [-0.29566117836739164, -0.47448372838328234, -0.091049325667919984, -0.50078527334801637,
2408    -0.61664541079709501]]))
2409        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2410        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")        self.assertEqual(res.getShape(),(4, 5),"wrong shape of result.")
2411        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2412     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2413     def test_outer_taggedData_rank3_float_rank0(self):     def test_outer_taggedData_rank3_float_rank0(self):
2414        arg0=Data(numpy.array([[[-0.60362853463017441, 0.26897113785785609], [0.87598660929647987, -0.4800318763472875]], [[-0.18409999891466677, -0.19323328103129134], [-0.84043371555949475, -0.23603874245702294]], [[-0.84596123475340468, 0.55921725192273697], [0.7151829360345987, 0.38093163549763931]], [[-0.62952125942054971, -0.89321681334745517], [0.02942069160828864, -0.42788376418105645]], [[-0.54656251209708762, -0.95305821496554688], [-0.57047844126940084, -0.3561363690686743]], [[-0.52122933500507251, 0.89419632178942932], [0.18208312922040437, 0.039265010085506757]]]),self.functionspace)        arg0=Data(numpy.array([[[-0.60362853463017441, 0.26897113785785609], [0.87598660929647987, -0.4800318763472875]],
2415        arg0.setTaggedValue(1,numpy.array([[[0.88157372500980569, 0.8526319158736928], [-0.93828833533952882, 0.47470523361401318]], [[0.49929024879343409, -0.53599752054046856], [-0.11754832818267125, 0.53061395418813473]], [[-0.038566705661979173, -0.25000026676217524], [-0.72002652652865806, 0.60358740815858325]], [[0.1872569919873035, -0.21509754962272587], [0.77510537241581012, -0.038640025246995169]], [[-0.76854479893497096, -0.79818264865015065], [0.59848370586099375, -0.65628786729704847]], [[-0.2092043351981494, 0.87193152347247072], [-0.9383569171363253, 0.49729309923447351]]]))  [[-0.18409999891466677, -0.19323328103129134], [-0.84043371555949475, -0.23603874245702294]], [[-0.84596123475340468,
2416    0.55921725192273697], [0.7151829360345987, 0.38093163549763931]], [[-0.62952125942054971, -0.89321681334745517],
2417    [0.02942069160828864, -0.42788376418105645]], [[-0.54656251209708762, -0.95305821496554688], [-0.57047844126940084,
2418    -0.3561363690686743]], [[-0.52122933500507251, 0.89419632178942932], [0.18208312922040437,
2419    0.039265010085506757]]]),self.functionspace)
2420          arg0.setTaggedValue(1,numpy.array([[[0.88157372500980569, 0.8526319158736928], [-0.93828833533952882,
2421    0.47470523361401318]], [[0.49929024879343409, -0.53599752054046856], [-0.11754832818267125, 0.53061395418813473]],
2422    [[-0.038566705661979173, -0.25000026676217524], [-0.72002652652865806, 0.60358740815858325]], [[0.1872569919873035,
2423    -0.21509754962272587], [0.77510537241581012, -0.038640025246995169]], [[-0.76854479893497096, -0.79818264865015065],
2424    [0.59848370586099375, -0.65628786729704847]], [[-0.2092043351981494, 0.87193152347247072], [-0.9383569171363253,
2425    0.49729309923447351]]]))
2426        arg1=0.220499765032        arg1=0.220499765032
2427        res=outer(arg0,arg1)        res=outer(arg0,arg1)
2428        ref=Data(numpy.array([[[-0.13309995005239261, 0.059308072697970615], [0.19315484152080359, -0.10584691594231074]], [[-0.040594006503023229, -0.042607893063707325], [-0.18531543680560081, -0.052046487250155336]], [[-0.18653425348906624, 0.12330727265064555], [0.15769766935032192, 0.083995336120376823]], [[-0.13880928978470128, -0.19695409746549217], [0.0064872555866982299, -0.094348269462809206]], [[-0.12051690549255237, -0.21014911246144996], [-0.12579036225556259, -0.078527985698891245]], [[-0.11493094589625617, 0.19717007884679405], [0.040149287209338781, 0.0086579254978222074]]]),self.functionspace)        ref=Data(numpy.array([[[-0.13309995005239261, 0.059308072697970615], [0.19315484152080359, -0.10584691594231074]],
2429        ref.setTaggedValue(1,numpy.array([[[0.19438679922279695, 0.18800513710869127], [-0.20689235747436624, 0.10467239247121585]], [[0.11009338254157934, -0.1181873273367558], [-0.025919378744150075, 0.11700025222103354]], [[-0.0085039495365137659, -0.055125000078926012], [-0.15876567991617188, 0.13309088167507019]], [[0.041290122733746382, -0.047428959150708973], [0.170910552492507, -0.0085201164877820156]], [[-0.16946394758150868, -0.1759990864797511], [0.13196551651765986, -0.14471132053216532]], [[-0.046129506754808342, 0.19226069604942614], [-0.20690747974444532, 0.10965301153309534]]]))  [[-0.040594006503023229, -0.042607893063707325], [-0.18531543680560081, -0.052046487250155336]], [[-0.18653425348906624,
2430    0.12330727265064555], [0.15769766935032192, 0.083995336120376823]], [[-0.13880928978470128, -0.19695409746549217],
2431    [0.0064872555866982299, -0.094348269462809206]], [[-0.12051690549255237, -0.21014911246144996], [-0.12579036225556259,
2432    -0.078527985698891245]], [[-0.11493094589625617, 0.19717007884679405], [0.040149287209338781,
2433    0.0086579254978222074]]]),self.functionspace)
2434          ref.setTaggedValue(1,numpy.array([[[0.19438679922279695, 0.18800513710869127], [-0.20689235747436624,
2435    0.10467239247121585]], [[0.11009338254157934, -0.1181873273367558], [-0.025919378744150075, 0.11700025222103354]],
2436    [[-0.0085039495365137659, -0.055125000078926012], [-0.15876567991617188, 0.13309088167507019]], [[0.041290122733746382,
2437    -0.047428959150708973], [0.170910552492507, -0.0085201164877820156]], [[-0.16946394758150868, -0.1759990864797511],
2438    [0.13196551651765986, -0.14471132053216532]], [[-0.046129506754808342, 0.19226069604942614], [-0.20690747974444532,
2439    0.10965301153309534]]]))
2440        self.assertTrue(isinstance(res,Data),"wrong type of result.")        self.assertTrue(isinstance(res,Data),"wrong type of result.")
2441        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")        self.assertEqual(res.getShape(),(6, 2, 2),"wrong shape of result.")
2442        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.assertTrue(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
2443     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2444     def test_outer_taggedData_rank4_float_rank0(self):     def test_outer_taggedData_rank4_float_rank0(self):
2445        arg0=Data(numpy.array([[[[-0.35424636742508286, 0.74292550644012367, -0.53013700582339607, 0.31421154621612013], [-0.50957114210754484, -0.015447676316541425, 0.91458628405919895, 0.37155822464168686], [0.31474444285829772, -0.513780001703948, -0.75358460263266669, -0.97756498824910643]], [[-0.52843907007903757, 0.656061634