next up previous

Exercise 5: Generation of a finite element mesh.

To familiarize yourself with the divide and conquer technique, use the x,y coordinates given in mesh.pts to generate a finite element mesh by subdividing the region into square sections. These points are derived from segmenting a transthoracic MRI scan for the epicardial and thorax boundaries. Usually one creates a master block and then subdivides each until a reasonable discretization level has been achieved (you might ask yourself what reasonable means here). Once you have obtained the subdivision into blocks, further subdivide the region into triangles (save the quadrilateral connectivities for a later exercise). You can print out the resulting mesh using the program GridDraw or view it using a postscript viewer such as Ghostscript. Save the triangle connectivities for later use with the finite element solver.