Re: Fast chemical diffusion supported via Matrix2D class.

jon klein <[email protected]> Mon, 31 Jan 2005 14:03:42 -0500
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Jan 31, 2005, at 1:50 PM, Sanjeev Paskaradevan wrote:

> In the new versions description it states that breve can now handle
> fast chemical diffusion.   I tried to check the documentation for this
> but it seems to be missing from the web.  I would like to know if we
> can now use this to simmulate ant pheromones properly?

[ this message is referring to breve 2.1, which was released this
   morning, though I have not yet sent an announcement to the list ]

Yes -- breve 2.1 supports fast chemical diffusion for 2D matrices
with the class Matrix2D.  This feature is hardware accelerated with
AltiVec on supported Macintosh machines.  Documentation on this class
is available at
http://www.spiderland.org/breve/breve_docs/classes/Matrix2D.html .

To see a sample of chemical diffusion in breve, look at the GrayScott.tz
demo in the Chemistry folder.  This is the Gray-Scott reaction/diffusion
algorithm which shows self-replicating spots and other patterns.

Currently, this feature only allows for 2D diffusion, though a 3D
implementation is in the works.

Also, the chemical concentration information in the matrix is
non-spatial: your simulation will have to map the information into
space, perhaps using a PatchGrid object, or a simple custom calculation.
In the future, the PatchGrids will be closely integrated with the
Matrix objects so that this can be done automatically.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve