Skip to content

Project for Organization of Programming Languages

Notifications You must be signed in to change notification settings

psh4nk/diffusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIFFUSION

Default dimensions = 10

Partition is enabled by default

To set dimensions and whether partition is used, change variables in code. They are clearly marked near the top of each diffusion program.

C

To compile and run diffusion.c:

gcc diffusion.c time ./a.out

C SHARP

To compile and run diffusion.cs:

mcs diffusion.cs

time mono diffusion.exe

FORTRAN

To compile and run diffusion.f90:

gfortran cube_mem.f90

gfortan diffusion.f90 cube_mem.f90

time ./a.out

GO

To compile and run diffusion.go:

time go run diffusion.go

LISP

To compile and run diffusion.lisp:

chmod u+x diffusion.lisp

time ./diffusion.lisp

PYTHON

To compile and run diffusion.py:

chmod u+x diffusion.py

time ./diffusion.py

About

Project for Organization of Programming Languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published