Welcome to MILAMIN

MILAMIN is a finite element method implementation in native MATLAB that is capable of doing one million degrees of freedom per minute on a modern desktop computer. This includes pre-processing, solving, and post-processing. The MILAMIN strategies and package are applicable to a broad class of problems in Earth science.


2012.08.07 MUTILS, a set of high performance modeling utilities, is released.

Key Features

It is implemented in (almost) native MATLAB

Choosing a native MATLAB implementation allows simultaneously for educational insight, easy access to computational libraries and visualization tools, rapid prototyping and development, as well as actual two-dimensional production runs. MATLAB also facilitates very short implementations of numerical methods that give overview and insight, which is impossible to obtain when dealing with closed black-box routines.

It is fast!

’Million a Minute’ (MILAMIN) is an efficient MATLAB implementation of FEM that is capable of setting up, solving, and postprocessing two-dimensional unstructured mesh problems with one million unknowns in one minute on a modern desktop computer. MILAMIN allows the user to achieve numerical resolutions that are necessary to resolve the heterogeneous nature of geological materials. Comparing the performance of MILAMIN to other open source as well as commercial packages shows that MILAMIN is among the best performing solutions, in terms of both speed and memory usage.

It is versatile!

MILAMIN facilitates the development of new, or improvement of already existing numerical codes with applications to Earth Sciences, using its fast MATLAB-based solvers.


You can download the original MILAMIN manuscript and source files from the G3 (Geochemistry, Geophysics, Geosystems) website. If you register as a user on this website you will get access to the updated MILAMIN sources.

We are hoping that you find MILAMIN useful. We are planning to expand the capabilities of MILAMIN and are looking for collaborators. Drop us a line if you are interested.

The development of MILAMIN was made possible through the support of PGP: Physics of Geological Processes.