From e566ed25836a36c98d36e9959af19f5f7a5a62d5 Mon Sep 17 00:00:00 2001
From: David Seus <david.seus@ians.uni-stuttgart.de>
Date: Tue, 30 Apr 2019 11:09:20 +0200
Subject: [PATCH] debug _init_exact_solution_expression
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
---
 LDDsimulation/LDDsimulation.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/LDDsimulation/LDDsimulation.py b/LDDsimulation/LDDsimulation.py
index ede0b8a..662d5c4 100644
--- a/LDDsimulation/LDDsimulation.py
+++ b/LDDsimulation/LDDsimulation.py
@@ -1050,17 +1050,7 @@ class LDDsimulation(object):
                 subdomain.pressure_exact = dict()
                 for phase in subdomain.has_phases:
                     print(f"initialising exact solutions for subdomain{subdomain.subdomain_index} and phase {phase}")
-                    # if np.abs(self.t-self.starttime) < self.calc_tol:
-                    #     # here t = 0 and we have to initialise the sources.
-
-                    # p0 contains both pw_0 and pnw_0 for subdomain[subdomain_index]
-                    # print(f"subdomain{subdomain.subdomain_index} has phases = {subdomain.has_phases}")
                     pa_exact = self.exact_solution[sd_ind][phase]
-                    # self.exact_solution_expr.update({sd_ind: dict()})
-                    # note that the default interpolation degree is 2
-                    # self.exact_solution_expr[sd_ind].update(
-                    #     {phase: df.Expression(pa_exact, domain = mesh, degree=self.interpolation_degree, t=self.starttime) }
-                    #     )
                     subdomain.pressure_exact.update(
                         {phase: df.Expression(pa_exact, domain = mesh, degree=self.interpolation_degree, t=self.starttime) }
                         )
-- 
GitLab