function h = fh04 ( p, varargin ) %*****************************************************************************80 % %% FH04 returns a uniform mesh size function. % % Copyright: % % (C) 2004 Per-Olof Persson. % See COPYRIGHT.TXT for details. % % Reference: % % Per-Olof Persson and Gilbert Strang, % A Simple Mesh Generator in MATLAB, % SIAM Review, % Volume 46, Number 2, June 2004, pages 329-345. % % Parameters: % % Input, real P(NP,ND), the point coordinates. % % Input, VARARGIN, room for extra arguments. % % Output, real H(NP,1), the mesh size function. % np = size ( p, 1 ); h = ones ( np, 1 ); return end