Dear Alan For doing what you want, just look at :
http://ab-initio.mit.edu/wiki/index.php/Meep_field-function_examples there are some examples. Best Regards! Mehdi Kamali On Tue, Feb 21, 2012 at 8:30 PM, <[email protected]>wrote: > Send meep-discuss mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of meep-discuss digest..." > > > Today's Topics: > > 1. Integrating (Alan Forrester) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 20 Feb 2012 17:21:35 +0000 > From: Alan Forrester <[email protected]> > To: [email protected] > Subject: [Meep-discuss] Integrating > Message-ID: > <caax_q8g9dueddgdcv_h2ecjeckh8834_jtqv0c3mvxhtu-9...@mail.gmail.com > > > Content-Type: text/plain; charset=ISO-8859-1 > > Hello > > Suppose that I want to add the following two functions > > (define (txx ex ey ez dx dy dz bx by bz hx hy hz) > (- (+ (* dx (conj ex) ) (* bx (conj hx) ) ) (* 0.5 (+ (* dx > (conj > ex)) (* dy (conj ey)) (* dz (conj ez)) )) > (* 0.5 (+ (* bx (conj hx)) (* by (conj hy)) (* bz (conj > hz)) )) ) ) > > (define (txy ey dx bx hy) > (+ (* dx (conj ey)) (* bx (conj hy)) )) > > and integrate them along a line. What is the syntax for doing that? > > Thanks, > Alan Forrester > > > > ------------------------------ > > _______________________________________________ > meep-discuss mailing list > [email protected] > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss > > End of meep-discuss Digest, Vol 72, Issue 12 > ******************************************** >
_______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

