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

        self._ref_to_vc = vc
Esempio n. 2
0
    def __init__(self, vc, attr):
        """__init__(mfem::VectorRestrictedCoefficient self, VectorCoefficient vc, intArray attr) -> VectorRestrictedCoefficient"""
        this = _coefficient.new_VectorRestrictedCoefficient(vc, attr)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

        self._ref_to_vc = vc