From: Sachit on 1 Apr 2010 20:00 Hi all, I am solving a 2D Poisson equation using command prompt. I have to apply a non uniform charge distribution over an area (e.g. a rectangular strip). So my rectangular strip is subdomain '1' and everything outside is '0'. To be able to give a non-uniform pde coeff., I figured this out from the help "A row vector of values at the triangle centers of mass". It seems obvious that the row vector should have a length equal to the number of triangles. I initially tested my setup with a constant zero charge density: u=assempde(b,p,e,t,1,0,0); With this I get a solution. To test the option of giving a row vector equal to the length of 't', I tried: u=assempde(b,p,e,t,1,0,zeros(length(t))); However the command prompt just hangs up with this command. Any guidance is greatly appreciated. -Sachit
|
Pages: 1 Prev: Traffic Warning Sign Recognition Templates Next: Detect first name and last name |