Пример #1
0
    def __init__(self, mc, attr):
        this = _coefficient.new_MatrixRestrictedCoefficient(mc, attr)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

        self._ref_to_mc = mc
Пример #2
0
    def __init__(self, mc, attr):
        """__init__(mfem::MatrixRestrictedCoefficient self, MatrixCoefficient mc, intArray attr) -> MatrixRestrictedCoefficient"""
        this = _coefficient.new_MatrixRestrictedCoefficient(mc, attr)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

        self._ref_to_mc = mc