OptFEM2DP1 Toolbox  V1.2
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
Opt/BuildIgJgP1VF.m File Reference

Definition of the arrays Ig and Jg, depending on the parameter Num of global numbering of degrees of freedom. More...

Go to the source code of this file.

Functions

function [ Ig ,
Jg ] = 
BuildIgJgP1VF (Num, me, nq)
 Definition of the arrays Ig and Jg, depending on the parameter Num of global numbering of degrees of freedom.

Detailed Description

Definition of the arrays Ig and Jg, depending on the parameter Num of global numbering of degrees of freedom.

Definition in file BuildIgJgP1VF.m.


Function Documentation

function [ Ig , Jg ] = BuildIgJgP1VF (   Num,
  me,
  nq 
)

Definition of the arrays Ig and Jg, depending on the parameter Num of global numbering of degrees of freedom.

Parameters:
NumChoice of the numbering of degrees of freedom
  • 0 local numbering (classical method)
  • 1 global numbering
meConnectivity array, $3\times\nme$ array.
$\me(\jl,k)$ is the storage index of the $\jl$-th vertex of the $k$-th triangle in the array $\q$ of vertices coordinates, $\jl\in\{1,2,3\}$ and $k\in{\ENS{1}{\nme}}$.
nqtotal number of vertices, also denoted by $\nq$.
Return values:
IgArray of indices, 2ndf-by-nmef array
JgArray of indices, 2ndf-by-nmef array
CopyrightSee License issues

Definition at line 17 of file BuildIgJgP1VF.m.

 All Files Functions