function [ u, v, p ] = uvp_cavity ( nu, rho, n, x, y, t )

%*****************************************************************************80
%
%% uvp_cavity() returns velocity and pressure for the cavity flow.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 August 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real NU, the kinematic viscosity.
%
%    real RHO, the fluid density.
%
%    integer N, the number of nodes.
%
%    real X(N), Y(N), the coordinates of nodes.
%
%    real T, the current time.
%
%  Output:
%
%    real U(N), V(N), the X and Y velocity.
%
%    real P(N), the pressure.
%
  [ u, dudt, dudx, dudxx, dudy, dudyy, us, ...
    v, dvdt, dvdx, dvdxx, dvdy, dvdyy, vs, ...
    p, dpdt, dpdx, dpdxx, dpdy, dpdyy, ps ] = all_cavity ( nu, rho, n, x, y, t );

  return
end

