Home > demos > bratu > bratuft.m

bratuft

PURPOSE ^

pde for Bratu, text expression syntax, just as a template

SYNOPSIS ^

function [c,a,f,b]=bratuft(p,u,lam)

DESCRIPTION ^

 pde for Bratu, text expression syntax, just as a template

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [c,a,f,b]=bratuft(p,u,lam) 
0002 % pde for Bratu, text expression syntax, just as a template
0003 lam=mat2str(lam);  c=1; a=0; f=char(['-10*(u-' lam '*exp(u))']); b=0;
0004 [c,a,f]=pdetxpd(p.points,p.tria,u,c,a,f); % evaluate on triangles

Generated on Wed 15-Aug-2012 12:53:02 by m2html © 2005