Assembly produces erraneous results when mesh comes from csg Circle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
New
|
Undecided
|
Unassigned |
Bug Description
When assembling the stiffness matrix for a mesh created with dolfin.Circle, the resulting matrix contains huge values (for radius 1) or even "nan" (for radius different from 1). Here is an example that will reproduce the problem. Visually, the mesh looks fine with no apparent very bad elements.
This error started to appear after I upgraded to Dolfin 1.3.0 and I have confirmed this behaviour on OSX 10.8 and Linux Mint Maya (Ubuntu). Here is a the test I ran
***************
import dolfin
dolfin.
import numpy
c = dolfin.
mesh = dolfin.Mesh(c,20)
function_space = dolfin.
trial_function = dolfin.
test_function = dolfin.
form = dolfin.
K = dolfin.
rows, cols, vals = K.data()
print numpy.max(vals)
FEniCS no longer uses Launchpad for bug reports. Please consult the documentation on the FEniCS web page for where and how to (re)post your bug report: http:// fenicsproject. org/support/