This will be discussed more below. In the X.MESH and Y.MESH statements the ratio of node spacings must be defined. A ratio, R, equal to one generates uniformly spaced node points. For R less than one, the node spacing decreases by R as the node number increases, and for R greater than one the node spacing increases. The value of R, and the number of nodes to use are given by two simple equations.
L is the length of the section that is being gridded.
These formulas can be used to generate a tight grid at the junctions, and wide grid in resistive regions. Plotting the grid Creating plots of the grid with the PLOT.2D statement using the GRID parameter is a valuable tool in setting up the grid. This should be used throughout the grid generation process. In the PLOT.2D statement you can request that Pisces plot the depletion edges. What Pisces actually plots is a contour anywhere that the net carrier concentration becomes less than the net impurity concentration by a factor of two.