Meep C-plus-plus Reference
From AbInitio
Revision as of 19:24, 7 November 2005; Stevenj (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Meep |
Download |
Release notes |
FAQ |
Meep manual |
Introduction |
Installation |
Tutorial |
Reference |
C++ Tutorial |
C++ Reference |
Acknowledgements |
License and Copyright |
This page will eventually be a compact listing of the different functions and classes provided by the C++ interface.
Currently, we haven't had time to write anything here. However, there are several other sources of information about the C++ interface:
- The source code — reading the sources and headers is our own main reference.
- The test programs included in the
tests/
directory. - The C++ tutorial.
- The original Meep manual, available from http://ab-initio.mit.edu/~meep/meep.pdf
Deprecated interfaces
Beware that some of the interfaces in the source code and in the old manual are now deprecated, as they have been superseded by newer features and may be removed at some point.
In particular, you should probably avoid:
- The
monitor_point
class. Just declare an array to store the fields you want, get them withfields::get_field
, and analyze them withdo_harminv
. Or, to accumulate the DFT as you run, use thedft_chunk
class viafields::add_dft
. - Slice and EPS output. This has been superseded by HDF5 output, which is much more flexible and efficient.