Open guyer opened 5 months ago
nx, ny, and nz are cardinal numbers of grid cells. They should not be allowed to be floats or non-positive integers (zero probably needs to be allowed for parallel partitioning).
nx
ny
nz
>>> mesh = fp.Grid1D(nx=0.01, dx=10) >>> mesh UniformGrid1D(dx=10, nx=0)
nx
,ny
, andnz
are cardinal numbers of grid cells. They should not be allowed to be floats or non-positive integers (zero probably needs to be allowed for parallel partitioning).