Exemplo n.º 1
0
    def __init__(self, integ, sol, flux_fes, own_flux_fes=False):
        r"""__init__(ZienkiewiczZhuEstimator self, BilinearFormIntegrator integ, GridFunction sol, FiniteElementSpace flux_fes, bool own_flux_fes=False) -> ZienkiewiczZhuEstimator"""

        if own_flux_fes: flux_fes.thisown=0


        _estimators.ZienkiewiczZhuEstimator_swiginit(self, _estimators.new_ZienkiewiczZhuEstimator(integ, sol, flux_fes, own_flux_fes))
Exemplo n.º 2
0
    def __init__(self, integ, sol, flux_fes, own_flux_fes=False):

        if own_flux_fes: flux_fes.thisown=0


        this = _estimators.new_ZienkiewiczZhuEstimator(integ, sol, flux_fes, own_flux_fes)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
Exemplo n.º 3
0
    def __init__(self, integ, sol, flux_fes, own_flux_fes=False):
        """
        __init__(mfem::ZienkiewiczZhuEstimator self, BilinearFormIntegrator integ, GridFunction sol, FiniteElementSpace flux_fes, bool own_flux_fes=False) -> ZienkiewiczZhuEstimator
        __init__(mfem::ZienkiewiczZhuEstimator self, BilinearFormIntegrator integ, GridFunction sol, FiniteElementSpace flux_fes) -> ZienkiewiczZhuEstimator
        """

        if own_flux_fes: flux_fes.thisown = 0

        this = _estimators.new_ZienkiewiczZhuEstimator(integ, sol, flux_fes,
                                                       own_flux_fes)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this