question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

interpolate Morley

See original GitHub issue

The problem is to interpolate a function defined on Morley elements at a specified (x, y) point which isn’t necessarily a node; e.g. the deflection at the centre of the Kirchhoff plate in ex02, or the value of the stream-function at the centre of the circular-cylindrical cavity in ex18.

Attempting MeshTri.interpolator with the MeshTri returned by refinterp fails #59; the mesh is invalid, having duplicate points.

I think interpolation involves two steps:

  1. Find the element (if any) that contains the point.
  2. Evaluate the function based on the local basis functions of that element and the elemental degrees of freedom.

and I suspect that in general the first is the harder.

Thus far, this operation is only implemented in scikit-fem as MeshTri.interpolator (P1) and MeshTri.const_interpolator (P0) and makes use of :

Perhaps the TriFinder might be factored out of those so that it could also be used for other elements defined on linear simplicial meshes; e.g., besides Morley, also affine P2. Looking ahead, with MeshQuad._splitquads, perhaps quadrilateral meshes too.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
kinnalacommented, Oct 8, 2018

cc99ad97b335c1698816c19b83fa46dc1683b6f0 should fix interpolating ElementH2 bases. Support for multiple elements was missing in MappingAffine.F.

1reaction
kinnalacommented, Oct 8, 2018

When you read the source code in Github and mouse over the line number, three dots apper next to it. Pressing that gives you a URL.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Optimal estimation for the Fujino–Morley interpolation error ...
The interpolation constants are determined by solving eigenvalue problems of bi-harmonic operators, and their upper bounds will be evaluated by ...
Read more >
Optimal estimation for the Fujino-Morley interpolation error ...
Abstract: The quantitative estimation for the interpolation error constants of the Fujino-Morley interpolation operator is considered.
Read more >
Morley, A et al. (2011): Raw data and interpolated ...
PANGAEA, https://doi.org/10.1594/PANGAEA.770708, In: Morley, A et al. (2011): Age model, raw data and interpolated raw data from proxy records of sediment ...
Read more >
Optimal estimation for the Fujino-Morley interpolation error ...
PDF | The quantitative estimation for the interpolation error constants of the Fujino-Morley interpolation operator is considered.
Read more >
MODIFIED MORLEY ELEMENT METHOD FOR A FOURTH ...
Key words : Morley element, Singular perturbation problem. ... For Morley element, let Ilļ be the interpolation operator corresponding to linear conforming.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found