MESH toolbox  0.1
Matlab/Octave mesh utils
 All Files Functions Groups Pages
GetMatPrRefTh2Th.m
Go to the documentation of this file.
1 function MatProj=GetMatPrRefTh2Th(nq,e2q)
2 %function MatProj=GetMatPrRefTh2Th(nq,e2q)
3 % Build projection matrix from refine mesh to initial mesh
4  N=size(e2q,1);
5  I=ones(1,nq);
6  MatProj=sparse(I,I,I,nq,nq+N);
7 end