Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ functions
Functions
3,134 in github.com/NanoComp/meep
⨍
Functions
3,134
◇
Types & classes
277
↳
Endpoints
3
↓ 2 callers
Function
test_periodic_mirror_zone_edge
Test mirror symmetry with Bloch-periodic boundaries at the zone edge. This exercises the bug fix from issue #132: eikna[d] must be computed using user
tests/symmetry.cpp:919
↓ 2 callers
Function
test_periodic_twomirrors
Test two mirror symmetries (X and Y) with Bloch-periodic boundaries at the zone edge. With Mirror(X) + Mirror(Y), gv is halved in both directions. k_x
tests/symmetry.cpp:968
↓ 2 callers
Function
test_yperiodic_ymirror
tests/symmetry.cpp:559
↓ 2 callers
Function
third_harmonic_generation
Computes the transmission spectrum of a plane wave propagating through a Kerr medium. Args: k: strength of Kerr susceptibility.
python/examples/3rd-harm-1d.py:17
↓ 2 callers
Method
time_spent_on
Return a list of times spent by each process for a type of work `time_sink` which is the same as for `mean_time_spent_on`.
python/simulation.py:4622
↓ 2 callers
Method
time_spent_on
(self, time_sink: int)
python/tests/test_chunk_balancer.py:42
↓ 2 callers
Function
timing_data_vector
src/time.cpp:59
↓ 2 callers
Method
transform
Transforms `epsilon`, `mu`, and `sigma` of any [susceptibilities](#susceptibility) by the 3×3 matrix `m`. If `m` is a [rotation
python/geom.py:456
↓ 2 callers
Method
transform_node
(self, name, node)
doc/generate_py_api.py:241
↓ 2 callers
Method
transformed_overlap
(self, W, w)
python/solver.py:1163
↓ 2 callers
Function
traverse_tree
(bp=None, min_corner=None, max_corner=None)
python/tests/test_chunk_layout.py:7
↓ 2 callers
Function
uniform_random
src/random.cpp:52
↓ 2 callers
Method
update_band_range_data
(self, brd, freqs, kpoint)
python/solver.py:506
↓ 2 callers
Method
update_dfts
src/dft.cpp:250
↓ 2 callers
Method
use_pml
src/structure.cpp:509
↓ 2 callers
Method
using_real_fields
(self)
python/simulation.py:2521
↓ 2 callers
Function
v3
tests/array-metadata.cpp:20
↓ 2 callers
Function
v3_to_pyv3
python/typemap_utils.cpp:297
↓ 2 callers
Function
vec2diel_ceil
tests/array-metadata.cpp:40
↓ 2 callers
Function
vec2diel_floor
/ / /
tests/array-metadata.cpp:31
↓ 2 callers
Function
vec_to_value
convenience routine to get element of material tensors */
src/meepgeom.cpp:2505
↓ 2 callers
Method
wvg_flux
Computes the Poynting flux in a single-mode waveguide at two locations (5 and 10 μm) downstream from the source given the gri
python/tests/test_conductivity.py:11
↓ 2 callers
Function
x_periodic
tests/known_results.cpp:78
↓ 2 callers
Function
x_periodic_y_pml
tests/known_results.cpp:65
↓ 2 callers
Method
zero_fields
src/fields.cpp:625
↓ 1 callers
Method
F
src/dft_ldos.cpp:82
↓ 1 callers
Function
FOR_H_AND_B
So that we can make sure to delete everything... for mu=1 non-PML regions, H==B to save space/time - don't delete twice!
src/fields.cpp:167
↓ 1 callers
Method
J
src/dft_ldos.cpp:89
↓ 1 callers
Function
Jmax
src/initialize.cpp:64
↓ 1 callers
Method
__init__
( self, rho_vector=None, volume=None, size=None, center=mp.Vector3(),
python/adjoint/basis.py:18
↓ 1 callers
Method
_analyze_harminv
(self, sim, maxbands)
python/simulation.py:1178
↓ 1 callers
Method
_analyze_pade
(self, sim)
python/simulation.py:989
↓ 1 callers
Method
_boundaries_to_vols_1d
(self, boundaries)
python/simulation.py:1731
↓ 1 callers
Method
_boundaries_to_vols_2d_3d
(self, boundaries, cyl: bool = False)
python/simulation.py:1744
↓ 1 callers
Method
_calculate_vjps
Calculates the VJP for a given set of forward and adjoint fields.
python/adjoint/wrapper.py:200
↓ 1 callers
Method
_check_freqs
(self, sim)
python/simulation.py:1158
↓ 1 callers
Function
_check_if_cylindrical
(sim: mp.Simulation)
python/adjoint/utils.py:80
↓ 1 callers
Method
_check_material_frequencies
(self)
python/simulation.py:1640
↓ 1 callers
Method
_collect_harminv
(self)
python/simulation.py:1145
↓ 1 callers
Method
_collect_pade
(self, c, vol, center, size)
python/simulation.py:979
↓ 1 callers
Function
_compute_components
(sim: mp.Simulation)
python/adjoint/utils.py:84
↓ 1 callers
Method
_compute_working_times_per_process
Computes the time spent by each MPI process actively working.
python/chunk_balancer.py:271
↓ 1 callers
Function
_create_boundary_region_from_boundary_layers
(boundary_layers, gv)
python/simulation.py:4985
↓ 1 callers
Method
_create_symmetries
(self, gv)
python/simulation.py:1697
↓ 1 callers
Function
_dup
(min_multiple, lst)
python/geom.py:1624
↓ 1 callers
Method
_embedded_frames
(self, frame_list: list, frame_format: str)
python/visualization.py:1653
↓ 1 callers
Method
_get_chunk_communication_area
(self, vol: Volume)
python/simulation.py:2159
↓ 1 callers
Method
_get_grid_size
(self)
python/solver.py:852
↓ 1 callers
Method
_get_valid_material_frequencies
(self)
python/simulation.py:1624
↓ 1 callers
Method
_harminv
(self)
python/simulation.py:1209
↓ 1 callers
Method
_initialize_callable
Initializes the callable JAX function and registers its VJP.
python/adjoint/wrapper.py:219
↓ 1 callers
Method
_is_outer_boundary
(self, vol: Volume, direction: int, side: int)
python/simulation.py:2133
↓ 1 callers
Function
_make_at_least_nd
Makes an array have at least the specified number of dimensions.
python/adjoint/utils.py:92
↓ 1 callers
Method
_numchunks
(self, bp)
python/simulation.py:6446
↓ 1 callers
Method
_optimize_grid_size
(self, grid_size)
python/solver.py:865
↓ 1 callers
Method
_output_complex_scalar_field
(self, fname_prefix, output_k)
python/solver.py:642
↓ 1 callers
Method
_output_scalar_field
(self, curfield_type, fname_prefix)
python/solver.py:707
↓ 1 callers
Method
_output_vector_field
(self, curfield_type, fname_prefix, output_k, component)
python/solver.py:668
↓ 1 callers
Method
_pade
(self)
python/simulation.py:1047
↓ 1 callers
Method
_print
(self, prefix="", is_root=True)
python/simulation.py:6420
↓ 1 callers
Method
_run_adjoint_simulation
Runs adjoint simulation, returning design region fields.
python/adjoint/wrapper.py:166
↓ 1 callers
Function
_set_zero_subnormals
Set CPU to flush subnormal values to zero (if iszero == true). This slightly reduces the range of floating-point numbers, but can greatly increase
src/mympi.cpp:158
↓ 1 callers
Function
_traverse_tree
(bp=None, min_corner=None, max_corner=None)
python/tests/test_chunk_layout.py:12
↓ 1 callers
Function
abs2
|c|^2
src/dft_ldos.cpp:58
↓ 1 callers
Function
add_absorbing_layer
src/meepgeom.cpp:1919
↓ 1 callers
Method
add_amplitudes_from
src/sources.cpp:183
↓ 1 callers
Method
add_dft_fields
src/dft.cpp:913
↓ 1 callers
Method
add_dft_force
note that the components where->c indicate the direction of the force to be computed, so they should be vector components (such as Ex, Ey, ... o
src/stress.cpp:153
↓ 1 callers
Method
add_methods
(self)
doc/generate_py_api.py:343
↓ 1 callers
Function
add_pol
add a polarization to the list if it is not already there
src/meepgeom.cpp:1796
↓ 1 callers
Function
add_pol
add a polarization to the list if it is not already there
scheme/structure.cpp:1266
↓ 1 callers
Method
add_srcdata
src/sources.cpp:314
↓ 1 callers
Method
add_susceptibilities
src/meepgeom.cpp:1816
↓ 1 callers
Method
add_susceptibilities
scheme/structure.cpp:1285
↓ 1 callers
Method
add_verbosity_var
Add a new verbosity flag to be managed. `cvar` should be some object that has a `verbosity` attribute, such as `meep.cvar` or `mpb.cv
python/verbosity_mgr.py:78
↓ 1 callers
Function
adjoint_solver
(design_params, m, far_x)
python/tests/test_adjoint_cyl.py:118
↓ 1 callers
Function
after_sources
Given zero or more step functions, evaluates them only for times after all of the sources have turned off.
python/simulation.py:5073
↓ 1 callers
Function
after_time
Given zero or more step functions, evaluates them only for times after a $T$ time units have elapsed from the start of the run.
python/simulation.py:5103
↓ 1 callers
Method
alloc_f
this function should ordinarily not be called directly; instead it should be called via require_component, since only require_component knows what oth
src/fields.cpp:480
↓ 1 callers
Function
amp_fun
(p)
python/tests/test_source.py:159
↓ 1 callers
Function
analyze_gradient_convergence
Analyze the norm of the gradient vs beta. This experiment plots the norm of the gradient vector as a function of beta for both the smoothed p
python/examples/waveguide_crossing.py:488
↓ 1 callers
Function
antenna_above_ground_plane
Returns the radiation pattern of an antenna above a ground plane. Args: dipole_polarization: polarization of the dipole antenna (Ez or Hz
python/examples/antenna_pec_ground_plane.py:67
↓ 1 callers
Function
antenna_radiation_pattern
Returns the radiation pattern of a dipole antenna. Args: dipole_polarization: polarization of the dipole antenna (Ex, Ey, or Ez). Re
python/examples/antenna-radiation.py:65
↓ 1 callers
Function
bands_to_diffractedplanewave
(where, bands)
python/simulation.py:138
↓ 1 callers
Function
begin_critical_section
src/mympi.cpp:762
↓ 1 callers
Function
bench_2d_tm_nonlinear
tests/bench.cpp:114
↓ 1 callers
Function
bragg_transmission
tests/bragg_transmission.cpp:112
↓ 1 callers
Function
bragg_transmission_analytic
tests/bragg_transmission.cpp:95
↓ 1 callers
Method
bulk_ldos_3D
Computes the LDOS of a point dipole in a homogeneous dielectric medium in 3D Cartesian coordinates.
python/tests/test_ldos.py:97
↓ 1 callers
Method
bulk_ldos_cyl
Computes the LDOS of a point dipole in a homogeneous dielectric medium in cylindrical coordinates.
python/tests/test_ldos.py:21
↓ 1 callers
Method
cavity_ldos_3D
Computes the LDOS of a point dipole in a planar cavity with lossless metallic walls in 3D Cartesian coordinates. Args: sz:
python/tests/test_ldos.py:138
↓ 1 callers
Method
cavity_ldos_cyl
Computes the LDOS of a point dipole in a planar cavity with lossless metallic walls in cylindrical coordinates. Args: sz: t
python/tests/test_ldos.py:58
↓ 1 callers
Method
cent2yee_offsets
Same as yee2cent_offsets, but averages centered grid to get c */
src/vec.cpp:347
↓ 1 callers
Function
center_box
src/meepgeom.cpp:2175
↓ 1 callers
Function
check_2d_monitor
tests/h5test.cpp:295
↓ 1 callers
Function
check_3d
tests/h5test.cpp:181
↓ 1 callers
Function
check_cyl
tests/near2far.cpp:33
↓ 1 callers
Function
check_pml1d
tests/pml.cpp:75
↓ 1 callers
Function
check_pml2d
tests/pml.cpp:116
↓ 1 callers
Method
chi2
src/meepgeom.cpp:1524
← previous
next →
901–1,000 of 3,134, ranked by callers