Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ types & classes
Types & classes
277 in github.com/NanoComp/meep
⨍
Functions
3,134
◇
Types & classes
277
↳
Endpoints
3
↓ 428 callers
Class
vec
src/meep/vec.hpp:594
↓ 181 callers
Class
Vector3
Properties: **`x`, `y`, `z` [`float` or `complex`]** — The `x`, `y`, and `z` components of the vector. Generally, functions that take a
python/geom.py:34
↓ 45 callers
Class
volume
src/meep/vec.hpp:948
↓ 21 callers
Enum
component
src/meep/vec.hpp:31
↓ 20 callers
Class
Volume
Many Meep functions require you to specify a volume in space, corresponding to the C++ type `meep::volume`. This class creates such a volume
python/simulation.py:402
↓ 19 callers
Class
Matrix
The `Matrix` class represents a 3x3 matrix with c1, c2, and c3 as its columns. ```python m.transpose() m.getH() or m.H m.determi
python/geom.py:1346
↓ 17 callers
Enum
direction
src/meep/vec.hpp:79
↓ 16 callers
Class
ivec
src/meep/vec.hpp:751
↓ 14 callers
Enum
derived_component
better name for centered "dielectric" grid
src/meep/vec.hpp:57
↓ 10 callers
Class
lorentzian_susceptibility
a Lorentzian susceptibility \chi(\omega) = sigma * omega_0^2 / (\omega_0^2 - \omega^2 - i\gamma \omega) If no_omega_0_denominator is true, then w
src/meep.hpp:246
↓ 8 callers
Class
boundary_region
linked list of descriptors for boundary regions (currently just for PML)
src/meep.hpp:657
↓ 8 callers
Class
grid_volume
src/meep/vec.hpp:1006
↓ 6 callers
Class
MockSimulation
Class which emulates the multi-core MPI behavior while on a single core. This inherits all methods from mp.Simulation but overrides two behaviors
python/tests/test_chunk_balancer.py:12
↓ 5 callers
Class
ContinuousSource
A continuous-wave (CW) source is proportional to $\\exp(-i\\omega t)$, possibly with a smooth (exponential/tanh) turn-on/turn-off. In practic
python/source.py:174
↓ 5 callers
Class
MPBArray
python/solver.py:31
↓ 4 callers
Class
ChunkBalancer
A chunk balancer for adaptive chunk layouts in Meep simulations. This class generates initial chunk layouts using Meep's built-in scheme, and
python/chunk_balancer.py:142
↓ 4 callers
Class
EigenModeSource
This is a subclass of `Source` and has **all of the properties** of `Source` above. However, you normally do not specify a `component`. Inste
python/source.py:409
↓ 4 callers
Class
FilteredSource
python/adjoint/filter_source.py:10
↓ 4 callers
Class
GaussianSource
A Gaussian-pulse source roughly proportional to $\\exp(-i\\omega t - (t-t_0)^2/2w^2)$. Technically, the "Gaussian" sources in Meep are the (d
python/source.py:256
↓ 3 callers
Class
material_type_list
src/material_data.hpp:171
↓ 3 callers
Class
medium_struct
src/material_data.hpp:67
↓ 3 callers
Class
volume_list
src/meep/vec.hpp:1179
↓ 2 callers
Class
BinaryPartition
Binary tree class used for specifying a cell partition of arbitrary sized chunks for use as the `chunk_layout` parameter of the `Simulation`
python/simulation.py:6354
↓ 2 callers
Class
DftFlux
python/simulation.py:687
↓ 2 callers
Class
Verbosity
A class to help make accessing and setting the global verbosity level a bit more pythonic. It manages one or more verbosity flags that are lo
python/verbosity_mgr.py:1
↓ 2 callers
Class
VerbosityForTest
Allows for testing of Verbosity without interfering with the singleton.
python/tests/test_verbosity_mgr.py:6
↓ 2 callers
Class
dft_energy
dft.cpp (normally created with fields::add_dft_energy)
src/meep.hpp:1287
↓ 2 callers
Class
dft_flux
dft.cpp (normally created with fields::add_dft_flux)
src/meep.hpp:1239
↓ 2 callers
Class
dft_force
stress.cpp (normally created with fields::add_dft_force)
src/meep.hpp:1324
↓ 2 callers
Enum
ndim
src/meep/vec.hpp:67
↓ 2 callers
Class
signed_direction
src/meep/vec.hpp:80
↓ 2 callers
Class
src_vol
src/meep.hpp:935
↓ 2 callers
Class
symmetry
src/meep/vec.hpp:1181
↓ 1 callers
Class
ClassItem
An introspected item that is a Class.
doc/generate_py_api.py:332
↓ 1 callers
Class
CustomSource
A user-specified source function $f(t)$. You can also specify start/end times at which point your current is set to zero whether or not your
python/source.py:342
↓ 1 callers
Class
Cylinder
A cylinder, with circular cross-section and finite height. **Properties:** + **`radius` [`number`]** — Radius of the cylinder's cross-s
python/geom.py:1163
↓ 1 callers
Class
DftEnergy
python/simulation.py:809
↓ 1 callers
Class
DftFields
python/simulation.py:836
↓ 1 callers
Class
DftForce
python/simulation.py:730
↓ 1 callers
Class
DftNear2Far
python/simulation.py:761
↓ 1 callers
Class
EigenmodeData
python/simulation.py:854
↓ 1 callers
Class
FieldsRegion
python/simulation.py:613
↓ 1 callers
Class
FunctionItem
An introspected item that is a function at module scope.
doc/generate_py_api.py:118
↓ 1 callers
Class
Harminv
Harminv is implemented as a class with a [`__call__`](#Harminv.__call__) method, which allows it to be used as a step function that collects
python/simulation.py:1056
↓ 1 callers
Class
JS_Animation
python/visualization.py:1402
↓ 1 callers
Class
Medium
This class is used to specify the materials that geometric objects are made of. It represents an electromagnetic medium which is possibly non
python/geom.py:265
↓ 1 callers
Class
MeepTimingMeasurements
Container for Meep timing measurements and performance information. See https://meep.readthedocs.io/en/latest/Python_User_Interface/#simulati
python/timing_measurements.py:42
↓ 1 callers
Class
MethodItem
An introspected item that is a method of a class. Mostly the same as a FunctionItem, but can do extra stuff for methods if needed.
doc/generate_py_api.py:306
↓ 1 callers
Class
MyCvar
python/tests/test_verbosity_mgr.py:12
↓ 1 callers
Class
Source
The `Source` class is used to specify the current sources via the `Simulation.sources` attribute. Note that all sources in Meep are separable
python/source.py:18
↓ 1 callers
Class
_dummy
python/verbosity_mgr.py:88
↓ 1 callers
Enum
boundary_side
src/meep/vec.hpp:78
↓ 1 callers
Class
continuous_src_time
Continuous (CW) source with (optional) slow turn-on and/or turn-off.
src/meep.hpp:1044
↓ 1 callers
Class
dft_fields
dft.cpp (normally created with fields::add_dft_fields)
src/meep.hpp:1451
↓ 1 callers
Class
dft_near2far
near2far.cpp (normally created with fields::add_dft_near2far)
src/meep.hpp:1361
↓ 1 callers
Class
gaussian_src_time
Gaussian-envelope source with given frequency, width, peak-time, cutoff
src/meep.hpp:1023
↓ 1 callers
Class
mode_solver
libpympb/pympb.hpp:50
↓ 1 callers
Class
timing_scope
RAII-based profiling timer that accumulates wall time from creation until it is destroyed or the `exit` method is invoked. Not thread-safe.
src/meep.hpp:1653
Class
Absorber
Instead of a `PML` layer, there is an alternative class called `Absorber` which is a **drop-in** replacement for `PML`. For example, you can
python/simulation.py:308
Class
AbstractChunkBalancer
Abstract chunk balancer for adaptive chunk layouts in Meep simulations. This class defines interfaces for a chunk balancer, which adjusts chunk
python/chunk_balancer.py:12
Class
Animate2D
A class used to record the fields during timestepping (i.e., a [`run`](#run-functions) function). The object is initialized prior to timestep
python/visualization.py:1433
Class
ApproxComparisonTestCase
A mixin for adding correct scalar/vector comparison.
python/tests/utils.py:7
Class
Basis
python/adjoint/basis.py:15
Class
BilinearInterpolationBasis
Simple bilinear interpolation basis set.
python/adjoint/basis.py:51
Class
BinaryPartitionUtilsTest
python/tests/test_binary_partition_utils.py:22
Class
Block
A parallelepiped (i.e., a brick, possibly with non-orthogonal axes).
python/geom.py:1240
Class
ChunkBalancerTest
python/tests/test_chunk_balancer.py:200
Class
Cone
A cone, or possibly a truncated cone. This is actually a subclass of `Cylinder`, and inherits all of the same properties, with one additional
python/geom.py:1219
Class
DesignRegion
python/adjoint/utils.py:26
Class
DftObj
Wrapper around DFT objects that allows delayed initialization of the structure. When splitting the structure into chunks for parallel simulations
python/simulation.py:627
Class
DiffractedPlanewave
For mode decomposition or eigenmode source, specify a diffracted planewave in homogeneous media. Should be passed as the `bands` argument of `get
python/simulation.py:163
Class
DrudeSusceptibility
Specifies a single dispersive susceptibility of Drude form. See [Material Dispersion](Materials.md#material-dispersion), with the parameters
python/geom.py:786
Class
EigenmodeCoefficient
A differentiable frequency-dependent eigenmode coefficient.
python/adjoint/objective.py:157
Class
Ellipsoid
An ellipsoid. This is actually a subclass of `Block`, and inherits all the same properties, but defines an ellipsoid inscribed inside the blo
python/geom.py:1272
Class
EnergyRegion
A region (volume, plane, line, or point) in which to compute the integral of the energy density of the Fourier-transformed fields. Its proper
python/simulation.py:598
Class
FTW
src/output_directory.cpp:162
Class
FluxRegion
A `FluxRegion` object is used with [`add_flux`](#flux-spectra) to specify a region in which Meep should accumulate the appropriate Fourier-tr
python/simulation.py:510
Class
ForceRegion
A region (volume, plane, line, or point) in which to compute the integral of the stress tensor of the Fourier-transformed fields. Its propert
python/simulation.py:571
Class
FourierFields
A differentiable frequency-dependent Fourier fields (dft_fields)
python/adjoint/objective.py:308
Class
GaussianBeam2DSource
Identical to `GaussianBeam3DSource` except that the beam is defined in 2d. This is useful for 2d simulations where the 3d beam is not exact.
python/source.py:815
Class
GaussianBeam3DSource
This is a subclass of `Source` and has **all of the properties** of `Source` above. However, the `component` parameter of the `Source` object is
python/source.py:693
Class
GaussianBeamSource
Wrapper for GaussianBeam3DSource to warn the user when running 2D simulations that this behavior is deprecated and they should be using GaussianB
python/source.py:1070
Class
GeometricObject
This class, and its descendants, are used to specify the solid geometric objects that form the dielectric structure being simulated. In
python/geom.py:1016
Class
GyrotropicDrudeSusceptibility
(**Experimental feature**) Specifies a single dispersive [gyrotropic susceptibility](Materials.md#gyrotropic-media) of [Lorentzian (damped ha
python/geom.py:899
Class
GyrotropicLorentzianSusceptibility
(**Experimental feature**) Specifies a single dispersive [gyrotropic susceptibility](Materials.md#gyrotropic-media) of [Lorentzian (damped ha
python/geom.py:880
Class
GyrotropicSaturatedSusceptibility
(**Experimental feature**) Specifies a single dispersive [gyrotropic susceptibility](Materials.md#gyrotropic-media) governed by a [linearized
python/geom.py:918
Class
Identity
python/simulation.py:398
Class
IndexedSource
created a source object using (SWIG-wrapped mp::srcdata*) srcdata.
python/source.py:1084
Class
Item
Common base class for documentable items.
doc/generate_py_api.py:88
Class
LDOS
A differentiable LDOS
python/adjoint/objective.py:547
Class
Lattice
python/geom.py:1513
Class
LorentzianSusceptibility
Specifies a single dispersive susceptibility of Lorentzian (damped harmonic oscillator) form. See [Material Dispersion](Materials.md#material
python/geom.py:741
Class
MPBData
python/mpb_data.py:10
Class
MaterialGrid
This class is used to specify materials on a rectilinear grid. A class object is passed as the `material` argument of a [`Block`](#block) geo
python/geom.py:578
Class
MeepJaxWrapper
Wraps a Meep simulation object into a JAX-differentiable callable. Attributes: simulation: the pre-configured Meep simulation object.
python/adjoint/wrapper.py:63
Class
Mirror
A mirror symmetry plane. `direction` is the direction *normal* to the mirror plane.
python/simulation.py:392
Class
MockSimulationTest
python/tests/test_chunk_balancer.py:157
Class
ModeSolver
python/solver.py:74
Class
MultilevelAtom
Specifies a multievel atomic susceptibility for modeling saturable gain and absorption. This is a subclass of `E_susceptibilities` which cont
python/geom.py:960
Class
Near2FarFields
A differentiable near2far field transformation
python/adjoint/objective.py:435
next →
1–100 of 277, ranked by callers