Exemplo n.º 1
0
Arquivo: fem.py Projeto: inducer/tsfc
    def __init__(self, interface, **kwargs):
        ProxyKernelInterface.__init__(self, interface)

        invalid_keywords = set(kwargs.keys()) - set(self.keywords)
        if invalid_keywords:
            raise ValueError("unexpected keyword argument '{0}'".format(invalid_keywords.pop()))
        self.__dict__.update(kwargs)
Exemplo n.º 2
0
    def __init__(self, interface, **kwargs):
        ProxyKernelInterface.__init__(self, interface)

        invalid_keywords = set(kwargs.keys()) - set(self.keywords)
        if invalid_keywords:
            raise ValueError("unexpected keyword argument '{0}'".format(invalid_keywords.pop()))
        self.__dict__.update(kwargs)
Exemplo n.º 3
0
Arquivo: fem.py Projeto: knut0815/tsfc
 def __init__(self, wrapee, restriction):
     ProxyKernelInterface.__init__(self, wrapee)
     self.restriction = restriction
Exemplo n.º 4
0
Arquivo: fem.py Projeto: inducer/tsfc
 def __init__(self, wrapee, restriction):
     ProxyKernelInterface.__init__(self, wrapee)
     self.restriction = restriction