function p20_default ( dim_num ) %*****************************************************************************80 % %% P20_DEFAULT sets default values for problem 20. % % Discussion: % % If a problem uses vector parameters, then the spatial dimension % DIM_NUM is needed as input, so that the vector parameters can be % properly dimensioned. % % Every problem keeps a count of the number of function calls. Calling % this routine causes that count to be reset to 0. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 10 March 2007 % % Author: % % John Burkardt % % Parameters: % % Input, integer DIM_NUM, the dimension of the problem. % i4 = 0; p20_i4 ( 'D', '*', i4 ); r8 = 0.0; p20_r8 ( 'D', '*', r8 ); return end