From af74a20f5fdb4675ea125340fd42cc9224f3f0c8 Mon Sep 17 00:00:00 2001 From: Lars Hubatsch <hubatsch@pks.mpg.de> Date: Mon, 7 Sep 2020 09:15:52 +0200 Subject: [PATCH] Parallel fenics works on z2-94. Performance: email to Hubert. --- test_par.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_par.py b/test_par.py index 49d33b9..94ceb5b 100644 --- a/test_par.py +++ b/test_par.py @@ -7,7 +7,7 @@ # The resulting .pvd file can be opened using default settings in ParaView import matplotlib.pyplot as plt -import mshr as ms +#import mshr as ms import numpy as np from scipy.optimize import curve_fit import time @@ -49,7 +49,7 @@ parameters["form_compiler"]["optimize"] = True parameters["form_compiler"]["cpp_optimize"] = True # mesh = Mesh('Meshes/te.xdmf') mesh = Mesh() -with XDMFFile("/Users/hubatsch/Desktop/frap_theory/Meshes/box_with_sphere.xdmf") as infile: +with XDMFFile("/home/hubatsch/frap_theory/Meshes/box_with_sphere.xdmf") as infile: infile.read(mesh) # domain = ms.Sphere(Point(0, 0, 0), 1.0) # mesh = ms.generate_mesh(domain, 100) -- GitLab