(self, *args)
return simplify(coords[self._index]).doit()
Evaluating the field at a point or doing nothing.

        If the argument is a ``Point`` instance, the field is evaluated at that
        point. The field is returned itself if the argument is any other
        object. It is so in order to have working recursive calling mechanics
        for all fields (check the ``__call__`` method of ``Expr``).
Evaluating the field at a point or doing nothing.
Evaluating the field at a point or doing nothing .
def __call__(self, *args):
        """Evaluating the field at a point or doing nothing.

        If the argument is a ``Point`` instance, the field is evaluated at that
        point. The field is returned itself if the argument is any other
        object. It is so in order to have working recursive calling mechanics
        for all fields (check the ``__call__`` method of ``Expr``).
        """
        point = args[0]
        if len(args) != 1 or not isinstance(point, Point):
            return self
        coords = point.coords(self._coord_sys)
        # XXX Calling doit  is necessary with all the Subs expressions
        # XXX Calling simplify is necessary with all the trig expressions
        return simplify(coords[self._index]).doit()
def __call__ ( self , * args ) : point = args [ 0 ] if len ( args ) != 1 or not isinstance ( point , Point ) : return self coords = point . coords ( self . _coord_sys ) # XXX Calling doit  is necessary with all the Subs expressions # XXX Calling simplify is necessary with all the trig expressions return simplify ( coords [ self . _index ] ) . doit ( )