Le  9 November 2006, G.J. Parker, à bout, prit son clavier pour
taper sur son écran:
> 
> On Nov 9, 2006, at 12:01 PM, Loïc Le Guyader wrote:
> 
> >On Fri, 29 Sep 2006, you said that it was possible to reduce the  
> >memory usage
> >due to polarizability. What are the news on this subject ?
> >
> 
> original patch posted by Steven, this does reduce memory requirements  
> when using Lorentzians. i have no problems using five Lorentzians w/  
> this patch. one can write a stupid excel spread sheet to fit N  
> lorentzians to a table of (experimental) complex epsilons...
> 
> 
> diff -rN old-meep/src/polarization.cpp new-meep/src/polarization.cpp
> 29c29
> <   if (sc->pb == NULL) return NULL;
> ---
> >   if (sc->pb == NULL || !sc->is_mine()) return NULL;

Applied patch and no effect at all.

For a simulation of 1 065 600 cells made of air, meep consume 357 MB.

The same with 345 600 cells made this time of a material (two different in
fact, but both with 3 polarizability) with 3 polarizability,
meep consume then 1.2 GB

Both checked with and without the patch. No difference at all. And checked
again.

This patch should be for something else.

Cheers.

-- 

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to