MCPcopy Create free account

hub / github.com/NanoComp/meep / functions

Functions3,134 in github.com/NanoComp/meep

↓ 3 callersFunctionstupidsort
src/vec.cpp:496
↓ 3 callersMethodsubvolume
/ / /
src/vec.cpp:1626
↓ 3 callersFunctionsym_matrix_invert
Set Vinv = inverse of V, where both V and Vinv are real-symmetric matrices.*/
src/meepgeom.cpp:175
↓ 3 callersFunctionsym_matrix_invert
Set Vinv = inverse of V, where both V and Vinv are real-symmetric matrices.*/
scheme/structure.cpp:41
↓ 3 callersFunctionsym_matrix_rotate
rotate A by a unitary (real) rotation matrix R: RAR = transpose(R) * A * R */
src/meepgeom.cpp:151
↓ 3 callersFunctionsym_matrix_rotate
rotate A by a unitary (real) rotation matrix R: RAR = transpose(R) * A * R */
scheme/structure.cpp:17
↓ 3 callersMethodsymmetry
src/vec.cpp:1157
↓ 3 callersFunctiontanh_projection
Sigmoid projection filter. Ref: F. Wang, B. S. Lazarov, & O. Sigmund, On projection methods, convergence and robust formulations in topology
python/adjoint/filters.py:686
↓ 3 callersFunctiontiming_data_vector_from_all
src/time.cpp:68
↓ 3 callersMethodtransform_unshifted
src/vec.cpp:1303
↓ 3 callersMethodupdate_design
Update the design permittivity function. rho_vector ....... a list of numpy arrays that maps to each design region
python/adjoint/optimization_problem.py:539
↓ 3 callersFunctionvariable_material
scheme/structure.cpp:372
↓ 3 callersFunctionvec2py
python/typemap_utils.cpp:127
↓ 2 callersFunctionCompare
tests/array-slice-ll.cpp:45
↓ 2 callersFunctionFOR_COMPONENTS
src/cw_fields.cpp:156
↓ 2 callersFunctionFOR_DIRECTIONS
unit directions are periodic by default:
src/fields.cpp:81
↓ 2 callersFunctionFOR_DIRECTIONS
src/structure.cpp:492
↓ 2 callersFunctionFOR_FIELD_TYPES
src/fields.cpp:64
↓ 2 callersFunctionFOR_FT_COMPONENTS
src/update_eh.cpp:35
↓ 2 callersFunctionLOOP_OVER_VOL_NOTOWNED
tests/integrate.cpp:298
↓ 2 callersFunctionLOOP_OVER_VOL_OWNED
src/susceptibility.cpp:333
↓ 2 callersFunctionPLOOP_OVER_IVECS
src/step_generic.cpp:90
↓ 2 callersFunctionRun
/ / /
tests/dft-fields.cpp:36
↓ 2 callersMethod__call__
Evaluate value and/or gradient of objective function. Args: rho_vector: list of design weights (which is itself a list). Each
python/adjoint/optimization_problem.py:159
↓ 2 callersFunction_add_colorbar
Add a colorbar to the parent Figure of 'ax' by creating an additional Axes.
python/visualization.py:476
↓ 2 callersFunction_do_master_printf
src/mympi.cpp:681
↓ 2 callersFunction_edge_pad
Border-pads the edges of an array. Used to preprocess the design weights prior to convolution with the filter. Border padding an image will s
python/adjoint/filters.py:75
↓ 2 callersMethod_get_chunk_communication_areas
(self)
python/simulation.py:2196
↓ 2 callersMethod_get_epsmu
( self, diag, offdiag, susceptibilities, conductivity_diag, co
python/geom.py:533
↓ 2 callersFunction_get_resolution
Converts input design-grid resolution to the acceptable format. Args: resolution: number of list of numbers representing design-grid
python/adjoint/filters.py:189
↓ 2 callersMethod_init
Set up the initial state of the singleton. Called only when the first instance is created.
python/verbosity_mgr.py:57
↓ 2 callersMethod_load_dump_fields_2d
(self, single_parallel_file=True)
python/tests/test_dump_load.py:240
↓ 2 callersMethod_load_dump_fields_3d
(self, single_parallel_file=True)
python/tests/test_dump_load.py:356
↓ 2 callersMethod_make_fragment_lists
(self, gv)
python/simulation.py:1927
↓ 2 callersFunction_plot_optimization_results
( data: List, results: List, num_samples: int = 4, )
python/examples/waveguide_crossing.py:260
↓ 2 callersFunction_quarter_to_full_kernel
Constructs the full kernel from its nonnegative quadrant. Args: arr: 2d input array representing the nonnegative quadrant of a
python/adjoint/filters.py:40
↓ 2 callersMethod_run_fwd_simulation
Runs forward simulation, returning monitor values and design region fields.
python/adjoint/wrapper.py:140
↓ 2 callersMethod_run_until
(self, cond, step_funcs)
python/simulation.py:2804
↓ 2 callersFunctionabs2
tests/bragg_transmission.cpp:90
↓ 2 callersMethodadd_dft_near2far
src/near2far.cpp:569
↓ 2 callersMethodadd_energy
`add_energy(fcen, df, nfreq, freq, EnergyRegions, decimation_factor=0)` ##sig Add a bunch of `EnergyRegion`s to the current simulat
python/simulation.py:3122
↓ 2 callersFunctionadd_interpolate_weights
A brute force approach to calculating Aᵤ using finite differences. Past versions of the code only calculated dA/dε using a finite difference, and then
src/meepgeom.cpp:2709
↓ 2 callersMethodadd_source
src/fields.cpp:576
↓ 2 callersMethodadd_sources
(self)
python/simulation.py:2975
↓ 2 callersMethodadjoint_run
(self)
python/adjoint/optimization_problem.py:308
↓ 2 callersMethodadjoint_solver_complex_fields
( self, design_params, frequencies=None, need_gradient=True )
python/tests/test_adjoint_solver.py:257
↓ 2 callersMethodadjoint_solver_damping
( self, design_params: List[float] = None, frequencies: List[float] = None, ma
python/tests/test_adjoint_solver.py:317
↓ 2 callersMethodadjust_chunk_layout
Computes a new chunk layout, applies it to sim, and resets/re-inits sim. This method also calls self.should_adjust_chunk_layout(sim). If the
python/chunk_balancer.py:43
↓ 2 callersMethodam_now_working_on
src/time.cpp:119
↓ 2 callersMethodamplitude
(self, point, component)
python/simulation.py:872
↓ 2 callersMethodamplitude
src/meep_internals.hpp:61
↓ 2 callersFunctionapply_band_func
(ms, band_func, which_band)
python/solver.py:1372
↓ 2 callersFunctionapply_band_func_thunk
We need a special function to evaluate band functions, since band functions can either be a function of the band number or a thunk (function
python/solver.py:1359
↓ 2 callersFunctionapproxeq
src/near2far.cpp:567
↓ 2 callersFunctionarray_to_all
/ repeatedly call sum_to_all to consolidate all entries of */ an array on all cores. */ array: in/out ptr to t
src/array_slice.cpp:48
↓ 2 callersFunctionarray_to_fields
src/cw_fields.cpp:47
↓ 2 callersFunctionat_end
Given zero or more step functions, evaluates them only once, at the end of the run.
python/simulation.py:5131
↓ 2 callersFunctionattempt
tests/physical.cpp:100
↓ 2 callersMethodaverage_with_backup
src/energy_and_flux.cpp:136
↓ 2 callersMethodbackup_component
src/energy_and_flux.cpp:97
↓ 2 callersFunctionbackward
Computes the Poynting flux spectrum of the dipole emission using an overlap integral of the DFT fields from a line monitor in the high-i
python/examples/stochastic_emitter_reciprocity.py:119
↓ 2 callersFunctionbench_2d_te
tests/bench.cpp:161
↓ 2 callersFunctionbench_2d_te_nonlinear
tests/bench.cpp:185
↓ 2 callersFunctionbench_2d_tm
tests/bench.cpp:138
↓ 2 callersFunctionbench_3d_periodic
tests/bench.cpp:220
↓ 2 callersFunctionbend_flux
/ / /
tests/bend-flux-ll.cpp:185
↓ 2 callersFunctionbinary_grating_diffraction
(gp, gh, gdc, theta)
python/examples/diffracted_planewave.py:14
↓ 2 callersFunctionborder_masks
Return border masks for the design region. The masks are used to prevent violations on constraints on the minimum feature size at the boundar
python/examples/adjoint_optimization/mode_converter.py:66
↓ 2 callersFunctionbuild_straight_wg_simulation
Builds a simulation of a straight waveguide with a design region segment.
python/tests/test_adjoint_jax.py:31
↓ 2 callersFunctionbw_or_to_all
src/mympi.cpp:601
↓ 2 callersFunctionbyP
multiply m by propagation matrix through dz of index n, frequency w */
tests/bragg_transmission.cpp:78
↓ 2 callersFunctionbyT12
multiply m by transfer matrix from n1 to n2 */
tests/bragg_transmission.cpp:58
↓ 2 callersMethodcalculate_gradient
(self)
python/adjoint/optimization_problem.py:359
↓ 2 callersFunctioncartesian_to_reciprocal
(x, lat)
python/geom.py:1603
↓ 2 callersMethodcdot
Returns the conjugated dot product: `conj(self)` dot `v`.
python/geom.py:181
↓ 2 callersMethodchange_m
Changes the simulation's `m` number (the angular ϕ dependence).
python/simulation.py:4464
↓ 2 callersFunctioncheck_2d
tests/h5test.cpp:63
↓ 2 callersFunctioncheck_convergence
tests/2D_convergence.cpp:67
↓ 2 callersFunctioncheck_integral
tests/integrate.cpp:171
↓ 2 callersMethodcheck_ok
src/structure.cpp:236
↓ 2 callersMethodcheck_other_signatures
Search for alternate function signatures in the docstring
doc/generate_py_api.py:265
↓ 2 callersFunctioncheck_tiles
First check that the tile volumes gvs do not intersect and that they add up to the chunk's total grid_volume gv
src/fields.cpp:226
↓ 2 callersMethodcheck_weights
(self, w)
python/geom.py:585
↓ 2 callersMethodchi1
generic base class definition.
src/susceptibility.cpp:58
↓ 2 callersMethodcinternal_notowned_ptr
src/multilevel-atom.cpp:232
↓ 2 callersMethodcompute
src/meepgeom.cpp:2438
↓ 2 callersFunctioncompute_boundary_weights
Integration weights at boundaries (c.f. long comment at top). */ This code was formerly part of loop_in_chunks, now refactored */ as a separate ro
src/loop_in_chunks.cpp:257
↓ 2 callersFunctioncompute_flux
(m=1, n=0)
python/examples/stochastic_emitter.py:76
↓ 2 callersFunctioncompute_flux
(m, n)
python/examples/stochastic_emitter_line.py:88
↓ 2 callersFunctioncompute_force
(f, vg)
python/examples/parallel-wvgs-mpb.py:67
↓ 2 callersFunctioncompute_resonant_mode_2d
(res, default_mat=False)
python/tests/test_material_grid.py:103
↓ 2 callersFunctioncompute_resonant_mode_3d
(use_matgrid=True)
python/tests/test_material_grid.py:175
↓ 2 callersFunctioncompute_transmittance
(matgrid_symmetry=False)
python/tests/test_material_grid.py:14
↓ 2 callersMethodcompute_yparities
(self)
python/solver.py:809
↓ 2 callersMethodcompute_zparities
(self)
python/solver.py:806
↓ 2 callersFunctioncond_cmp
src/meepgeom.cpp:2603
↓ 2 callersMethodconductivity
geometry_lattice.size / 2 TODO
src/meepgeom.cpp:1588
↓ 2 callersMethodconj
(self)
python/geom.py:161
↓ 2 callersFunctionconnect_phase_from_phase
src/boundaries.cpp:362
↓ 2 callersFunctionconstraint_connectivity
Computes its connectivity constraint value and the gradients with respect to each pixel value. Given a structure, assembles the finite differ
python/adjoint/connectivity.py:11
← previousnext →601–700 of 3,134, ranked by callers