|
|
|
|
|
|
|
|
|
data_align
|
data_align, file, alignment
in binary file FILE, align new variables to begin at a byte address
which is a multiple of ALIGNMENT. (This affects placement of data
declared using save and add_variable. For add_variable, data_align
has an effect only if the address is not specified.) If ALIGNMENT
is <=0, new variables will be aligned as they would be if they were
data structure members. The default value is 0.
unknown type function, documented at startup/std.i line 2367
| |
| SEE ALSO: |
save, |
|
|
dbauto
|
unknown type function, documented at startup/std.i line 2777 | |
| SEE |
dbexit |
|
|
dbcont
|
unknown type function, documented at startup/std.i line 2777 | |
| SEE |
dbexit |
|
|
dbdis
|
unknown type function, documented at startup/std.i line 2777 | |
| SEE |
dbexit |
|
|
dbexit
|
Debug mode.
Yorick errors fall into two general categories: Syntax errors discovered
during parsing, and runtime errors discovered when a Yorick program is
actually running. When a runtime error occurs, Yorick offers the
choice of entering "debug mode", which you can do by typing the
| |
|
dbinfo
|
unknown type function, documented at startup/std.i line 2777 | |
| SEE |
dbexit |
|
|
dbret
|
unknown type function, documented at startup/std.i line 2777 | |
| SEE |
dbexit |
|
|
dbskip
|
unknown type function, documented at startup/std.i line 2777 | |
| SEE |
dbexit |
|
|
dbup
|
unknown type function, documented at startup/std.i line 2777 | |
| SEE |
dbexit |
|
|
dec_primitives
|
dec_primitives, file
sets FILE primitive data types to be native to DEC (MIPS) workstations.
unknown type function, documented at startup/std.i line 1960
| |
|
default_gate
|
default_gate(times)
initial value of drat_gate. Refer to the source code
to learn how to write your own gate function, making proper use
of drat_start and drat_stop options in addition to the input times.
unknown type function, documented at startup/drat.i line 788
| |
| SEE ALSO: |
gauss_gate, |
|
|
default_integrate
|
atten_emit= default_integrate(f, mesh, time, irays, slimits)
is the default drat_integrate routine.
On entry, file F is positioned at TIME, from which MESH has already
been read. IRAYS and SLIMITS are the rays coordinates (in internal
format) and integration limits.
The result should be ngroup-by-2-by-raydims, where the second index
is 1 for the attenuation factor, 2 for the self-emission (specific
intensity due to emission along the ray).
OPTIONS: drat_linear, drat_ocompute, drat_oadjust,
drat_emult, drat_amult, drat_omult, drat_nomilne,
drat_ekap, drat_akap, drat_glist
unknown type function, documented at startup/drat.i line 187
| |
| SEE ALSO: |
streak |
|
|
default_ocompute
|
default_ocompute(f, time)
initial value of drat_ocompute. Extracts drat_akap and drat_ekap
from file F, possibly using the subset drat_glist. TIME is unused.
unknown type function, documented at startup/drat.i line 731
| |
|
demo1
|
demo1
run the 1-D hydrocode demonstration. An X window should pop up
in which a movie of a wave propagating down a shock tube appears.
Use the 'sound' and 'shock' commands to set two different interesting
initial conditions; the default is 'sound'.
unknown type function, documented at include/demo1.i line 291
| |
| SEE ALSO: |
sound, |
|
|
demo2
|
demo2
Exhibit quadrilateral mesh plots in 3 movies of a drumhead.
The drumhead is initially stationary, but has a bump near one
edge. Yorick is solving a 2D wave equation to compute the
evolution of this bump.
The first movie is a filled mesh plot with color "proportional"
to the height of the surface of the drum. A few well chosen
contour levels (here 3) add a lot to a filled mesh plot.
The second movie is a "3D" perspective plot of the height of the
drumhead. In this movie, the mesh lines are drawn, which is
slightly confusing since the cells are not all the same shape.
The second movie is a "3D" shaded plot of the height of the
drumhead. Yorick computes surface shading based on the angle
of each cell from a light source.
As you watch this, you might reflect on the two dimensionality
of your retina. What Yorick lacks by way of 3D graphics is
really just fancy hidden surface algorithms; the simple
painter's algorithm used here and in plwf.i is easy to
implement.
There are two optional arguments to demo2: the first is the
number fo the movie (1, 2, or 3) you want to watch; the second
is a time limit on the duration of each movie in seconds (default
is 60 seconds each).
unknown type function, documented at include/demo2.i line 42
| |
|
demo3
|
demo3
Solve Lagrange's equations for a famous chaotic pendulum (as on
exhibit at the San Francisco Exploratorium). Run a movie of the
result. By default, the movie runs for 60 seconds, but if you
supply an argument to the demo3 function, it will run for that
many seconds.
The kick= keyword may be used to adjsut the initial amplitude;
kick= 1.2 is the default.
You may also wish to supply a damp_time= keyword to see the effect
of an ad hoc damping term. damp_time=100 is nice.
unknown type function, documented at include/demo3.i line 31
| |
|
demo4
|
demo4
or demo4, mono=1
solves for the flow past a 2D airfoil using Kutta-Jakowski theory.
The colors represent static pressure (darker is lower pressure),
red lines are streamlines.
Solutions for various angles of attack are shown by animation.
With the mono=1 keyword, only the streamlines are shown. (On a
monochrome terminal, the pressure makes the streamlines invisible.)
unknown type function, documented at include/demo4.i line 27
| |
|
demo5
|
demo5
or demo5, i
Run examples of use of pl3d.i, plwf.i, and slice3.i. With
argument I = 1, 2, or 3, run that particular demonstration.
Read the source code to understand the details of how the
various effects are obtained.
demo5,1 demonstrates the various effects which can be obtained
with the plwf (plot wire frame) function.
demo5,2 demonstrates shading effects controlled by the light3
function
demo5,3 demonstrates the slice3, slice2, and pl3tree functions,
as well as changing the orientation of the 3D object
unknown type function, documented at include/demo5.i line 45
| |
| SEE ALSO: |
plwf, spin3, pl3tree, |
|
|
digit2
|
digit2(y0,x0, y,x)
-or- digit2(y0,x0, y,x,reg)
return the index of the zone of the point or points (X0,Y0)
in the quadrilateral mesh (X,Y) with the optional region
array REG. The result has the same dimensions as the input
X0 and Y0 arrays. The result is <=0 at points outside the mesh.
By default, the zone index is an index into an (M-1)-by-(N-1)
array, if X and Y are M-by-N. However, if the keyword pt= is
non-nil and non-zero, the return value is the index into an
M-by-N array in which the first row and column are non-existent
(like the optional REG array).
unknown type function, documented at include/digit2.i line 34
| |
| SEE ALSO: |
digitize, |
|
|
digitize
|
digitize(x, bins)
returns an array of longs with dimsof(X), and values i such that
BINS(i-1) <= X < BINS(i) if BINS is monotonically increasing, or
BINS(i-1) > X >= BINS(i) if BINS is monotonically decreasing.
Beyond the bounds of BINS, returns either i=1 or i=numberof(BINS)+1
as appropriate.
unknown type function, documented at startup/std.i line 938
| |
| SEE ALSO: |
histogram, where2 |
|
|
dimsof
|
dimsof(object)
or dimsof(object1, object2, ...)
returns a vector of integers describing the dimensions of OBJECT.
The format of the vector is [number of dims, length1, length2, ...].
The orgsof function returns the origin of each dimension (normally 1).
If more than one argument is given, dimsof returns the dimension
list of the result of binary operations between all the objects,
or nil if the objects are not conformable.
unknown type function, documented at startup/std.i line 343
| |
| SEE ALSO: |
typeof, |
|
|
dirt_rays
|
dirt_rays(rays)
returns 3-element (x,y,theta) representation of RAYS.
The first dimension of RAYS may be length 3, 5, or 6 to represent
the ray(s) in TDG/DIRT coordinates (x,y,theta), "best" coordinates
(x,y,z,theta,phi), or internal coordinates (cos,sin,y,z,x,r),
respectively. The first dimension of the result always has length 3.
The TDG/DIRT coordinate system is based on the coordinates (x,y)
in a plane normal to the ray. Unfortunately, the old TDG and DIRT
codes used an angle theta which has the opposite sense from the
"best" and internal coordinates. Therefore, conversion from
TDG/DIRT coordinates to internal coordinates will reverse the
sign of theta. Conversion from TDG/DIRT coordinates to "best"
coordinates always results in positive theta, but the angle phi
will be pi for positive input theta.
The slimits parameter -- used to specify the points along
a ray where the transport integration starts and stops -- is
measured from the point of closest approach of the ray described
by (x,y,theta) to the origin x=y=z=0. Therefore, slimits is
independent of the TDG/DIRT ray coordinate representation.
unknown type function, documented at include/rays.i line 124
| |
| SEE ALSO: |
form_rays, picture_rays |
|
|
disassemble
|
disassemble(function)
or disassemble, function
Disassembles the specified function. If called as a function, the
result is returned as a vector of strings; if called as a subroutine,
the disassembly is printed at the terminal. If the function is nil,
the current *main* program is disassembled -- you must include the
call to disassemble in the main program, of course, NOT on its own
line as a separate main program.
unknown type function, documented at startup/std.i line 259
| |
|
draw3
|
draw3
Draw the current 3D display list.
(Ordinarily triggered automatically when the drawing changes.)
unknown type function, documented at include/pl3d.i line 687
| |
|
dump_clog
|
dump_clog, file, clog_name
dumps a Contents Log of the binary file FILE into the text file
CLOG_NAME. Any previous file named CLOG_NAME is overwritten.
unknown type function, documented at startup/std.i line 1871
| |
| SEE ALSO: |
openb |
|
|
dump_palette
|
dump_palette, name
dump the current palette under the NAME. If NAME contains no
slash characters, the palette_directory will be prepended to the
name. The name can be fed back to the palette command in order
to reload the cumped palette.
unknown type function, documented at include/color.i line 36
| |
| SEE ALSO: |
brighten, |
|
|
|
|
|
|
|
|
|