/[escript]/trunk-mpi-branch/escript/test/python/test_util_spatial_functions.py
ViewVC logotype

Diff of /trunk-mpi-branch/escript/test/python/test_util_spatial_functions.py

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

revision 1276 by gross, Fri Aug 24 05:30:41 2007 UTC revision 1277 by gross, Mon Aug 27 04:15:51 2007 UTC
# Line 35785  class Test_Util_SpatialFunctions_noGradO Line 35785  class Test_Util_SpatialFunctions_noGradO
35785        """        """
35786        tests gradient for rank 0 Data on the ReducedFunction        tests gradient for rank 0 Data on the ReducedFunction
35787    
35788        assumptions: ReducedContinuousFunction_(self.domain) exists        assumptions: ReducedContinuousFunction(self.domain) exists
35789                     self.domain supports gardient on ReducedFunction                     self.domain supports gardient on ReducedFunction
35790        """        """
35791        o=1        o=1
35792        dim=self.domain.getDim()        dim=self.domain.getDim()
35793        w_ref=ReducedFunction(self.domain)        w_ref=ReducedFunction(self.domain)
35794        x_ref=w_ref.getX()        x_ref=w_ref.getX()
35795        w=ReducedContinuousFunction_(self.domain)        w=ReducedContinuousFunction(self.domain)
35796        x=w.getX()        x=w.getX()
35797        arg=Data(0,(),w)        arg=Data(0,(),w)
35798        ref=Data(0,()+(dim,),w_ref)        ref=Data(0,()+(dim,),w_ref)
# Line 35814  class Test_Util_SpatialFunctions_noGradO Line 35814  class Test_Util_SpatialFunctions_noGradO
35814        """        """
35815        tests gradient for rank 1 Data on the ReducedFunction        tests gradient for rank 1 Data on the ReducedFunction
35816    
35817        assumptions: ReducedContinuousFunction_(self.domain) exists        assumptions: ReducedContinuousFunction(self.domain) exists
35818                     self.domain supports gardient on ReducedFunction                     self.domain supports gardient on ReducedFunction
35819        """        """
35820        o=1        o=1
35821        dim=self.domain.getDim()        dim=self.domain.getDim()
35822        w_ref=ReducedFunction(self.domain)        w_ref=ReducedFunction(self.domain)
35823        x_ref=w_ref.getX()        x_ref=w_ref.getX()
35824        w=ReducedContinuousFunction_(self.domain)        w=ReducedContinuousFunction(self.domain)
35825        x=w.getX()        x=w.getX()
35826        arg=Data(0,(2,),w)        arg=Data(0,(2,),w)
35827        ref=Data(0,(2,)+(dim,),w_ref)        ref=Data(0,(2,)+(dim,),w_ref)
# Line 35850  class Test_Util_SpatialFunctions_noGradO Line 35850  class Test_Util_SpatialFunctions_noGradO
35850        """        """
35851        tests gradient for rank 2 Data on the ReducedFunction        tests gradient for rank 2 Data on the ReducedFunction
35852    
35853        assumptions: ReducedContinuousFunction_(self.domain) exists        assumptions: ReducedContinuousFunction(self.domain) exists
35854                     self.domain supports gardient on ReducedFunction                     self.domain supports gardient on ReducedFunction
35855        """        """
35856        o=1        o=1
35857        dim=self.domain.getDim()        dim=self.domain.getDim()
35858        w_ref=ReducedFunction(self.domain)        w_ref=ReducedFunction(self.domain)
35859        x_ref=w_ref.getX()        x_ref=w_ref.getX()
35860        w=ReducedContinuousFunction_(self.domain)        w=ReducedContinuousFunction(self.domain)
35861        x=w.getX()        x=w.getX()
35862        arg=Data(0,(4, 5),w)        arg=Data(0,(4, 5),w)
35863        ref=Data(0,(4, 5)+(dim,),w_ref)        ref=Data(0,(4, 5)+(dim,),w_ref)
# Line 36012  class Test_Util_SpatialFunctions_noGradO Line 36012  class Test_Util_SpatialFunctions_noGradO
36012        """        """
36013        tests gradient for rank 3 Data on the ReducedFunction        tests gradient for rank 3 Data on the ReducedFunction
36014    
36015        assumptions: ReducedContinuousFunction_(self.domain) exists        assumptions: ReducedContinuousFunction(self.domain) exists
36016                     self.domain supports gardient on ReducedFunction                     self.domain supports gardient on ReducedFunction
36017        """        """
36018        o=1        o=1
36019        dim=self.domain.getDim()        dim=self.domain.getDim()
36020        w_ref=ReducedFunction(self.domain)        w_ref=ReducedFunction(self.domain)
36021        x_ref=w_ref.getX()        x_ref=w_ref.getX()
36022        w=ReducedContinuousFunction_(self.domain)        w=ReducedContinuousFunction(self.domain)
36023        x=w.getX()        x=w.getX()
36024        arg=Data(0,(6, 2, 2),w)        arg=Data(0,(6, 2, 2),w)
36025        ref=Data(0,(6, 2, 2)+(dim,),w_ref)        ref=Data(0,(6, 2, 2)+(dim,),w_ref)
# Line 77836  class Test_Util_SpatialFunctions_noGradO Line 77836  class Test_Util_SpatialFunctions_noGradO
77836        dim=self.domain.getDim()        dim=self.domain.getDim()
77837        w_ref=ReducedSolution(self.domain)        w_ref=ReducedSolution(self.domain)
77838        x_ref=w_ref.getX()        x_ref=w_ref.getX()
77839        w=ReducedReducedContinuousFunction(self.domain)        w=ReducedContinuousFunction(self.domain)
77840        x=w.getX()        x=w.getX()
77841        arg=Symbol(shape=(),dim=dim)        arg=Symbol(shape=(),dim=dim)
77842        s=Data(0,(),w)        s=Data(0,(),w)

Legend:
Removed from v.1276  
changed lines
  Added in v.1277

  ViewVC Help
Powered by ViewVC 1.1.26