10 lines
234 B
Matlab
10 lines
234 B
Matlab
function npts = nPoints(d)
|
|
% NPOINTS Get the number of grid points.
|
|
% npts = nPoints(d)
|
|
% :param d:
|
|
% Instance of class :mat:func:`Domain1D`
|
|
% :return:
|
|
% Integer number of grid points.
|
|
%
|
|
|
|
npts = domain_methods(d.dom_id, 14);
|