xgas man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



XGAS(1)							XGAS(1)

NAME
       xgas - animated simulation of an ideal gas

SYNOPSIS
       xgas [-option ...]

DESCRIPTION
       xgas  is a physical simulation of an ideal gas in a heated
       box.  Gas molecules move around the  box with  velocities
       dependent  on  their temperature.  A chamber consisting of
       two boxes contains the gas molecules; the  temperature  of
       each  box  can be independently controlled by a scrollbar.
       When gas molecules collide with the walls, their tempera-
       ture approaches that of the box.

       Use  mouse  button  1 to create molecules one at a time at
       the cursor position.  Use mouse button  2  to  create  the
       maximum number of molecules at the cursor position.

OPTIONS
       This is a toolkit program;
	       all the usual toolkit options are available.

       -as     Sets the autoStart resource.

       -ts     Sets the timeStepSize resource.

       -d      Sets the delay resource.

       -rb     Sets the randomBounce resource.

       -eq     Sets the equilibrium resource.

       -mm     Sets the maxMolecules resource.

       -fg     Sets the foreground.

       -bg     Sets the background.

RESOURCES
       The xgas program uses the following X resources:

       autoStart
	       Starts  the  simulation	automatically.	Good for
	       canned demos.

       timeStepSize
	       Specifies the simulated time duration in microsec-
	       onds for each cycle of computation.

       delay   Specifies  the real time interval between timestep
	       computations.

X Version 11		Release 6				1

XGAS(1)							XGAS(1)

       randomBounce
	       In each wall collision, a molecule bounces elasti-
	       cally  (angle of incidence = angle of reflection).
	       A component of randomness is added to this  angle.
	       RandomBounce  varies  from  0.0 (no randomness) to
	       1.0 (completely random angle of incidence).

       equilibrium
	       During each wall collision, a  molecule's  kinetic
	       energy  approaches  that corresponding to the tem-
	       perature of the wall.  If equilibrium is 1.0,  the
	       molecule reaches the wall temperature immediately.
	       For values  between  1.0 and  0.0,  the	molecule
	       approaches   the temperature  of	 the  wall  more
	       slowly.

       maxMolecules
	       Specifies the maximum number of molecules  in  the
	       simulation.

SEE ALSO
       X(1), xwd(1)

BUGS
       When  the  chamber  is  resized, molecules should be rear-
       ranged appropriately.  Instead, the  molecule  arrays  are
       reinitialized.

AUTHOR
       Larry Medwin

X Version 11		Release 6				2

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net