www.gusucode.com > 界面看成高一维空间中某一函数ψ源码程序 > levelsetcode/Delta.m

    function Delta_h = Delta(phi, epsilon)
%   Delta(phi, epsilon) compute the smooth Dirac function
%  
%   created on 04/26/2004
%   author: Chunming Li
%   email: li_chunming@hotmail.com
%   Copyright (c) 2004-2006 by Chunming Li

Delta_h=(epsilon/pi)./(epsilon^2+ phi.^2);