src/MOIRA.py
def function(self, time, **kwargs):
        '''
        The function assigned to the dependent variable name. It has the following form exp(alpha tn) exp(ikx) exp(iky) ...

        Parameters:
            time (symbolic expression): time step at which we are applying this function ex: n, n+1, n-1, ..., <timeIndex\> + number.
            kwargs (symbolic expression): the stencil points at which we are applying this function ex: x=i+3, y=j+1, ..., <independentVar\> = <spatialIndex\> + number

        Returns:
            symbolic expression of this function applied at time index and points

        Examples:
            >>> <DE>.<dependentVar>(time=n+1, x=i+1, y=j)
        '''
        keys = list(kwargs.keys())
        expression = exp(self.t['ampFactor'] * (self.t['sym'] + (time - self.t['index']) * self.t['variation']))
        for var in keys:
            expression *= exp(1j * self.vars[var]['waveNum'] * (
                    self.vars[var]['sym'] + (kwargs[var] - self.vars[var]['index']) * self.vars[var]['variation']))
        return expression

        The function assigned to the dependent variable name. It has the following form exp(alpha tn) exp(ikx) exp(iky) ...

        Parameters:
            time (symbolic expression): time step at which we are applying this function ex: n, n+1, n-1, ..., <timeIndex\> + number.
            kwargs (symbolic expression): the stencil points at which we are applying this function ex: x=i+3, y=j+1, ..., <independentVar\> = <spatialIndex\> + number

        Returns:
            symbolic expression of this function applied at time index and points

        Examples:
            >>> <DE>.<dependentVar>(time=n+1, x=i+1, y=j)
        
The function assigned to the dependent variable name.
The function assigned to the dependent variable name .
def function(self, time, **kwargs):
        keys = list(kwargs.keys())
        expression = exp(self.t['ampFactor'] * (self.t['sym'] + (time - self.t['index']) * self.t['variation']))
        for var in keys:
            expression *= exp(1j * self.vars[var]['waveNum'] * (
                    self.vars[var]['sym'] + (kwargs[var] - self.vars[var]['index']) * self.vars[var]['variation']))
        return expression
def function ( self , time , ** kwargs ) : keys = list ( kwargs . keys ( ) ) expression = exp ( self . t [ 'ampFactor' ] * ( self . t [ 'sym' ] + ( time - self . t [ 'index' ] ) * self . t [ 'variation' ] ) ) for var in keys : expression *= exp ( 1j * self . vars [ var ] [ 'waveNum' ] * ( self . vars [ var ] [ 'sym' ] + ( kwargs [ var ] - self . vars [ var ] [ 'index' ] ) * self . vars [ var ] [ 'variation' ] ) ) return expression
The function assigned to the dependent variable name.
The function assigned to the dependent variable name .
'''
        The function assigned to the dependent variable name. It has the following form exp(alpha tn) exp(ikx) exp(iky) ...

        Parameters:
            time (symbolic expression): time step at which we are applying this function ex: n, n+1, n-1, ..., <timeIndex\> + number.
            kwargs (symbolic expression): the stencil points at which we are applying this function ex: x=i+3, y=j+1, ..., <independentVar\> = <spatialIndex\> + number

        Returns:
            symbolic expression of this function applied at time index and points

        Examples:
            >>> <DE>.<dependentVar>(time=n+1, x=i+1, y=j)
        '''
symbolic expression of this function applied at time index and points
symbolic expression of this function applied at time index and points
self
time
time step at which we are applying this function ex: n, n+1, n-1, ...,  + number.
time step at which we are applying this function ex : n n + 1 n - 1 ... + number .
kwargs
the stencil points at which we are applying this function ex: x=i+3, y=j+1, ...,  =  + number
the stencil points at which we are applying this function ex : x = i + 3 y = j + 1 ... = + number
examples
None