home
download
class models
standard gui
custom gui
models
user guide
problems

previous | up | next       MeshedDrawing class

MeshedDrawing

Click on the image for a live example
[trial MeshedDrawing applet]

For constructing 2-D systems of regions, points and lines, and making triangular meshes on them ready for solving 2-D or rotationally symmetric 3-D field problems. You can drag elementary components onto the drawing area and extend them as required.

The editing functions are as in the LabelledDrawingEditor. A MeshCtrl object is required to set the parameters before a mesh can be made. The fpref field in line markers overrides the default preferred mesh point spacing so that regions can be indicated as requiring a denser or less dense mesh than elsewhere.

When a mesh has been made, it is displayed instead of the normal drawing, optionally with the points numbered according the the pt now field. To return to the original display, release the show mesh checkbox.