rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
my_u0_components.m
1 function U = my_u0_components(X,Y,params)
2 %function U = my_u0_components(X,Y,params)
3 %
4 % function computing parameter independent components of a function
5 % f. The function f is obtained by computing corresponding
6 % parameter dependent coefficients and then computing a linear combination
7 %
8 % Initial data function is consistent with dirichlet values.
9 % See my_udir_coefficients for specification of the function.
10 
11 % Bernard Haasdonk 24.10.2008
12 
13 U = {sin(pi*X).*(X<Y) + sin(pi*Y).*(X>=Y)};
14 %| \docupdate