encyclopegia.org

Stencil jumping

Stencil jumping, at times called stencil walking, is an algorithm to locate the grid element enclosing a given point for any structured mesh.[src] In simple words, given a point and a structured mesh, this algorithm will help locate the grid element that will enclose the given point.[src] This algorithm finds extensive use in Computational Fluid Dynamics (CFD) in terms of holecutting and interpolation when two meshes lie one inside the other.[src] The other variations of the problem would be something like this: Given a place, at which latitude and longitude does it lie?[src] The brute force algorithm would find the distance of the point from every mesh point and see which is smallest.[src] Another approach would be to use a binary search algorithm which would yield a result comparable in speed to the stencil jumping algorithm.[src] A combination of both the binary search and the stencil jumping algorithm will yield an optimum result in the minimum possible time.[src]

Stencil jumping, at times called stencil walking, is an algorithm to locate the grid element enclosing a given point for any structured mesh.[src] In simple words, given a point and a structured mesh, this algorithm will help locate the grid element that will enclose the given point.[src] This algorithm finds extensive use in Computational Fluid Dynamics (CFD) in terms of holecutting and interpolation when two meshes lie one inside the other.[src] The other variations of the problem would be something like this: Given a place, at which latitude and longitude does it lie?[src] The brute force algorithm would find the distance of the point from every mesh point and see which is smallest.[src] Another approach would be to use a binary search algorithm which would yield a result comparable in speed to the stencil jumping algorithm.[src] A combination of both the binary search and the stencil jumping algorithm will yield an optimum result in the minimum possible time.[src] ==The principle== Consider one grid element of a 2-dimensional mesh as shown, for simplicity and consider a point O inside.[src] The vertices of the grid element are denoted by A, B, C and D and the vectors AB, BC, CD, DA, OA, OB, OC and OD are represented.[src] The cross product of OA and AB will yield a vector perpendicular to the plane coming out of the screen.[src] We say that the magnitude of the cross product is positive.[src] It will be observed that the cross products of OB and BC, OC and CD; and OD and DA are all positive.[src] This is not the case when the point is outside.[src] Here we see that not all the cross products are positive.[src] This is the major testing criterion in the algorithm.[src] ==How does it move forward?== The algorithm needs a guess grid element to start off.[src] The grid element can be found by the location of one point say A.[src] The other points can be automatically located by getting the subsequent points.[src] The required cross products are then found in the order OA × AB OB × BC OC × CD OD × DA Each of these cross products are checked one by one (in the order shown) on which becomes negative first.[src] If OA × AB becomes negative first, the next guess should be one step ahead along DA.[src] If OB × BC is negative first, move along AB by one step to find the next guess and so on.[src] The algorithm will converge at the exact grid element where all the cross products are positive.[src] ==See also== Five-point stencil ==References== ==External links== pegasus software[src]

30 sentences · 30 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Stencil jumping." encyclopegia.org, 2021, https://encyclopegia.org/wiki/stencil-jumping. Accessed 02 December 2026.

Chicago

"Stencil jumping." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/stencil-jumping.

APA

encyclopegia.org. (2021). Stencil jumping. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/stencil-jumping

Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1021139577 · 0.5 · snapshot enwiki-001021139577

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.