www.pudn.com > fem2d_nonlinear.rar > u_d.m, change:1999-03-02,size:625b

function DirichletBoundaryValue = u_d(x)
%U_D   Data on the Dirichlet boundary
%   Y = U_D(X) returns function values at N discrete points  
%   on the Dirichlet boundary. This input data has to be choosen  
%   by the user. X has dimension N x 2 and Y has dimension N x 1.
%   See also FEM2D_NONLINEAR, F, and G.

%    J. Alberty, C. Carstensen and S. A. Funken  02-11-99
%    File <u_d.m> in $(HOME)/acf/fem2d_nonlinear/
%    This Dirichlet boundary data is used to compute Fig. 5a in 
%    "Remarks around 50 lines of Matlab: Short finite element 
%    implementation"

DirichletBoundaryValue =  zeros(size(x,1),1);