MCPcopy Create free account

hub / github.com/NanoComp/meep / functions

Functions3,134 in github.com/NanoComp/meep

↓ 2 callersMethodleft_tree
src/structure_dump.cpp:457
↓ 2 callersFunctionlength_indicator
Calculates the design field and the magnitude of its gradient for lengthscale indicators [1]. Parameters ---------- x : array_like
python/adjoint/filters.py:988
↓ 2 callersFunctionlevelset_and_smoothing
Returns the density weights for a multilayer stack as a levelset. Args: layer_thickness_um: thickness of each layer in the stack. Retu
python/examples/adjoint_optimization/multilayer_opt.py:66
↓ 2 callersFunctionlevelset_and_smoothing
Returns the density weights for a binary grating as a levelset. Args: grating_height_um: the height of the grating. Returns: The
python/examples/adjoint_optimization/binary_grating_levelset.py:71
↓ 2 callersFunctionline_width_and_spacing_constraint
Constraint function for the minimum line width and spacing. Args: result: evaluation of this constraint function, modified in place.
python/examples/adjoint_optimization/mode_converter.py:245
↓ 2 callersMethodload
src/fields_dump.cpp:232
↓ 2 callersMethodload_eigenvectors
(self, filename)
python/solver.py:495
↓ 2 callersMethodload_fields
Loads a fields from the file `fname`.
python/simulation.py:2348
↓ 2 callersMethodload_force_data
Load the Fourier-transformed fields into the given force object (replacing any values currently there) from the `ForceData` object `f
python/simulation.py:3474
↓ 2 callersMethodload_hdf5
src/dft.cpp:579
↓ 2 callersMethodload_minus_near2far_data
As `load_near2far_data`, but negates the Fourier-transformed fields after they are loaded. This means that they will be *subtracted*
python/simulation.py:3373
↓ 2 callersMethodload_structure
Loads a structure from the file `fname`.
python/simulation.py:2318
↓ 2 callersMethodmagnetic_energy_in_box
Given a `mp.Volume`, returns the integral of the magnetic-field energy $\\mathbf{H}^* \\cdot \\mathbf{B}/2$ in the given volume. If t
python/simulation.py:3701
↓ 2 callersFunctionmake_file_material
this routine subsumes the content of the old 'read_epsilon_file' routine
src/meepgeom.cpp:2065
↓ 2 callersFunctionmake_output_directory
src/output_directory.cpp:86
↓ 2 callersFunctionmake_vector3
/ / /
src/meepgeom.hpp:151
↓ 2 callersFunctionmap_data
libpympb/pympb.cpp:2554
↓ 2 callersMethodmapping
( self, x: List[float] = None, filter_radius: float = None, eta: float = None,
python/tests/test_adjoint_solver.py:510
↓ 2 callersFunctionmaster_fopen
src/mympi.cpp:737
↓ 2 callersFunctionmaterial_grid_grad
src/meepgeom.cpp:366
↓ 2 callersFunctionmaterial_grids_addgradient_point
src/meepgeom.cpp:2757
↓ 2 callersFunctionmatrix_invert
Set Vinv = inverse of V, where both V and Vinv are complex matrices.*/
src/monitor.cpp:246
↓ 2 callersMethodmax_abs
src/integrate.cpp:221
↓ 2 callersMethodmax_abs_field_function
As `integrate_field_function`, but returns the maximum absolute value of `func` in the volume `where` instead of its integral.
python/simulation.py:4421
↓ 2 callersMethodmean_epsmu
libpympb/pympb.cpp:288
↓ 2 callersFunctionmetallic_ez
tests/known_results.cpp:111
↓ 2 callersFunctionmin
tests/flux.cpp:55
↓ 2 callersFunctionmy_dft_chunks_Ntotal
src/dft.cpp:421
↓ 2 callersFunctionmy_global_rank
src/mympi.cpp:851
↓ 2 callersMethodnew_internal_data
for Lorentzian susc. the internal data is just a backup of P from the previous timestep.
src/susceptibility.cpp:108
↓ 2 callersFunctionnlopt_fom
Wrapper for NLopt FOM. Args: x: Degrees of freedom array. gradient: Gradient of FOM. opt: Optimization problem object.
python/examples/waveguide_crossing.py:215
↓ 2 callersFunctionnonlinear_ex
tests/symmetry.cpp:885
↓ 2 callersMethodnuttall
(self, t, f0)
python/adjoint/filter_source.py:128
↓ 2 callersMethodoutput_dft
src/dft.cpp:1371
↓ 2 callersMethodoutput_mu
(self)
python/solver.py:619
↓ 2 callersMethodpad_self
src/vec.cpp:1083
↓ 2 callersFunctionparallel_waveguide
(s, xodd)
python/examples/parallel-wvgs-force.py:22
↓ 2 callersFunctionparallel_waveguide
(s, yodd)
python/examples/parallel-wvgs-mpb.py:19
↓ 2 callersFunctionpartition_has_duplicate_proc_ids
Returns True if the partition has more than one node with the same proc_id. Args: partition: the BinaryPartition node Returns: A
python/binary_partition_utils.py:39
↓ 2 callersFunctionphase_isclose
approximate comparisons of phases to 1 or -1. exp(ix) * exp(-ix) is not exactly 1 due to roundoff errors, but we want to treat it equal for the p
src/boundaries.cpp:359
↓ 2 callersFunctionpick_bound
(which)
python/geom.py:1702
↓ 2 callersFunctionpixel_volume
Computes the number of pixels contained in a 2D or 3D grid_volume object. NOTE: This assumes that z=0 means 2D simulation and z>0 means 3D.
python/binary_partition_utils.py:103
↓ 2 callersMethodplace_adjoint_source
(self, dJ)
python/adjoint/objective.py:564
↓ 2 callersFunctionplanewave_above_ground_plane
Returns the flux from a linearly polarized planewave above a ground plane. Args: kx, ky, kz: the wavevector components of the planew
python/examples/antenna_pec_ground_plane_1D.py:29
↓ 2 callersMethodplanewave_above_ground_plane
Returns the radiated flux from a planewave source above a ground plane. Args: kx, ky, kz: the wavevector components of t
python/tests/test_boundaries_1D.py:25
↓ 2 callersFunctionplanewave_wavevector
Returns the wavevector of the outgoing planewave in free space. Args: polar_rad: polar angle of the wavevector for φ = 0 (xz plane). 0 is
python/examples/antenna_pec_ground_plane_1D.py:86
↓ 2 callersMethodplanewave_wavevector
Returns the wavevector of the outgoing planewave in free space. Args: polar_rad: polar angle of the wavevector for φ = 0 (xz plan
python/tests/test_boundaries_1D.py:81
↓ 2 callersFunctionplot_eps
( sim: Simulation, ax: Optional[Axes] = None, output_plane: Optional[Volume] = None, eps_param
python/visualization.py:516
↓ 2 callersFunctionpml_x
src/structure.cpp:625
↓ 2 callersFunctionpol_grating
(d, ph, gp, nmode)
python/examples/polarization_grating.py:32
↓ 2 callersFunctionpolariton_ex
tests/symmetry.cpp:857
↓ 2 callersMethodprepare_forward_run
(self)
python/adjoint/optimization_problem.py:245
↓ 2 callersMethodprint
src/vec.cpp:741
↓ 2 callersMethodpt_in_volume
(self, pt: Vector3Type)
python/simulation.py:492
↓ 2 callersMethodpurcell_enh_theory
Computes the Purcell enhancement factor of a point dipole in a planar dielectric cavity with lossless metallic walls using equation 7 of:
python/tests/test_ldos.py:185
↓ 2 callersFunctionpw_amp
tests/pw-source-ll.cpp:41
↓ 2 callersFunctionpy_class_name_as_string
python/typemap_utils.cpp:218
↓ 2 callersFunctionpyblock_to_block
python/typemap_utils.cpp:952
↓ 2 callersFunctionpyv3_to_v3
python/typemap_utils.cpp:234
↓ 2 callersFunctionradiation_pattern
Computes the radiation pattern from the far fields. Args: e_field, h_field: the electric (Er, Ep, Ez) and magnetic (Hr, Hp, Hz)
python/examples/dipole_in_vacuum_cyl_off_axis.py:78
↓ 2 callersMethodrefl_planar
(self, theta, kz_2d)
python/tests/test_special_kz.py:12
↓ 2 callersMethodremove
src/dft.cpp:146
↓ 2 callersMethodremove_susceptibilities
src/fields.cpp:599
↓ 2 callersMethodrequire_component
src/meep.hpp:1936
↓ 2 callersMethodrestore_component
src/energy_and_flux.cpp:120
↓ 2 callersMethodretrieve_gap
(self, lower_band)
python/solver.py:565
↓ 2 callersMethodright_tree
src/structure_dump.cpp:462
↓ 2 callersMethodrotate
Returns the vector rotated by an angle *`theta`* (in radians) in the right-hand direction around the *`axis`* vector (whose length is
python/geom.py:234
↓ 2 callersMethodrun_bend_flux
(self, from_gdsii_file)
python/tests/test_bend_flux.py:112
↓ 2 callersMethodrun_binary_grating_diffraction
(self, gp, gh, gdc, theta)
python/tests/test_diffracted_planewave.py:31
↓ 2 callersMethodrun_kdom
(self, theta, num_band)
python/tests/test_kdom.py:8
↓ 2 callersFunctionrun_shape_optimization
Run shape optimization using a cross as a starting guess. Args: resolution: Simulation resolution in pixels/micron. beta: Tanh fu
python/examples/waveguide_crossing.py:280
↓ 2 callersMethodrun_simulation
(self)
python/tests/test_cyl_ellipsoid.py:58
↓ 2 callersMethodrun_test
(self, nfreqs)
python/tests/test_cavity_farfield.py:14
↓ 2 callersMethodrun_zodd
(self, *band_functions)
python/solver.py:977
↓ 2 callersMethodsave_hdf5
src/dft.cpp:573
↓ 2 callersMethodset_boundary
src/boundaries.cpp:79
↓ 2 callersMethodset_curfield_type
libpympb/pympb.cpp:1532
↓ 2 callersFunctionset_geometry_from_GDSII
/ find a polygon on the given GDSII layer and set the libctlgeom */ geometry to the size of its bounding box. */ if Text is non
src/GDSIIgeom.cpp:104
↓ 2 callersMethodset_grid_size
libpympb/pympb.cpp:1549
↓ 2 callersMethodset_materials
This can be called in a step function, and is useful for changing the geometry or default material as a function of time.
python/simulation.py:2233
↓ 2 callersFunctionset_random_seed
src/random.cpp:37
↓ 2 callersFunctionsort_by_distance
sort the array to maximize the spacing of each point with the previous points */
src/sphere-quad.cpp:218
↓ 2 callersFunctionspecial_kz_phasefix
src/mpb.cpp:356
↓ 2 callersFunctionsplit_by_cost
src/structure.cpp:66
↓ 2 callersFunctionsplit_into_tiles
src/fields.cpp:207
↓ 2 callersFunctionsqr
src/dft.cpp:329
↓ 2 callersMethodstep_boundaries
src/step.cpp:225
↓ 2 callersFunctionstress_sum
src/stress.cpp:90
↓ 2 callersFunctionstructure_dump
tests/dump_load.cpp:93
↓ 2 callersFunctionstructure_load
tests/dump_load.cpp:101
↓ 2 callersFunctionsubstrate_geometry
Returns the geometry of the LED-like structure. Args: is_textured: whether the substrate is textured or not.
python/examples/stochastic_emitter_reciprocity.py:34
↓ 2 callersFunctionsusceptibility_equiv
like susceptibility_equal in ctl-io.cpp, but ignores sigma and id (must be updated manually, re-copying from ctl-io.cpp), if we add new suscepti
src/meepgeom.cpp:1638
↓ 2 callersFunctionsusceptibility_equiv
like susceptibility_equal in ctl-io.cpp, but ignores sigma and id (must be updated manually, re-copying from ctl-io.cpp), if we add new suscepti
scheme/structure.cpp:1119
↓ 2 callersFunctionsusceptibility_list_equal
src/meepgeom.cpp:61
↓ 2 callersFunctionsusceptibility_list_to_py_list
python/typemap_utils.cpp:756
↓ 2 callersFunctiontest_metal
tests/two_dimensional.cpp:71
↓ 2 callersFunctiontest_metal_rot2y
tests/symmetry.cpp:603
↓ 2 callersFunctiontest_metal_xmirror
tests/symmetry.cpp:244
↓ 2 callersFunctiontest_metal_ymirror
tests/symmetry.cpp:519
← previousnext →801–900 of 3,134, ranked by callers