rbmatlab 0.10.01
|
00001 function U = fv_l2project(func,qdeg,grid,model) 00002 % function performing an l2 projection of an analytical function 00003 % func to the fv space. A quadrature of degree qdeg is used. 00004 % 00005 % model.pdeg specify the degree of the discrete fv function. 00006 % (currently only first order supported.) 00007 00008 % Bernard Haasdonk 3.9.2009 00009 00010 disp('this is superfluous, as given by l2project'); 00011 00012 model.evaluate_basis = @fv_evaluate_basis; 00013 U = triaquadrature(qdeg,@func_phi_product,func,grid, ... 00014 model); 00015