Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/tests/nofib/real/pic/PicType.hs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


-- 
--      Patricia Fasel
--      Los Alamos National Laboratory
--	PIC: Particle in Cell
--      1990 August
--
module PicType (Count, Indx, Value, Mesh, MeshAssoc, Electric,
		Phi, Rho, Position, Range, Velocity, ParticleHeap) where

import Array

type	Count		= Int
type	Indx		= Int
type	Value		= Double
type	Mesh		= Array (Int,Int) Value
type	MeshAssoc	= ((Int,Int), Value) -- changed for 1.3
type	Electric	= (Mesh, Mesh)
type	Phi		= Mesh
type	Rho		= Mesh
type	Position	= (Value, Value)
type	Range		= [Indx]
type	Velocity	= (Value, Value)
type	ParticleHeap	= ([Position], [Velocity])

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.