function boundary_segment_num = p02_boundary_segment_num ( ) %*****************************************************************************80 % %% P02_BOUNDARY_SEGMENT_NUM counts the boundary segments in problem 02. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 12 April 2009 % % Author: % % John Burkardt % % 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: % % Output, integer BOUNDARY_SEGMENT_NUM, the number of boundary segments. % boundary_segment_num = 2; return end