+ essai
This commit is contained in:
parent
c07b5f163f
commit
aa73934c72
3
BloubWorld/.gitignore
vendored
3
BloubWorld/.gitignore
vendored
@ -5,6 +5,7 @@ nbimg.inc
|
|||||||
*.gif
|
*.gif
|
||||||
*.blbs
|
*.blbs
|
||||||
*.mp4
|
*.mp4
|
||||||
|
*.lst
|
||||||
frames/*
|
frames/*
|
||||||
log.*
|
log.*
|
||||||
|
|
||||||
@ -12,4 +13,6 @@ exportbloubs
|
|||||||
genbloubs
|
genbloubs
|
||||||
movebloubs
|
movebloubs
|
||||||
mergebloubs
|
mergebloubs
|
||||||
|
essai
|
||||||
|
|
||||||
|
core
|
||||||
|
@ -2,25 +2,34 @@
|
|||||||
|
|
||||||
all: genbloubs movebloubs exportbloubs mergebloubs
|
all: genbloubs movebloubs exportbloubs mergebloubs
|
||||||
|
|
||||||
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
GFOPT = -Wall -Wextra -g -time
|
GFOPT = -Wall -Wextra -g -time
|
||||||
OBJS = bloubspace.o povstuff.o mathstuff.o
|
OBJS = bloubspace.o povstuff.o mathstuff.o
|
||||||
|
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
|
essai: essai.f90 Makefile mathstuff.o
|
||||||
|
gfortran $(GFOPT) $< mathstuff.o -o $@
|
||||||
|
|
||||||
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
initial.blbs: genbloubs Makefile
|
initial.blbs: genbloubs Makefile
|
||||||
./genbloubs $@ 1000
|
./genbloubs $@ 1000
|
||||||
|
|
||||||
in.blbs: genbloubs Makefile
|
in.blbs: genbloubs Makefile
|
||||||
./genbloubs $@ 300
|
./genbloubs $@ 30000
|
||||||
|
|
||||||
out.blbs: in.blbs mergebloubs Makefile
|
out.blbs: in.blbs mergebloubs Makefile
|
||||||
./mergebloubs $< $@
|
./mergebloubs $< $@
|
||||||
|
|
||||||
|
out.lst: out.blbs exportbloubs Makefile
|
||||||
|
./exportbloubs $< > $@
|
||||||
|
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
bloubspace.o: bloubspace.f90 Makefile
|
bloubspace.o: bloubspace.f90 Makefile
|
||||||
gfortran $(GFOPT) -c $<
|
gfortran $(GFOPT) -pg -c $<
|
||||||
|
|
||||||
povstuff.o: povstuff.f90 Makefile
|
povstuff.o: povstuff.f90 Makefile
|
||||||
gfortran $(GFOPT) -c $<
|
gfortran $(GFOPT) -c $<
|
||||||
|
16
BloubWorld/essai.f90
Normal file
16
BloubWorld/essai.f90
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
program essai
|
||||||
|
|
||||||
|
use mathstuff
|
||||||
|
implicit none
|
||||||
|
|
||||||
|
integer :: foo
|
||||||
|
real :: quux
|
||||||
|
|
||||||
|
call init_random_seed()
|
||||||
|
|
||||||
|
do foo=1, 200000
|
||||||
|
quux = rand()
|
||||||
|
print *, foo, quux
|
||||||
|
enddo
|
||||||
|
|
||||||
|
end program
|
Loading…
Reference in New Issue
Block a user