liste
PURPOSE
LISTE Assembles lists of internal, boundary, interface nodes.
SYNOPSIS
function [lbor,lint,lintint,lgamma,ifro]=liste(ifro,nov);
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
- eig_schur_2d EIG_SCHUR_2D Eigenvalues computation Schur complement matrix
- schur_2d SCHUR_2D Numerical solution of the 2D b.v.p. -Delta u + gam u -Schur complement
- eig_schwarz_2d EIG_SCHWARZ_2D Eigenvalues computation for the matrix associated to 2D b.v.p. -Delta u + gam u = f + Dirichlet b.c.
- schwarz_2d SCHWARZ_2D Numerical solution of the 2D boundary value problem
- lap_2d LAP_2D Numerical solution of the 2D b.v.p. -Delta u + gam u = f
- lap_3d LAP_3D Numerical solution of the 3D b.v.p. -Delta u + gam u = f
SOURCE CODE
0001 function [lbor,lint,lintint,lgamma,ifro]=liste(ifro,nov);
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 [ldnov,ne]=size(nov);
0030 noe=nov(ldnov,ne);
0031 v=zeros(noe,1);
0032 for ie=1:ne
0033 for i=1:ldnov
0034 ip=nov(i,ie);
0035 v(ip)=v(ip)+1;
0036 end
0037 end
0038
0039
0040 lint=[];lbor=[];lgamma=[]; lintint=[];
0041 for i=1:noe
0042 if(ifro(i)==1)
0043 lbor=[lbor;i];
0044 else
0045 lint=[lint;i];
0046 end
0047 if(v(i)>1 & ifro(i)==0)
0048 ifro(i)=-1;
0049 end
0050 end
0051
0052 for i=1:length(lint)
0053 if(ifro(lint(i))==-1)
0054 lgamma=[lgamma;i];
0055 else
0056 lintint=[lintint;i];
0057 end
0058 end
0059
0060 return
Generated on Fri 21-Sep-2007 10:07:00 by m2html © 2003