Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Notice: Creating folder will generate an empty file .keep, because not support in Git


iFEM is a MATLAB software package containing robust, efficient, and easy-following codes for the main building blocks of adaptive finite element methods on unstructured simplicial grids in both two and three dimensions. Besides the simplicity and readability, sparse matrixlization, an innovative programming style for MATLAB, is introduced to improve the efficiency. In this novel coding style, the sparse matrix and its operations are used extensively in the data structure and algorithms.


Add the path to iFEM into the path library of MATLAB by either:

  1. Graphical interface. Click File -> Set Path -> Add with Subfolders and chose the directory where the package iFEM is stored.

  2. Command window. Go to the directory of iFEM and run setpath


  1. help funexample displays a description of and syntax for the function funexample. For example, help mg will show basic usage for mg function in the plain text.
  2. ifem funexampledoc show detailed description. For example, ifem mgdoc will explain the mg function step by step in html format. But not every function has a html documentation.

Quick Start

  1. Type ifem introduction to get an introduction on ifem.

  2. Go through examples in \example directory.

Feed Back

If you like it, please send me an email If you feel it is helpful for your research, please acknowledge your use by citing:

L. Chen. iFEM: an integrated finite element method package in MATLAB. Technical Report, University of California at Irvine, 2009.


The author would like to thank Professor Michael Holst in University of California at San Diego and Professor Ludmil Zikatanov in Pennsylvania State University for many insightful discussion, and also Professor Chensong Zhang in Chinese Academy of Sciences for the effort in the development of AFEM@matlab, an early version of iFEM.

The author thanks students or postdocs Shuhao Cao, Ming Wang, Huayi Wei, Lin Zhong, and Jie Zhou for their contribution to iFEM in one way or another. Detailed credits can be found in the M-lint of several m files.

The author is also grateful to the NSF for the partially support over the years.

Long Chen



Department of Mathematics University of California at Irvine


Comments ( 0 )

Sign in for post a comment


陈龙老师开发的有限元包 matlab版 spread retract


No release




load more
can not load any more