-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotting magnetisation on a df.IntervalMesh with Dolfin causes Segmentation Fault #2
Comments
Hi Mark, Yes, this is a known bug and it is dolfin related. It either causes Segmentation Fault or plots something meaningless. Maybe if you rewrite this example in dolphin only and ask on Fenics Q&A? Example: import dolphin as df mesh = df.IntervalMesh(100, -20, 20) df.plot(f, interactive=True) Marijan On 20 May 2015, at 12:34, Mark Vousden <[email protected]mailto:[email protected]> wrote: Using a RectangleMesh appears to work as expected, but IntervalMesh Segmentation Faults. Here is a minimum broken example: import dolfin as df This works.sim = finmag.Simulation(df.RectangleMesh(-10, -10, 10, 10, 10, 10), 1e5) This doesn't work.sim = finmag.Simulation(df.IntervalMesh(100, -20, 20), 1e5) This outputs the following: [2015-05-20 12:33:07] INFO: Finmag logging output will be appended to file: '/home/mark/.finmag/global.log' /usr/local/lib/python2.7/dist-packages/aeon/timer.py:35: UserWarning: You are nesting measurements in init::LLG. — |
Thanks Marijan, question has been raised here using dolfin 1.5: http://fenicsproject.org/qa/7199/plot-function-on-intervalmesh-causes-segmentation-fault |
Using a RectangleMesh appears to work as expected, but IntervalMesh Segmentation Faults. Here is a minimum broken example:
This outputs the following:
The text was updated successfully, but these errors were encountered: