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
↓ 3 callers
Method
check_freqs
(self, expected_freqs, result)
python/tests/test_mpb.py:207
↓ 3 callers
Method
check_gap_list
(self, expected_gap_list, result)
python/tests/test_mpb.py:212
↓ 3 callers
Function
check_positive
(prop, val)
python/source.py:11
↓ 3 callers
Method
check_rotation
( self, mat, L, fsrc, zsrc, resolution, tmax, zout, kpred, tol=1.5 )
python/tests/test_faraday_rotation.py:38
↓ 3 callers
Method
chi1p1
returns trace of the tensor diagonal
scheme/structure.cpp:476
↓ 3 callers
Function
choose_chunkdivision
src/structure.cpp:151
↓ 3 callers
Method
clear_dft_monitors
Remove all of the dft monitors from the simulation.
python/simulation.py:4517
↓ 3 callers
Function
compare
tests/h5test.cpp:52
↓ 3 callers
Method
compute_energy_in_objects
(self, objs)
python/solver.py:773
↓ 3 callers
Method
convex_marching_squares
(self, npts)
python/tests/test_prism.py:37
↓ 3 callers
Function
convolve_design_weights_and_kernel
Convolves the design weights with the kernel. Uses a 2d FFT to perform the convolution operation. This approach is typically faster than a di
python/adjoint/filters.py:122
↓ 3 callers
Method
copy_from
src/material_data.cpp:52
↓ 3 callers
Function
cross
src/fields.cpp:404
↓ 3 callers
Method
delete_internal_data
src/susceptibility.cpp:64
↓ 3 callers
Function
derived_component_func
src/vec.cpp:1492
↓ 3 callers
Function
dipole_in_vacuum
Computes the far fields of an on-axis point source. Args: dipole_pol: the polarization of the electric dipole. Either x or z. m:
python/examples/dipole_in_vacuum_cyl_on_axis.py:137
↓ 3 callers
Method
display_eigensolver_stats
(self)
python/solver.py:824
↓ 3 callers
Method
display_kpoint_data
(self, name, data)
python/solver.py:815
↓ 3 callers
Function
display_run_data
(sim, data_name, data)
python/simulation.py:5550
↓ 3 callers
Method
done_writing_chunks
collective call after completing all write_chunk calls
src/h5file.cpp:715
↓ 3 callers
Function
eigenmode_amplitude
/ compute position-dependent amplitude for eigenmode source */ (similar to the routine formerly called meep_mpb_A) */ /
src/mpb.cpp:218
↓ 3 callers
Function
end_divide_parallel
src/mympi.cpp:843
↓ 3 callers
Function
epsilon_file_material
return material of the point p from the file (assumed already read)
scheme/structure.cpp:187
↓ 3 callers
Method
equal_layout
src/fields.cpp:707
↓ 3 callers
Method
field_energy_in_box
Given a `mp.Volume`, returns the integral of the electric- and magnetic-field energy $\\mathbf{E}^* \\cdot \\mathbf{D}/2 + \\mathbf{H
python/simulation.py:3722
↓ 3 callers
Function
fields_to_array
src/cw_fields.cpp:25
↓ 3 callers
Function
filter_and_project
A differentiable function to filter and project the design weights. Args: weights: design weights as a flattened (1D) array. sigmoid_
python/examples/adjoint_optimization/mode_converter.py:112
↓ 3 callers
Function
flux_1d
tests/flux.cpp:57
↓ 3 callers
Method
frequency
src/meep.hpp:1010
↓ 3 callers
Method
full_volume
src/vec.cpp:190
↓ 3 callers
Method
func
(self)
python/adjoint/basis.py:28
↓ 3 callers
Function
geom_box_intersection
src/meepgeom.cpp:2112
↓ 3 callers
Function
geom_boxes_intersect
src/meepgeom.cpp:2121
↓ 3 callers
Function
geometric_objects_duplicates
(shift_vector, min_multiple, max_multiple, go_list)
python/geom.py:1633
↓ 3 callers
Method
get_E0
src/meep.hpp:1728
↓ 3 callers
Function
get_GDSII_prism
/ like the previous routine, but creates only a single prism, */ optionally identified by Text; if non-null, only polygons */ containing the
src/GDSIIgeom.cpp:167
↓ 3 callers
Method
get_array_slice_dimensions
/ given a volume, fill in the dims[] and dirs[] arrays */ describing the array slice needed to store field data for */ all grid points in the
src/array_slice.cpp:447
↓ 3 callers
Method
get_cost
src/vec.cpp:943
↓ 3 callers
Method
get_curfield_cmplx
libpympb/pympb.cpp:1573
↓ 3 callers
Method
get_eigenmode
The parameters of this routine are the same as that of `get_eigenmode_coefficients` or `EigenModeSource`, but this function returns a
python/simulation.py:4256
↓ 3 callers
Method
get_epsilon_grid
Given three 1d NumPy arrays (`xtics`,`ytics`,`ztics`) which define the coordinates of a Cartesian grid anywhere within the cell volum
python/simulation.py:2708
↓ 3 callers
Method
get_libctl_dimensions
libpympb/pympb.cpp:1555
↓ 3 callers
Method
get_libctl_ensure_periodicity
libpympb/pympb.cpp:1559
↓ 3 callers
Function
get_num_args
(func)
python/simulation.py:96
↓ 3 callers
Function
get_polygon
/ Search the geometry for a polygon on a given layer containing */ (the reference point of) a given text label. */ If Text==NULL,
src/GDSIIgeom.cpp:80
↓ 3 callers
Method
get_tot_pwr
(self, which_band)
python/solver.py:470
↓ 3 callers
Function
get_uproj_w
src/meepgeom.cpp:1213
↓ 3 callers
Function
has_conductivity
src/meepgeom.cpp:1566
↓ 3 callers
Function
hash_figure
(fig)
python/tests/test_visualization.py:23
↓ 3 callers
Method
init
(self)
python/tests/test_dft_fields.py:20
↓ 3 callers
Method
init
(self)
python/tests/test_ring.py:19
↓ 3 callers
Method
init_and_run
(self, test_type)
python/tests/test_source.py:175
↓ 3 callers
Method
init_internal_data
src/susceptibility.cpp:121
↓ 3 callers
Method
integrate
src/integrate.cpp:131
↓ 3 callers
Function
interp_tensors
src/meepgeom.cpp:557
↓ 3 callers
Function
is_H_or_B
src/meep/vec.hpp:423
↓ 3 callers
Method
is_leaf
src/structure_dump.cpp:445
↓ 3 callers
Function
iveccyl
src/meep/vec.hpp:935
↓ 3 callers
Function
lat_to_lattice
(v)
python/geom.py:1644
↓ 3 callers
Function
lattice_to_cartesian
(x, lat)
python/geom.py:1580
↓ 3 callers
Function
make_user_material
src/meepgeom.cpp:2054
↓ 3 callers
Function
map_coordinates
map the cell coordinates into the range [0,1]. anything outside [0,1] is *mirror* reflected into [0,1] */
src/fields.cpp:759
↓ 3 callers
Function
map_lattice_coordinates
src/meepgeom.cpp:449
↓ 3 callers
Function
material_grid_val
src/meepgeom.cpp:489
↓ 3 callers
Function
matrix3x3_to_arr
libpympb/pympb.cpp:154
↓ 3 callers
Function
meep_mt_genrand_res53
generates a random number on [0,1) with 53-bit resolution*/
src/support/mt19937ar.c:179
↓ 3 callers
Function
meep_mt_init_genrand
initializes mt[N] with a seed */
src/support/mt19937ar.c:62
↓ 3 callers
Function
mesh_grid
Obtains the numbers of grid points and the coordinates of the grid of the design region. Args: radius: filter radius (in Meep units).
python/adjoint/filters.py:214
↓ 3 callers
Function
min2
tests/bragg_transmission.cpp:172
↓ 3 callers
Function
mu_not_1
scheme/structure.cpp:1017
↓ 3 callers
Method
multiply_bloch_phase
(self, arr)
python/solver.py:343
↓ 3 callers
Method
next_factor2357
(self, n)
python/solver.py:871
↓ 3 callers
Method
normal_direction
(self)
python/simulation.py:722
↓ 3 callers
Method
normal_direction
src/dft.cpp:815
↓ 3 callers
Method
nowned
src/vec.cpp:438
↓ 3 callers
Method
num_cinternal_notowned_needed
src/multilevel-atom.cpp:226
↓ 3 callers
Method
num_internal_notowned_needed
the number of notowned fields/data in the internal data that are needed by update_P for the c Yee grid (note: we assume that we only have in
src/meep.hpp:179
↓ 3 callers
Method
nuttall_dtft
(self, f, f0)
python/adjoint/filter_source.py:132
↓ 3 callers
Method
origin_r
src/meep/vec.hpp:1152
↓ 3 callers
Function
pmlcyl_scaling
tests/pml.cpp:283
↓ 3 callers
Function
py_list_to_susceptibility_list
python/typemap_utils.cpp:481
↓ 3 callers
Function
pycylinder_to_cylinder
python/typemap_utils.cpp:880
↓ 3 callers
Method
radial_flux
(self, sim, nearfield_box, r)
python/tests/test_antenna_radiation.py:25
↓ 3 callers
Function
radiation_pattern_flux
Computes the total flux from the radiation pattern. Based on integrating the radiation pattern over solid angles spanned by polar angles in t
python/examples/disc_extraction_efficiency.py:125
↓ 3 callers
Function
reciprocal_to_cartesian
(x, lat)
python/geom.py:1594
↓ 3 callers
Function
reduce_array_dimensions
get the dimensions of reduced arrays (i.e., arrays collapsed along empty dimensions of original volume)
src/array_slice.cpp:525
↓ 3 callers
Function
refl_planar
(theta, kz_2d)
python/examples/refl-angular-kz2d.py:6
↓ 3 callers
Method
reset
(self)
python/visualization.py:1808
↓ 3 callers
Function
rootfun
(eps)
python/examples/mpb_tutorial.py:140
↓ 3 callers
Method
run_zeven
(self, *band_functions)
python/solver.py:974
↓ 3 callers
Method
scale
(self, s)
python/geom.py:164
↓ 3 callers
Method
set_eigenvectors
(self, ev, first_band)
python/solver.py:487
↓ 3 callers
Method
set_epsilon
src/structure.cpp:397
↓ 3 callers
Method
set_materials
src/structure.cpp:374
↓ 3 callers
Method
sinc
(self, f, f0)
python/adjoint/filter_source.py:103
↓ 3 callers
Function
sort_points
(xy)
python/visualization.py:378
↓ 3 callers
Function
sqr
src/sphere-quad.cpp:210
↓ 3 callers
Function
start_at_direction
src/meep/vec.hpp:98
↓ 3 callers
Function
str_from_list
(list_: List[float])
python/examples/adjoint_optimization/mode_converter.py:62
↓ 3 callers
Function
str_from_list
(list_: List[float])
python/examples/adjoint_optimization/multilayer_opt.py:47
← previous
next →
501–600 of 3,134, ranked by callers