Marine EM Lab at Scripps IGPP Scripps Scripps Pier Cam

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.2 MB).

 

List of Updates:

June 15, 2010. Fixes for MATLAB R2010a incompatibilities.

 

Screenshots:

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.

 

 

email: kkey@ucsd.edu
Last modified: June 15 2010 10:13.