NanoComp / mpb

MIT Photonic-Bands: computation of photonic band structures in periodic media
GNU General Public License v2.0
165 stars 89 forks source link

Document memory scaling laws #156

Open glui opened 2 years ago

glui commented 2 years ago

For very large models, memory requirements become demanding. Would it be possible to formally state the scaling laws in the documentation or even provide functions to estimate the absolute memory usage? Of particular interest is the impact of the total number of bands to be solved, as that came as a surprise to us. If this is not possible analytically, I would be happy to contribute some empirical results on a research cluster for a proposed test suite.

thchr commented 2 years ago

Scaling laws are discussed in Section 3.4-3.5 of the MPB Optics Express paper. I also think it could be nice to have some simple variant of those in the documentation, for quick reference.