Scripps Main Website Marine EM Lab Main Website Marine EM Laboratory

Software | Triangle.m

Triangle.m is a MATLAB graphical user interface for creating 2D models and generating finite element triangulation grids. Grid generation is accomplished by an external call to the C-code Triangle.c, written by Jonathan Shewchuk at UC Berkeley. The features included in the MATLAB interface were created with the intent to handle 2D geophysical modeling applications. However, the generality of the interface should allow for multidisciplinary usage. I wrote this software so that I could easily create electrical resistivity finite elements models for the codes MARE2DMT (Key and Weiss, 2006) and MARE2DCSEM (Li and Key, 2007).

Download the Triangle.m package here:

Triangle (zip file, 4.75 MB)

 

The model design Matlab interface:

 

JPEG images of model structure from other methods (seismic, gravity, EM) can be imported to the design window to aid model drawing. Predefined model structure can also easily be imported.

 

Triangle.c is fast. The triangulation to only a fraction of a second:

 

Measurement sites can easily be added to the model. Sites can also be "dropped" onto topographic surfaces with the click of a button.

 

 


Last modified: November 10 2007 20:47
email:
kkey@ucsd.edu