Home > demos > schnakenberg > schnakf.m

schnakf

PURPOSE ^

Schnakenberg: u_t=Del u-u+u^2v, v_t=d Del v+lam-u^2 v

SYNOPSIS ^

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

DESCRIPTION ^

 Schnakenberg: u_t=Del u-u+u^2v,  v_t=d Del v+lam-u^2 v

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [c,a,f,b]=schnakf(p,u,lam) 
0002 % Schnakenberg: u_t=Del u-u+u^2v,  v_t=d Del v+lam-u^2 v
0003 u=pdeintrp(p.points,p.tria,u);d1=1; d2=60; c=[d1;0;0;d1;d2;0;0;d2]; a=0; 
0004 f1=-u(1,:)+u(1,:).^2.*u(2,:); f2=lam-u(1,:).^2.*u(2,:); f=[f1;f2]; b=0;

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