| OptFEM2DP1 Toolbox 1.2b4 Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D

- Main Page
- Related Pages
- Files

OptFEM2DP1

## Introduction

OptFEM2DP1 is a MATLAB©/GNU Octave© library providing simple and efficient vectorized routines for -Lagrange Finite Element Methods in 2D

- Version 1.2 : We add the assembly of the Stiffness Elasticity Matrix defined by

  where are -Lagrange vector basis functions. Here and are the elastic stress and strain tensors respectively.

- Version 1.1 : Contains different optimization techniques to perform the assembly of P1 finite element matrices in Matlab and Octave, from the standard approach (basic version and OptV0) to recent vectorized ones (OptV1 and OptV2), without any low level language used. The more efficient version (OptV2) is entirely vectorized (without loop) and without any quadrature formula. We have implemented :
  - the Mass Matrix given by

    where are -Lagrange basis functions.
  - the Weighted Mass Matrix given by

  - the Stiffness Matrix given by

## Quick testing

To test the OptFEM2DP1 library, you can run validation tests (see runValids), in OptFEM2DP1 directory,

    runValids()

or some benchmarks (see runBenchs)

    runBenchs()

## Requirements

- Needs Matlab or GNU Octave 3.6.*

## GNU Octave 3.6.* under linux

GNU Octave 3.6.4 (respectively 3.6.3) source for Linux is available here (respectively here).

For a description of our compilation/installation under Ubuntu 12.04 LTS (x86_64) refer to F. Cuvelier homepage, section Octave in left menu.

With GNU Octave 3.6.*, you need to install the following packages: splines, msh, general. These packages can be found here.

To install a package, please run Octave as root and download the package archive and run

    pkg install package_file_name.tar.gz

## GNU Octave 3.6.2 for Windows Microsoft Visual Studio

GNU Octave 3.6.2 is available here.

- Download file octave-3.6.2-vs2010-setup.exe
- run it and select, at least, packages splines, msh and general.

## Testing and Working

- Ubuntu 12.04 LTS (x86_64) with
  - Matlab R2013a
  - Matlab R2012b
  - Matlab R2012a
  - Matlab R2011b
  - Matlab R2011a
  - GNU Octave 3.6.4
  - GNU Octave 3.6.3
- Works on Windows 7 64 bits with
  - Matlab R2012b
  - Matlab R2012a
  - GNU Octave 3.6.2

## License issues

OptFEM2DP1 is published under the terms of the GNU General Public License.

OptFEM2DP1 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OptFEM2DP1 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Software using source files of this project or significant parts of it, should include the following attribution notice:

     % --------------------------------------------------------------------
     % ATTRIBUTION NOTICE:
     % This product includes software developed for the OptFEM2DP1 project at
     % (C) University Paris XIII, Galilee Institute, LAGA, France.
     %
     % OptFEM2DP1 is a MATLAB/Octave software package for P1-Lagrange Finite Element Methods in 2D.
     % The project is maintained by
     % F. Cuvelier, C. Japhet and  G. Scarella.
     % For Online Documentation and Download we refer to
     %     <www.math.univ-paris13.fr/~cuvelier>
     % --------------------------------------------------------------------

All Files Functions