run:
	#Create the mesh
	netgen -geofile=geom_1000.geo -moderate -meshfiletype="Neutral Format" -batchmode -meshfile=out.neu
	#Import the mesh
	nmeshimport --netgen out.neu nanowire.nmesh.h5
	#Run the relaxation simulation; change the arguments for waves of other configuration	
	nsim run.py --clean par; 
	#Run the dynamics simulation
	nsim run.py --clean par
	#Extract a particular component of the magnetization in the required region; Here extracting the y component of the magnetization
	#along a line scan parallel to the length of the stripe (i.e. along the x direction) and through the centre
	nmagprobe --verbose par-dyn_dat.h5 --field=m_Py --time=0,5000e-12,5001 --space=0,1000,251/0/0 --ref-time=0.0 --scalar-mode=component,1 --ft-axes=0,1 --out=real-space.dat --ft-out=rec-space.dat; 
	#Run the python script for post processing and producing the dispersion curves
	python post_process.py real-space.dat rec-space.dat spin_waves.png dispersion_spin_waves.png
	
