Skip to main content
10 events
when toggle format what by license comment
Jan 15, 2015 at 15:49 comment added unlikely @user21 ok, I'll do, but please don't expect so much...
Jan 15, 2015 at 10:00 comment added user21 I'd very much appreciate if you could post that! The improvement is two fold: 1) the boundary points are moved back onto the symbolic boundary if possible and the mesh can be second order.
Jan 15, 2015 at 9:26 comment added unlikely @user21 You're right, it's not so hard. Indeed, I previously skipped some part of the documentation of the "BoundaryMeshGenerator" option. I used the simplest trick of kguler but with RegionPlot instead of ContourPlot. If someone interested, I can post another self-answer. I'm concerned about the accuracy of this trick. About builtin "RegionPlot" method for "BoundaryMeshGenerator" it's stated that "improve" the RegionPlot output. Can you give me an idea of what this means?
Jan 14, 2015 at 7:59 comment added user21 This should not be too hard. In the ref page of ToBoundaryMesh in the options section there is a BoundaryMeshGenerator section. Have a look there. Your function will get a NumericalRegion (also documented) from that you can extract the "Predicates" compute your boundary mesh and package that with ToBoundaryMesh["Coordinates"->coords, "BoundaryElements" ->{...}] let me know if this works for you.
Jan 13, 2015 at 15:44 comment added unlikely @user21 This would be probably the best approach, but I suppose it's not easy. Can you give me just an idea of how this is done? Maybe using the idea of kguler we can implement a "ContourPlot" generator, more or less like the builtin "RegionPlot" generator?
Jan 5, 2015 at 14:32 comment added user21 I think you may be interested to know that ToBoundaryMesh and ToElementMesh have an option "BoundaryMeshGenerator" that you can define yourself. So you could use your boundary mesh generator for FEM, for example. If you try that, I'd be very interested to hear about the results. This approach would also allow you to get a quadratic (boundary)mesh. If you try this let me know.
Dec 27, 2014 at 0:07 history edited unlikely CC BY-SA 3.0
added 1834 characters in body
Dec 26, 2014 at 22:34 history edited unlikely CC BY-SA 3.0
added 319 characters in body
Dec 26, 2014 at 17:52 history edited unlikely CC BY-SA 3.0
added 3283 characters in body
Dec 24, 2014 at 15:52 history answered unlikely CC BY-SA 3.0