function n = ndims(this)
%NDIMS  Returns number of grid dimensions.

%   Copyright 1986-2003 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $  $Date: 2004/12/26 21:31:30 $
n = length(this.Grid_);
