Skip to content
Snippets Groups Projects
Commit af74a20f authored by Lars Hubatsch's avatar Lars Hubatsch
Browse files

Parallel fenics works on z2-94. Performance: email to Hubert.

parent a40ef353
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment