rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
H10_scalar_product_matrix.m
Go to the documentation of this file.
1 function K_one = H10_scalar_product_matrix(p,t,c,a,f)
2 %this routine computes the stiffness matrix for a constant c=1.
3 %K_one = int_omega (grad phi_j) . grad phi_i dx
4 
5 c_ones=ones(1,length(c));
6 
7 [K_one,dummy1,dummy2]=assema(p,t,c_ones,a,f);
function K_one = H10_scalar_product_matrix(p, t, c, a, f)
this routine computes the stiffness matrix for a constant c=1. K_one = int_omega (grad phi_j) ...