![]() |
OptFEM2DP1 Toolbox
V1.2b3
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
|
| Definition of the ElemStiffElasMat function depending on the parameter Num of numbering of degrees of freedom | |
| Definition of the GetI function depending on the parameter Num of global numbering of degrees of freedom. Used by StiffElasAssemblingP1 functions | |
| Computation of areas of triangles in the mesh - Basic version | |
| Computation of the lengths of edges in the mesh - Basic version | |
Computation of the element mass matrix for -Lagrange finite elements | |
Computation of the element weighted mass matrix for -Lagrange finite elements | |
Computation of the element stiffness elasticity matrix for -Lagrange method. The method for numbering the degrees of freedom is local alternate numbering (classical method) | |
Computation of the element stiffness elasticity matrix for -Lagrange method. The method for numbering the degrees of freedom is local block numbering | |
Computation of the element stiffness matrix for -Lagrange finite elements | |
| Computation of the maximal value of edge lengths | |
| Initialization of the Mesh structure from a FreeFEM++ mesh file | |
Assembly of the Mass Matrix by -Lagrange finite elements | |
Assembly of the Weighted Mass Matrix by -Lagrange finite elements | |
| Initialization of the Mesh structure for a square domain | |
Assembly of the Stiffness Matrix by -Lagrange finite elements | |
Assembly of the Stiffness Elasticity Matrix by -Lagrange finite elements using basic version (see report) | |
| Benchmark function for MassAssemblingP1 functions | |
| Benchmark function for MassWAssemblingP1 functions | |
| Benchmark function for StiffElasAssemblingP1 functions | |
| Benchmark function for StiffAssemblingP1 functions | |
| To determine whether Octave is used or not | |
DataFormat={$d$,$d$,%.3f,%.3f,%.3f} ColumnFormat=|r|r||*{3}{c|} RowFormat=; RowHeaderFormat= ; Header={$N$,$n_q$,Matlab,Octave,FreeFEM++} Data array Copyright: See License issues | |
| To manage the saving of figures. Save in eps, jpg and png format | |
| Definition of the function computing the Element Elasticity Stiffness Matrix, depending on the parameter Num of numbering of degrees of freedom | |
| Definition of the arrays Ig and Jg, depending on the parameter Num of global numbering of degrees of freedom | |
| Computation of areas of triangles in the mesh | |
| Computation of the lengths of edges in the mesh | |
| Global Computation of the element stiffness elasticity matrix. Alternate numbering | |
| Global Computation of the element stiffness elasticity matrix. Block numbering | |
Computation of the element stiffness elasticity matrix for -Lagrange method. The method for numbering the degrees of freedom is local alternate numbering (classical method) | |
| Initialization of the Mesh structure from a FreeFEM++ mesh file - Optimized version | |
Assembly of the Mass Matrix using -Lagrange finite elements | |
Assembly of the Mass Matrix using -Lagrange finite elements | |
Assembly of the Mass Matrix using -Lagrange finite elements | |
Assembly of the Weighted Mass Matrix using -Lagrange finite elements | |
Assembly of the Weighted Mass Matrix using -Lagrange finite elements | |
Assembly of the Weighted Mass Matrix using -Lagrange finite elements | |
Assembly of the Stiffness Matrix using -Lagrange finite elements | |
Assembly of the Stiffness Matrix using -Lagrange finite elements | |
Assembly of the Stiffness Matrix using -Lagrange finite elements | |
Assembly of the Stiffness Elasticity Matrix by -Lagrange finite elements using "OptV0" version (see report) | |
Assembly of the Stiffness Elasticity Matrix by -Lagrange finite elements using "OptV1" version (see report) | |
Assembly of the Stiffness Elasticity Matrix by -Lagrange finite elements using "OptV2" version (see report) | |
| Automatic generation with sage Copyright: See License issues | |
| Copyright: See License issues | |
Validation function for the assembly of the mass matrix for -Lagrange finite element method | |
Validation function for the assembly of the weighted mass matrix for -Lagrange finite elements | |
Validation function for the Assembly of the Stiffness Elasticity Matrix for -Lagrange finite elements | |
Validation function for the assembly of the stiffness matrix for -Lagrange finite element method | |
| Initialization of the MATLAB search path and loading of msh package for Octave | |
Run benchs for Mass (benchMassP1), MassW (benchMassWP1) Stiff (benchStiffP1) and StiffElas (benchStiffElasP1) matrices. For each assembly matrix, we compare computation times of corresponding functions for version base, OptV0, OptV1 and OptV2 | |
| Run validation tests for Mass (validMassP1), MassW (validMassWP1), Stiff (validStiffP1) and StiffElas (validStiffElasP1) matrices. For each assembly matrix, we make 3 tests |