Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^6: Contour mapping? (Thank Dog for anonymonk.)

by pryrt (Abbot)
on May 02, 2016 at 23:57 UTC ( [id://1162048]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Contour mapping? (Thank Dog for anonymonk.)
in thread Contour mapping?

It may be too late, but I found another good reference on Wikipedia: it appears that AM was basically describing the Meandering Triangle variant of the Marching Squares algorithm.

To handle the case of vertices being equal, that article uses isobands instead of isobars (contour lines): label each point in the triangle (0 for points less than your level, 1 for points equal to your level, and 2 for points greater than your level), and then follow their lookup table for the shape of the isoband.

  • Comment on Re^6: Contour mapping? (Thank Dog for anonymonk.)

Replies are listed 'Best First'.
Re^7: Contour mapping? (Thank Dog for anonymonk.)
by BrowserUk (Patriarch) on May 03, 2016 at 04:05 UTC

    Thanks for that. Actually, as I'm only looking to discover the angle at which the lines would cross the triangles -- rather than actually plotting the lines which the simulation software already does -- AM's limited observations were all I required to code that part of the problem. It's still good to know some background though.

    A harder part of the task was hacking the software's input and results files; but they are plain text files with a fairly obvious if not well documented structure.

    The hardest part of the entire problem was waiting for the 60+ hours between setting the problem running and getting the results. Especially when as soon as I viewed them, it was blatantly obvious I had made a trivial mistake in the specification of one of the boundary conditions and would need to wait another 60+ hours for the correction :(


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1162048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found