Home > demos > chemotax > chembra.m

chembra

PURPOSE ^

outfu for chemotax, put ||u-1||_L^1 first on branch

SYNOPSIS ^

function out=chembra(p,u,lam)

DESCRIPTION ^

 outfu for chemotax, put ||u-1||_L^1 first on branch

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function out=chembra(p,u,lam)
0002 % outfu for chemotax, put ||u-1||_L^1 first on branch
0003 n=triint(abs(1-u(1:p.np)),p.points,p.tria)/p.vol;
0004 out=[n; max(u(1:p.np))];

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