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

- Main Page
- Related Pages
- Files

- File List
- File Members

Opt/BuildElemStiffElasMatOptV0Func.m
Go to the documentation of this file.

    00001 function ElemStiffElasMat=BuildElemStiffElasMatOptV0Func(Num)
    00002 % function ElemStiffElasMat=BuildElemStiffElasMatOptV0Func(Num)
    00003 %   Definition of the function computing the Element Elasticity Stiffness Matrix, depending on the
    00004 %   parameter Num of numbering of degrees of freedom.
    00005 %
    00006 % Parameters:
    00007 % Num: Choice of the local numbering of degrees of freedom
    00008 %    - 0, 1 alternate numbering (classical method),
    00009 %    - 2, 3 block numbering
    00010 %
    00011 % See also
    00012 % #ElemStiffElasMatP1BaOptV0, #ElemStiffElasMatP1BbOptV0
    00013 % Copyright:
    00014 %   See \ref license
    00015 switch Num
    00016 case {0,1}
    00017   ElemStiffElasMat=@(ql,area,C) ElemStiffElasMatP1BaOptV0(ql,area,C);
    00018 case {2,3}
    00019   ElemStiffElasMat=@(ql,area,C) ElemStiffElasMatP1BbOptV0(ql,area,C);
    00020 end

All Files Functions