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
↓ 1 callers
Function
geometric_object_duplicates
(shift_vector, min_multiple, max_multiple, go)
python/geom.py:1620
↓ 1 callers
Method
getH
(self)
python/geom.py:1487
↓ 1 callers
Function
get_GDSII_prisms
/ find all polygons on a given GDSII layer and return a list of */ geometric_objects describing prisms, all with the same material */ and thickness.
src/GDSIIgeom.cpp:132
↓ 1 callers
Method
get_all
Return a list of the values of all verbosity flags being managed. This is mostly intended for debugging this class and won't likely b
python/verbosity_mgr.py:112
↓ 1 callers
Method
get_array_metadata
/ / /
src/array_slice.cpp:784
↓ 1 callers
Method
get_axis
src/meep.hpp:1711
↓ 1 callers
Method
get_bilinear_coefficients
Calculates the bilinear interpolation coefficients for a single point at (x,y). Assumes that the user already knows the four closest
python/adjoint/basis.py:154
↓ 1 callers
Method
get_binary_partition
src/structure.cpp:1017
↓ 1 callers
Method
get_bloch_field_point
(self, p)
python/solver.py:467
↓ 1 callers
Method
get_bpwr
(self, band)
python/solver.py:447
↓ 1 callers
Function
get_center_and_size
Utility function that takes a `meep::volume` `vol` and returns the center and size of the volume as a tuple of `Vector3`.
python/simulation.py:6184
↓ 1 callers
Method
get_charge_density
(self, which_band, bloch_phase=True)
python/solver.py:395
↓ 1 callers
Function
get_chi2
src/meepgeom.cpp:1463
↓ 1 callers
Function
get_chi3
src/meepgeom.cpp:1447
↓ 1 callers
Method
get_curfield
libpympb/pympb.cpp:1565
↓ 1 callers
Method
get_curfield_type
libpympb/pympb.cpp:1530
↓ 1 callers
Function
get_current_time_step
Gets the current time step from a Meep simulation object.
python/timing_measurements.py:37
↓ 1 callers
Method
get_dft_array
/ routines for fetching arrays of dft fields */ /
src/dft.cpp:1259
↓ 1 callers
Method
get_dft_component_dims
get variables that are needed by complex<double> fields::process_dft_component
src/dft.cpp:1061
↓ 1 callers
Method
get_dominant_planewave
(self, band)
python/solver.py:1160
↓ 1 callers
Method
get_dpwr
(self, band)
python/solver.py:442
↓ 1 callers
Method
get_dpwr
(ms, band)
python/tests/test_mpb.py:863
↓ 1 callers
Method
get_efield_x
(self, snap=False)
python/simulation.py:4731
↓ 1 callers
Method
get_efield_y
(self, snap=False)
python/simulation.py:4734
↓ 1 callers
Method
get_efield_z
(self, snap=False)
python/simulation.py:4737
↓ 1 callers
Method
get_eigenmode_coefficients
/ get eigenmode coefficients for all frequencies in flux */ and all band indices in the caller-populated bands array. */ / on input, coeffs mus
src/mpb.cpp:981
↓ 1 callers
Method
get_eigensolver_flops
libpympb/pympb.cpp:2160
↓ 1 callers
Method
get_eigenvectors_slice_dims
libpympb/pympb.cpp:2130
↓ 1 callers
Function
get_energy_freqs
Given an energy object, returns a list of the frequencies that it is computing the spectrum for.
python/simulation.py:6129
↓ 1 callers
Method
get_energy_point
(self, p)
python/solver.py:461
↓ 1 callers
Method
get_epsilon
(self, frequency=0, snap=False)
python/simulation.py:4653
↓ 1 callers
Method
get_epsilon_inverse_tensor_point
(self, p)
python/solver.py:458
↓ 1 callers
Method
get_epsilon_point
Given a frequency `frequency` and a `Vector3` `pt`, returns the average eigenvalue of the permittivity tensor at that location and fr
python/simulation.py:2688
↓ 1 callers
Function
get_equiv_sources
Given the fields along a slice, returns the equivalent sources as meep source objects for the beam.
python/source.py:780
↓ 1 callers
Method
get_estimated_memory_usage
(self)
python/simulation.py:2565
↓ 1 callers
Method
get_evaluation
Evaluates the objective quantity.
python/adjoint/objective.py:55
↓ 1 callers
Function
get_farfields
Computes the far fields from the near fields for φ = 0 (rz plane). Args: sim: a `Simulation` object. n2f_mon: a `DftNear2Far` obj
python/examples/dipole_in_vacuum_cyl_on_axis.py:103
↓ 1 callers
Method
get_fields
Calls green2d under various conditions (incoming vs outgoing) providing the correct Hankel functions and returns the fields at the slice provided by t
python/source.py:821
↓ 1 callers
Method
get_fields
src/sources.cpp:624
↓ 1 callers
Function
get_flux_freqs
Given a flux object, returns a list of the frequencies that it is computing the spectrum for.
python/simulation.py:6064
↓ 1 callers
Function
get_fluxes
Given a flux object, returns a list of the current flux spectrum that it has accumulated.
python/simulation.py:6072
↓ 1 callers
Method
get_force_data
Get the Fourier-transformed fields corresponding to the given force object as a `ForceData`, which is just a named tuple of NumPy arr
python/simulation.py:3461
↓ 1 callers
Function
get_force_freqs
Given a force object, returns a list of the frequencies that it is computing the spectrum for.
python/simulation.py:6092
↓ 1 callers
Function
get_forces
Given a force object, returns a list of the current force spectrum that it has accumulated.
python/simulation.py:6100
↓ 1 callers
Function
get_front_object
Find frontmost object in v, along with the constant material behind it. Returns false if material behind the object is not constant. Requires m
src/meepgeom.cpp:923
↓ 1 callers
Function
get_front_object
Find frontmost object in v, along with the constant material behind it. Returns false if material behind the object is not constant. Requires m
scheme/structure.cpp:502
↓ 1 callers
Function
get_grid_volumes_in_tree
Fetches a list of grid_volumes contained in a BinaryPartition subtree. NOTE: If multiple chunks are owned by the same process, this function may
python/binary_partition_utils.py:174
↓ 1 callers
Function
get_group_masters
()
python/simulation.py:6283
↓ 1 callers
Function
get_group_velocity
src/mpb.cpp:871
↓ 1 callers
Method
get_iterations
libpympb/pympb.cpp:2162
↓ 1 callers
Function
get_k
src/mpb.cpp:876
↓ 1 callers
Function
get_material_gradient
src/meepgeom.cpp:2624
↓ 1 callers
Method
get_material_pt
libpympb/pympb.cpp:685
↓ 1 callers
Method
get_mu
(self, frequency=0, snap=False)
python/simulation.py:4656
↓ 1 callers
Method
get_mu
src/monitor.cpp:215
↓ 1 callers
Method
get_near2far_data
Get the Fourier-transformed fields corresponding to the given `near2far` object as a `NearToFarData`, which is just a named tuple of
python/simulation.py:3354
↓ 1 callers
Method
get_new_point
src/monitor.cpp:412
↓ 1 callers
Function
get_num_groups
()
python/simulation.py:6274
↓ 1 callers
Method
get_num_params
src/meep.hpp:220
↓ 1 callers
Method
get_output_k
libpympb/pympb.cpp:1703
↓ 1 callers
Method
get_parameters_from_ast
(self)
doc/generate_py_api.py:184
↓ 1 callers
Function
get_polygon_center_size
src/GDSIIgeom.cpp:58
↓ 1 callers
Function
get_rotation_matrix
Like `Vector3.rotate`, except returns the (unitary) rotation matrix that performs the given rotation. i.e., `get_rotation_matrix(axis, theta)
python/geom.py:1769
↓ 1 callers
Method
get_source_slice
src/array_slice.cpp:748
↓ 1 callers
Function
get_the_freq
tests/2D_convergence.cpp:26
↓ 1 callers
Method
get_timing_data
Returns a dictionary that maps each `time_sink` to a list with one entry per process. The entries in the list correspond to the total
python/simulation.py:4633
↓ 1 callers
Method
get_vertices
(self)
python/simulation.py:451
↓ 1 callers
Function
getcm
src/monitor.cpp:51
↓ 1 callers
Function
gobj_to_py_obj
python/typemap_utils.cpp:1083
↓ 1 callers
Function
grating
(gp, gh, gdc, oddz)
python/examples/binary_grating_phasemap.py:28
↓ 1 callers
Function
grating_1d
Sets up the adjoint optimization of a 1D grating. Args: pol: the polarization state (S or P). Returns: A meep.adjoint.Optimizati
python/examples/adjoint_optimization/binary_grating_levelset.py:176
↓ 1 callers
Method
h5topng
(self, rm_h5, option, *step_funcs)
python/simulation.py:3887
↓ 1 callers
Method
halve
Halve the grid_volume for symmetry exploitation...must contain icenter!
src/vec.cpp:1070
↓ 1 callers
Method
handle_cvector_dataset
(self, in_arr, multiply_bloch_phase)
python/mpb_data.py:133
↓ 1 callers
Method
handle_dataset
(self, in_arr)
python/mpb_data.py:60
↓ 1 callers
Method
harminv
src/monitor.cpp:517
↓ 1 callers
Method
has_chi2
src/meepgeom.cpp:1501
↓ 1 callers
Method
has_chi3
src/meepgeom.cpp:1499
↓ 1 callers
Method
has_conductivity
src/meepgeom.cpp:1575
↓ 1 callers
Function
has_field_direction
src/meep/vec.hpp:399
↓ 1 callers
Method
has_mu
src/meepgeom.cpp:1534
↓ 1 callers
Method
has_nonlinearities
src/structure.cpp:548
↓ 1 callers
Function
holey_2d
tests/2D_convergence.cpp:9
↓ 1 callers
Function
iabs
src/loop_in_chunks.cpp:252
↓ 1 callers
Function
in_range
src/array_slice.cpp:187
↓ 1 callers
Function
in_subgrid
src/array_slice.cpp:189
↓ 1 callers
Function
in_volume
Given zero or more step functions, modifies any output functions among them to only output a subset (or a superset) of the cell, correspondin
python/simulation.py:5211
↓ 1 callers
Method
incoming_mask
Given a beam with a waist at (x0, y0) and a direction of propagation (kx, ky) returns the boolean masks along the meshgrid X for incoming waves, outgo
python/source.py:958
↓ 1 callers
Function
increment
/ increment a multi-index <n_1, n_2, ..., n_r> in which n_i runs over*/ the range 0 <= n_i < nMax_i. return true if this is the increment */ that bri
src/array_slice.cpp:514
↓ 1 callers
Function
indicator_solid
Calculates the indicator function for the solid phase needed for minimum length constraint [1]. Parameters ---------- x : array_like
python/adjoint/filters.py:1060
↓ 1 callers
Function
indicator_void
Calculates the indicator function for the void phase needed for minimum length constraint [1]. Parameters ---------- x : array_like
python/adjoint/filters.py:1140
↓ 1 callers
Method
init2
(self)
python/tests/test_field_functions.py:51
↓ 1 callers
Method
init_output_lattice
(self)
python/mpb_data.py:229
↓ 1 callers
Method
init_params
(self, p, reset_fields)
python/solver.py:882
↓ 1 callers
Function
init_stats
src/meepgeom.cpp:2180
↓ 1 callers
Method
init_subvolume
src/vec.cpp:1636
↓ 1 callers
Method
integrate2
src/integrate2.cpp:189
↓ 1 callers
Function
interpolate
Given a list of numbers or `Vector3`s as `nums`, linearly interpolates between them to add `n` new evenly-spaced values between each pair of
python/simulation.py:6161
↓ 1 callers
Function
invert
S -> inv(S), where S is a p x p matrix in row-major order */
src/multilevel-atom.cpp:89
↓ 1 callers
Function
invert_tensor
src/meepgeom.cpp:2522
← previous
next →
1,101–1,200 of 3,134, ranked by callers