@@ -79,16 +79,15 @@ def entity_definition(self):
7979            desc  +=  ['vertex' , 'edge' , 'face' , 'volume' ][self .entity [0 ]]
8080            return  desc 
8181
82+     def  dof_direction (self ):
83+         """Get the direction of the DOF.""" 
84+         return  None 
85+ 
8286    @abstractmethod  
8387    def  dof_point (self ):
8488        """Get the location of the DOF in the cell.""" 
8589        pass 
8690
87-     @abstractmethod  
88-     def  dof_direction (self ):
89-         """Get the direction of the DOF.""" 
90-         pass 
91- 
9291    @abstractmethod  
9392    def  eval (self , fun , symbolic = True ):
9493        """Apply to the functional to a function.""" 
@@ -196,10 +195,6 @@ def dof_point(self):
196195        """Get the location of the DOF in the cell.""" 
197196        return  self .point 
198197
199-     def  dof_direction (self ):
200-         """Get the direction of the DOF.""" 
201-         return  None 
202- 
203198    def  perform_mapping (self , fs , map , inverse_map , tdim ):
204199        """Map functions to a cell.""" 
205200        if  self .mapping  is  not None :
@@ -316,10 +311,6 @@ def dof_point(self):
316311        """Get the location of the DOF in the cell.""" 
317312        return  self .point 
318313
319-     def  dof_direction (self ):
320-         """Get the direction of the DOF.""" 
321-         return  None 
322- 
323314    def  get_tex (self ):
324315        """Get a representation of the functional as TeX, and list of terms involved.""" 
325316        desc  =  "v\\ mapsto" 
@@ -446,10 +437,6 @@ def dof_point(self):
446437        """Get the location of the DOF in the cell.""" 
447438        return  tuple (sympy .Rational (sum (i ), len (i )) for  i  in  zip (* self .integral_domain .vertices ))
448439
449-     def  dof_direction (self ):
450-         """Get the direction of the DOF.""" 
451-         return  None 
452- 
453440    def  eval (self , function , symbolic = True ):
454441        """Apply the functional to a function.""" 
455442        point  =  [i  for  i  in  self .integral_domain .origin ]
@@ -502,10 +489,6 @@ def dof_point(self):
502489        """Get the location of the DOF in the cell.""" 
503490        return  tuple (sympy .Rational (sum (i ), len (i )) for  i  in  zip (* self .integral_domain .vertices ))
504491
505-     def  dof_direction (self ):
506-         """Get the direction of the DOF.""" 
507-         return  None 
508- 
509492    def  eval (self , function , symbolic = True ):
510493        """Apply the functional to a function.""" 
511494        point  =  [i  for  i  in  self .integral_domain .origin ]
@@ -552,10 +535,6 @@ def dof_point(self):
552535        """Get the location of the DOF in the cell.""" 
553536        return  tuple (sympy .Rational (sum (i ), len (i )) for  i  in  zip (* self .integral_domain .vertices ))
554537
555-     def  dof_direction (self ):
556-         """Get the direction of the DOF.""" 
557-         return  None 
558- 
559538    def  eval (self , function , symbolic = True ):
560539        """Apply the functional to a function.""" 
561540        for  dir , o  in  zip (self .directions , self .orders ):
0 commit comments