Example #1
0
File: fem.py Project: 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)
Example #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)
Example #3
0
File: fem.py Project: knut0815/tsfc
 def __init__(self, wrapee, restriction):
     ProxyKernelInterface.__init__(self, wrapee)
     self.restriction = restriction
Example #4
0
File: fem.py Project: inducer/tsfc
 def __init__(self, wrapee, restriction):
     ProxyKernelInterface.__init__(self, wrapee)
     self.restriction = restriction