scale

 
Scale a point distribution.
Format

scale / ifirst, ilast, istride / scaling_option / geom / iscale, jscale, kscale / xcen, ycen, zcen

 

scale Parameters

Parameters

Type/Value

Description/Default

ifirst, ilast, istride

integers

Defines the point distribution.

scaling_option

absolute

The scaling factors are constants added on to the existing coordinates. That is, absolute is really a translation rather than a rescale.

 

relative

the scaling factors are unitless multipliers with reference to some geometric center (xcen, ycen, zcen).

geom

xyz

Cartesian

 

rtz

Cylindrical

 

rtp

Spherical

iscale, jscale, kscale

integers

Scale factors.

The letters i,j, and k in the scale factors correspond to coordinates specified by one of the geometry types. For example,

if geometry = rtz then iscale = radial coordinate, jscale = theta coordiante, and kscale = z coordinate.
If geometry = rtp the iscale = radial coordiante, jscale = theta coordinate and kscale = phi coordinate.

 

pset, get name

 

xcen, ycen, zcen

reals

Geometric center.