FillVectorFloat.F


c**********************************************************************
#include "author.inc"
c*    $Id: FillVectorFloat.F,v 1.5 1995/07/30 17:49:26 turner Exp $
c*
c*    Fills a vector with a scalar.
c*
c*    <PARAMETER LIST>
c*
c*     Input:
c*      n - number of elements
c*      s - scalar
c*
c*     Output:
c*      x - destination vector
c*      status - return status
c*
#include "copyright.inc"
c**********************************************************************
      subroutine JT_FillVectorFloat (n, s, x, status)
      implicit none
c
c ... Input:
      integer n
      real s
c
c ... Output:
      integer status
      real x(n)
c
c ... Local:
      integer i
c
      do i=1,n
       x(i) = s
      enddo
c
      status = 0
      return
      end