Ideal gas simulator. Maybe we should make a "physics" category

for stuff like this.

Submitted by:	Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
This commit is contained in:
Satoshi Asami 1996-11-15 09:55:46 +00:00
parent 3f47969df7
commit c97f2b04f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4470
5 changed files with 52 additions and 0 deletions

22
misc/xgas/Makefile Normal file
View file

@ -0,0 +1,22 @@
#New ports collection makefile for: xgas
# Version required:
# Date created: 20 Oct 1996
# Whom: Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp>
#
# $Id$
#
DISTNAME= xgas
PKGNAME= xgas-1.0
CATEGORIES= misc
MASTER_SITES= ftp://ftp.tut.ac.jp/.h3/X11/X11R6/contrib/programs/
MAINTAINER= nakai@mlab.t.u-tokyo.ac.jp
USE_IMAKE= yes
post-install:
@chmod 755 ${PREFIX}/bin/xgas
@chown bin.bin ${PREFIX}/bin/xgas
.include <bsd.port.mk>

1
misc/xgas/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (xgas.tar.gz) = d48372429fbada32acf403105865924d

1
misc/xgas/pkg-comment Normal file
View file

@ -0,0 +1 @@
The animated simulation of an ideal gas

25
misc/xgas/pkg-descr Normal file
View file

@ -0,0 +1,25 @@
Xgas, animated simulation of an ideal gas
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 collide with the walls, their temperature
approarches 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.
Usage: xgas [ -options ]
Options:
-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.
Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>

3
misc/xgas/pkg-plist Normal file
View file

@ -0,0 +1,3 @@
bin/xgas
lib/X11/app-defaults/XGas
man/man1/xgas.1.gz