Exemplo n.º 1
0
            def __init__(self, V, **kwargs):
                # Call the parent initialization
                ParametrizedDifferentialProblem_DerivedClass.__init__(
                    self, V, **kwargs)

                # Store values passed to decorator
                self._store_exact_evaluation_stages(stages)

                # Generate offline online backend for current problem
                self.offline_online_backend = OfflineOnlineBackend(self.name())
Exemplo n.º 2
0
 def __init__(self, V, **kwargs):
     # Call the parent initialization
     ParametrizedDifferentialProblem_DerivedClass.__init__(self, V, **kwargs)
     # Storage for EIM reduced problems
     self.separated_forms = dict() # from terms to AffineExpansionSeparatedFormsStorage
     self.EIM_approximations = dict() # from coefficients to EIMApproximation
     
     # Store value of N_EIM passed to solve
     self._N_EIM = None
     # Store values passed to decorator
     self._store_EIM_stages(stages)
     # Avoid useless assignments
     self._update_N_EIM__previous_kwargs = None
     
     # Generate offline online backend for current problem
     self.offline_online_backend = OfflineOnlineBackend(self.name())
Exemplo n.º 3
0
            def __init__(self, V, **kwargs):
                # Call the parent initialization
                ParametrizedDifferentialProblem_DerivedClass.__init__(
                    self, V, **kwargs)
                # Storage for symbolic parameters
                self.mu_symbolic = None
                # Storage for DEIM reduced problems
                self.DEIM_approximations = dict(
                )  # from term to dict of DEIMApproximation
                self.non_DEIM_forms = dict()  # from term to dict of forms

                # Store value of N_DEIM passed to solve
                self._N_DEIM = None
                # Store values passed to decorator
                self._store_DEIM_stages(stages)
                # Avoid useless assignments
                self._update_N_DEIM__previous_kwargs = None

                # Generate offline online backend for current problem
                self.offline_online_backend = OfflineOnlineBackend(self.name())