We present an easily accessible, object oriented code (written exclusively in Matlab) for finite element simulations in 2D. The object oriented programming paradigm allows for fast implementation of higher-order FEM on triangular meshes for problems with very general coefficients. In particular, our code can handle problems typically arising from iterative linearization methods used to solve nonlinear PDEs. We explain the basic principles of our code and give numerical experiments that underline its flexibility as well as its efficiency.
翻译:我们为2D的有限元素模拟提出了一个容易获取的、面向目标的代码(专门用Matlab编写)。 面向目标的编程模式允许针对非常普通的系数问题,在三角网目上快速执行较高级的FEMF, 特别是,我们的代码可以处理通常由用于解决非线性PDE的迭代线性方法产生的问题。我们解释了我们代码的基本原则,并给出数字实验,强调其灵活性和效率。