OptFEM2DP1 Toolbox  V1.2
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
File List
Here is a list of all files with brief descriptions:
InitOptFEM2DP1.m [code]Initialization of the MATLAB search path and loading of msh package for Octave
runBenchs.m [code]Run benchs for Mass (benchMass2DP1), MassW (benchMassW2DP1) Stiff (benchStiff2DP1) and StiffElas (benchStiffElas2DP1) matrices. For each assembly matrix, we compare computation times of corresponding functions for version base, OptV0, OptV1 and OptV2
runValids.m [code]Run validation tests for Mass (validMass2DP1), MassW (validMassW2DP1), Stiff (validStiff2DP1) and StiffElas (validStiffElas2DP1) matrices. For each assembly matrix, we make 3 tests
base/BuildElemStiffElasMatFunc.m [code]Definition of the ElemStiffElasMat function depending on the parameter Num of numbering of degrees of freedom
base/BuildIkFunc.m [code]Definition of the GetI function depending on the parameter Num of global numbering of degrees of freedom. Used by StiffElasAssemblingP1 functions
base/Compute_Lame.m [code]Computation of Lame coefficients from Young's modulus and Poisson's ratio
base/ComputeArea.m [code]Computation of areas of triangles in the mesh - Basic version
base/EdgeLength.m [code]Computation of the lengths of edges in the mesh - Basic version
base/ElemMassMat2DP1.m [code]Computation of the element mass matrix for $P_1$-Lagrange finite elements
base/ElemMassWMat2DP1.m [code]Computation of the element weighted mass matrix for $P_1$-Lagrange finite elements
base/ElemStiffElasMatBa2DP1.m [code]Computation of the element stiffness elasticity matrix for $P_1$-Lagrange method. The method for numbering the degrees of freedom is local alternate numbering (classical method)
base/ElemStiffElasMatBb2DP1.m [code]Computation of the element stiffness elasticity matrix for $P_1$-Lagrange method. The method for numbering the degrees of freedom is local bloc numbering (classical method)
base/ElemStiffMat2DP1.m [code]Computation of the element stiffness matrix for $P_1$-Lagrange finite elements
base/GetMaxLengthEdges.m [code]Computation of the maximal value of edge lengths
base/GetMesh.m [code]Initialization of the Mesh structure from a FreeFEM++ mesh file
base/MassAssembling2DP1base.m [code]Assembly of the Mass Matrix by $P_1$-Lagrange finite elements
base/MassWAssembling2DP1base.m [code]Assembly of the Weighted Mass Matrix by $P_1$-Lagrange finite elements
base/SquareMesh.m [code]Initialization of the Mesh structure for a square domain
base/StiffAssembling2DP1base.m [code]Assembly of the Stiffness Matrix by $P_1$-Lagrange finite elements
base/StiffElasAssembling2DP1base.m [code]Assembly of the Stiffness Elasticity Matrix by $P_1$-Lagrange finite elements using basic version (see report)
bench/benchMass2DP1.m [code]Benchmark function for MassAssembling2DP1 functions
bench/benchMassW2DP1.m [code]Benchmark function for MassWAssembling2DP1 functions
bench/benchStiff2DP1.m [code]Benchmark function for StiffAssembling2DP1 functions
bench/benchStiffElas2DP1.m [code]Benchmark function for StiffElasAssembling2DP1 functions
common/isOctave.m [code]To determine whether Octave is used or not
common/PrintDataInLatexTabular.m [code]To manage the printing of tabulars in Latex files
common/SaveFigure.m [code]To manage the saving of figures. Save in eps, jpg and png format
doxygen/developers.c [code]
doxygen/maindoc.c [code]
Opt/BuildIgJgP1VF.m [code]Definition of the arrays Ig and Jg, depending on the parameter Num of global numbering of degrees of freedom
Opt/ComputeAreaOpt.m [code]Computation of areas of triangles in the mesh
Opt/EdgeLengthOpt.m [code]Computation of the lengths of edges in the mesh
Opt/ElemStiffElasMatBaVec2DP1.m [code]Global Computation of the element stiffness elasticity matrix. Alternate numbering
Opt/ElemStiffElasMatBbVec2DP1.m [code]Global Computation of the element stiffness elasticity matrix. Block numbering
Opt/GetMeshOpt.m [code]Initialization of the Mesh structure from a FreeFEM++ mesh file - Optimized version
Opt/MassAssembling2DP1OptV0.m [code]Assembly of the Mass Matrix using $P_1$-Lagrange finite elements
Opt/MassAssembling2DP1OptV1.m [code]Assembly of the Mass Matrix using $P_1$-Lagrange finite elements
Opt/MassAssembling2DP1OptV2.m [code]Assembly of the Mass Matrix using $P_1$-Lagrange finite elements
Opt/MassWAssembling2DP1OptV0.m [code]Assembly of the Weighted Mass Matrix using $P_1$-Lagrange finite elements
Opt/MassWAssembling2DP1OptV1.m [code]Assembly of the Weighted Mass Matrix using $P_1$-Lagrange finite elements
Opt/MassWAssembling2DP1OptV2.m [code]Assembly of the Weighted Mass Matrix using $P_1$-Lagrange finite elements
Opt/StiffAssembling2DP1OptV0.m [code]Assembly of the Stiffness Matrix using $P_1$-Lagrange finite elements
Opt/StiffAssembling2DP1OptV1.m [code]Assembly of the Stiffness Matrix using $P_1$-Lagrange finite elements
Opt/StiffAssembling2DP1OptV2.m [code]Assembly of the Stiffness Matrix using $P_1$-Lagrange finite elements
Opt/StiffElasAssembling2DP1OptV0.m [code]Assembly of the Stiffness Elasticity Matrix by $P_1$-Lagrange finite elements using "OptV0" version (see report)
Opt/StiffElasAssembling2DP1OptV1.m [code]Assembly of the Stiffness Elasticity Matrix by $P_1$-Lagrange finite elements using "OptV1" version (see report)
Opt/StiffElasAssembling2DP1OptV2.m [code]Assembly of the Stiffness Elasticity Matrix by $P_1$-Lagrange finite elements using "OptV2" version (see report)
valid/valid_FEMmatrices.m [code]Automatic generation with sage Copyright: See License issues
valid/valid_StiffElas.m [code]Copyright: See License issues
valid/validMass2DP1.m [code]Validation function for the assembly of the mass matrix for $P_1$-Lagrange finite element method
valid/validMassW2DP1.m [code]Validation function for the assembly of the weighted mass matrix for $P_1$-Lagrange finite elements
valid/validStiff2DP1.m [code]Validation function for the assembly of the stiffness matrix for $P_1$-Lagrange finite element method
valid/validStiffElas2DP1.m [code]Validation function for the Assembly of the Stiffness Elasticity Matrix for $P_1$-Lagrange finite elements
 All Files Functions