Re: The tri-rods.ctl control file
Theis Peter Hansen <[email protected]>
| Newsgroups | gmane.comp.science.photonic-bands |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2006-06-08 at 10:46 +0100, Kai Lin Woon wrote: > According to the file: > (set! geometry-lattice (make lattice (size 1 1 no-size) > (basis1 ) (/ (sqrt 3) 2) 0.5) > (basis2 (/ (sqrt 3) 2) -0.5))) > > I wonder anyone know what the hell does it mean by(/ sqrt 3) 2)????? Sure, you mean (/ (sqrt 3) 2), which is polish notation for sqrt(3)/2 (sqrt being the square root). Please note that you have an extra ')' after 'basis1' that should not be there. You may want to take a further look at Stevens Scheme links to better understand ctl-files and Scheme in general: http://ab-initio.mit.edu/wiki/index.php/Guile_and_Scheme_links > Cheers > KL Woon Regards, Theis