Esempio n. 1
0
    def __init__(self, _c, attr):
        this = _coefficient.new_RestrictedCoefficient(_c, attr)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

        self._ref_to_c = _c
Esempio n. 2
0
    def __init__(self, _c, attr):
        """__init__(mfem::RestrictedCoefficient self, Coefficient _c, intArray attr) -> RestrictedCoefficient"""
        this = _coefficient.new_RestrictedCoefficient(_c, attr)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

        self._ref_to_c = _c