rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
fv_l2project.m
Go to the documentation of this file.
1 function U = fv_l2project(func,qdeg,grid,model)
2 % function performing an l2 projection of an analytical function
3 % func to the fv space. A quadrature of degree qdeg is used.
4 %
5 % model.pdeg specify the degree of the discrete fv function.
6 % (currently only first order supported.)
7 
8 % Bernard Haasdonk 3.9.2009
9 
10 disp('this is superfluous, as given by l2project');
11 
12 model.evaluate_basis = @fv_evaluate_basis;
13 U = triaquadrature(qdeg,@func_phi_product,func,grid, ...
14  model);
15 
function U = fv_l2project(func, qdeg,gridbase grid, model)
func to the fv space. A quadrature of degree qdeg is used.
Definition: fv_l2project.m:17