# Demonstrations of Heat transfer simulation

# General run conditions
HRUN = ./heat.py -V -n 40 -e 0.0001 -s 2000

demo1:
	# Heat transfer with horizontal boundary conditions
	$(HRUN) -b h

demo2:
	# Heat transfer with corner boundary conditions
	$(HRUN) -b c

demo3:
	# Heat transfer with diagonal boundary conditions
	$(HRUN) -b d

demo4:
	# Heat transfer with random boundary conditions
	$(HRUN) -b r

captures:
	./heat.py -V -b h -s 0   -C cap-h-s000.png
	./heat.py -V -b h -s 1   -C cap-h-s001.png
	./heat.py -V -b h -s 10  -C cap-h-s010.png
	./heat.py -V -b h -s 11  -C cap-h-s11.png
	./heat.py -V -b h -s 200 -C cap-h-s200.png
	./heat.py -V -b h        -C cap-h-sINF.png
	./heat.py -V -b c -s 0   -C cap-c-s000.png
	./heat.py -V -b c -s 200 -C cap-c-s200.png
	./heat.py -V -b c        -C cap-c-sINF.png
	./heat.py -V -b d -s 0   -C cap-d-s000.png
	./heat.py -V -b d -s 200 -C cap-d-s200.png
	./heat.py -V -b d        -C cap-d-sINF.png
	./heat.py -V -b r -s 0   -C cap-r-s000.png
	./heat.py -V -b r -s 200 -C cap-r-s200.png
	./heat.py -V -b r        -C cap-r-sINF.png

clean:
	rm -f *.pyc *~
	rm -f *.png