-
Notifications
You must be signed in to change notification settings - Fork 83
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
invalid interpolator of MeshTri returned by refinterp #59
Comments
Ah: I see that the M.p[:, (0, 135)]
|
refinterp cuts the connectivity between the neighboring elements to enable the visualisation of discontinuous bases, etc. So in practice, the resulting mesh has duplicate nodes. This might be one reason for the error, as I believe the resulting mesh is passed directly to matplotlib. Edit: you already noticed ;-) |
O. K. then. So that seems reasonable. Maybe there should just be something in the docstring of either For
or Braess's (2001, Finite Elements, 2nd edn, §5.1) ‘If I note that
For |
For the underlying problem though—how to interpolate the deflection defined on Morley elements—the answer is that this isn't the way to do it but then how to. I'll raise another issue for that. |
While developing an example of two-dimensional creeping flow #58 , I ran into trouble trying to evaluate the stream-function at a point. (The problem there has a known closed-form solution and should equal to 1/64 at the origin, which would seem to be a convenient thing to test.)
In ex02, a
MeshTri M
is generated from the MorleyInteriorBasis ib
withrefinterp
, but theM.interpolator
doesn't seem to work.To reproduce:
raises
I didn't find any examples using
MeshTri.interpolator
butreturns
array(0.24952565)
which is close to the exact solution, ¼.The text was updated successfully, but these errors were encountered: