How michael-li-2002/ifem works
iFEM is a MATLAB finite-element software package for solving PDEs on unstructured grids in two and three dimensions. Its principal workflow is to run an FEM example, define a problem and discretization, assemble and solve the resulting system, and—when adaptive methods are used—estimate error, refine the mesh, and repeat. Mesh, degree-of-freedom, equation, and solver modules are distinct internal layers. The README describes the package broadly; sampled source does not show the runtime wiring, so the connections here reflect documented workflow rather than verified individual calls.
Main entry points: example/fem FEM examples · fem FEM assembly · mesh Mesh adaptation · equation PDE definitions
Components 10
Problem workflow
- FEM examples
example/fem - PDE definitions
equation - Problem data
data
Discretization
- Mesh generation
mesh - Degrees of freedom
dof
Numerical methods
- FEM assembly
fem - Linear solvers
solver
Adaptive methods
- Error estimation
fem - Mesh adaptation
mesh
Other components
- MATLAB user
Connections 11
- MATLAB user → FEM examples: runs
- FEM examples → PDE definitions: sets up
- FEM examples → Problem data: uses
- FEM examples → Mesh generation: uses
- FEM examples → FEM assembly: invokes
- FEM assembly → Degrees of freedom: uses
- FEM assembly → Linear solvers: solves with
- FEM examples → Error estimation: estimates
- Error estimation → Mesh adaptation: marks for
- FEM examples → Mesh adaptation: adapts
- Mesh adaptation → Mesh generation: updates