Debian Codegraph @

debian/external_deps/fetk/mclite/u_d.m

raw
1 function [gxy] = u_d(x,y,type);
2 %U_D Dirichlet boundary condition function
3 %
4 % Usage: [gxy] = u_d(x,y,type);
5 %
6 % Input:
7 %
8 % xm(1:L,1) ==> x-coordindinates of evaluation points
9 % ym(1:L,1) ==> y-coordindinates of evaluation points
10 % type(1:L,1) ==> point type (interior/diri/neum)
11 %
12 % Output:
13 %
14 % gxy ==> value of the dirichlet function at evaluation points
15 %
16 % Author: Michael Holst
17 % rcsid="$Id: u_d.m,v 1.2 2008/03/12 06:23:07 fetk Exp $"
18
19 [M,one] = size(x);
20
21 gxy = zeros(M,1);
22 gxy = u_t(x,y,type);
23