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
↓ 6 callers
Function
is_file
src/meepgeom.cpp:294
↓ 6 callers
Function
is_variable
src/meepgeom.cpp:288
↓ 6 callers
Function
issmall
tests/cylindrical.cpp:152
↓ 6 callers
Method
log
src/fields.cpp:745
↓ 6 callers
Function
material_gc
garbage collection for material structures: called to deallocate memory allocated for susceptibilities in user-defined materials. TODO
src/meepgeom.cpp:100
↓ 6 callers
Method
matrix_eq
(self, exp, res)
python/tests/test_geom.py:525
↓ 6 callers
Function
mirrorindex
implement mirror boundary conditions for i outside 0..n-1: */
src/fields.cpp:755
↓ 6 callers
Method
output_components
(self, fname, *components)
python/simulation.py:3864
↓ 6 callers
Method
output_field
(self)
python/solver.py:603
↓ 6 callers
Method
plot2D
Plots a 2D cross section of the simulation domain using `matplotlib`. The plot includes the geometry, boundary layers, sources, and m
python/simulation.py:4798
↓ 6 callers
Function
pmod
utility routine for modular arithmetic that always returns a nonnegative integer
src/mpb.cpp:208
↓ 6 callers
Method
register_monitors
(self, frequencies)
python/adjoint/objective.py:559
↓ 6 callers
Function
rotate2
src/vec.cpp:1121
↓ 6 callers
Method
round_float
src/meep/vec.hpp:668
↓ 6 callers
Method
set_id
This should only be used when dumping and loading susceptibility data to hdf5
src/meep.hpp:222
↓ 6 callers
Method
split_at_fraction
src/vec.cpp:1050
↓ 6 callers
Method
yucky_direction
src/vec.cpp:283
↓ 6 callers
Method
yucky_val
src/vec.cpp:273
↓ 5 callers
Function
FOR_COMPONENTS
src/structure.cpp:551
↓ 5 callers
Function
FOR_COMPONENTS
src/multilevel-atom.cpp:250
↓ 5 callers
Method
__init__
+ **`thickness` [ `number` ]** — The spatial thickness of the PML layer which extends from the boundary towards the *inside* of the
python/simulation.py:222
↓ 5 callers
Method
__init__
Construct a `Source`. + **`src` [`SourceTime` class ]** — Specify the time-dependence of the source (see below). No defaul
python/source.py:41
↓ 5 callers
Method
_adj_src_scale
Calculates the scale for the adjoint sources.
python/adjoint/objective.py:65
↓ 5 callers
Method
_create_time_profile
Creates a time-domain waveform for normalizing the adjoint source(s). For single-frequency objective functions, we should generate a Gaussian
python/adjoint/objective.py:138
↓ 5 callers
Method
_evaluate_dft_objects
(self)
python/simulation.py:2984
↓ 5 callers
Method
add_dft_flux_plane
src/dft.cpp:874
↓ 5 callers
Method
add_volume_source
src/sources.cpp:223
↓ 5 callers
Function
bench_periodic
tests/bench.cpp:33
↓ 5 callers
Method
check1d
(self, vol, expected_min, expected_max)
python/tests/test_fragment_stats.py:444
↓ 5 callers
Method
clone
src/meep.hpp:1005
↓ 5 callers
Function
dot
src/bicgstab.cpp:76
↓ 5 callers
Function
dot_product
src/mpb.cpp:335
↓ 5 callers
Function
filter_dict
(dict_to_filter: dict, func_with_kwargs: Callable)
python/visualization.py:106
↓ 5 callers
Method
get_curfield_as_array
(self, bloch_phase=True)
python/solver.py:432
↓ 5 callers
Method
get_freqs
(self)
python/solver.py:340
↓ 5 callers
Method
get_g
src/meep.hpp:1710
↓ 5 callers
Function
green3d
Given the field f0 correponding to current-source component c0 at x0, compute the E/H fields EH[6] (6 components) at x for a frequency freq in t
src/near2far.cpp:133
↓ 5 callers
Function
harmonics
tests/harmonics.cpp:27
↓ 5 callers
Method
iloc
src/vec.cpp:843
↓ 5 callers
Function
init_do_averaging
(mat_func)
python/geom.py:29
↓ 5 callers
Function
init_rand
src/random.cpp:30
↓ 5 callers
Function
is_leaf_node
Returns True if the partition has no children. Args: partition: the BinaryPartition node Returns: A boolean indicating whether p
python/binary_partition_utils.py:9
↓ 5 callers
Function
linear_interpolate
linearly interpolate a given point in a 3d grid of data. */
src/fields.cpp:792
↓ 5 callers
Method
little_owned_corner0
differs from little_owned_corner in that it doesn't count "ownership" of the r=0 origin for Dcyl, which is updated separately */
src/meep/vec.hpp:1102
↓ 5 callers
Function
material_epsmu
scheme/structure.cpp:397
↓ 5 callers
Function
mean_medium_from_matrix
Extract the mean epsilon from the effective inverse dielectric tensor, which contains two eigenvalues that correspond to the mean epsilon, and o
libpympb/pympb.cpp:185
↓ 5 callers
Method
new_from_simulation
Creates a new `MeepTimingMeasurements` from a Meep simulation object. Usage example: ``` sim = mp.Simulation(...) sim
python/timing_measurements.py:97
↓ 5 callers
Function
number_of_directions
src/meep/vec.hpp:96
↓ 5 callers
Method
output_epsilon
(self)
python/solver.py:615
↓ 5 callers
Function
parity_string
Return a string describing the current parity, used for frequency and filename prefixes
libpympb/pympb.cpp:172
↓ 5 callers
Function
partial_sum_to_all
src/mympi.cpp:517
↓ 5 callers
Method
planewave_in_vacuum
Verifies properties of the fields of a planewave in 1D or 3D. Computes the DFT fields at two different positions in the 1D grid and
python/tests/test_planewave_1D.py:12
↓ 5 callers
Function
plot_volume
( sim: Simulation, ax: Axes, volume: Volume, output_plane: Optional[Volume] = None, plotti
python/visualization.py:314
↓ 5 callers
Method
reset
src/fields.cpp:653
↓ 5 callers
Function
set_default_material
src/meepgeom.cpp:32
↓ 5 callers
Method
set_volume
src/meepgeom.cpp:778
↓ 5 callers
Method
shift
Shifts the object's `center` by `vec` (`Vector3`), returning a new object. This can also be accomplished via the `+` operator:
python/geom.py:1117
↓ 5 callers
Method
solve_cw
Solve for the CW (constant frequency) field response at the given frequency to the sources (with amplitude given by the current sources at the c
src/cw_fields.cpp:142
↓ 5 callers
Method
t
src/meep_internals.hpp:66
↓ 5 callers
Function
tanh_projection
src/meepgeom.cpp:497
↓ 5 callers
Function
unit_ivec
src/meep/vec.hpp:929
↓ 5 callers
Method
unset_volume
src/meepgeom.cpp:771
↓ 5 callers
Method
update
src/dft_ldos.cpp:97
↓ 5 callers
Function
v3
doc/docs/Developer_Codes/WriteChunkInfo.cpp:19
↓ 5 callers
Method
volume
src/vec.cpp:163
↓ 5 callers
Function
yucky_dir
Used for n=0,1,2 nested loops in macros. We should arrange the ordering so that this gives most efficient traversal of a field array, where n=2
src/vec.cpp:262
↓ 4 callers
Function
J
src/initialize.cpp:38
↓ 4 callers
Function
PLOOP_OVER_VOL_OWNED0
////////////////////////////////////////////////////////
src/step_db.cpp:219
↓ 4 callers
Method
_add_fluxish_stuff
( self, add_dft_stuff, freq, stufflist, decimation_factor, *args )
python/simulation.py:3805
↓ 4 callers
Method
_compute_fragment_stats
(self, gv)
python/simulation.py:1963
↓ 4 callers
Method
_create_grid_volume
(self, k: Vector3Type = None)
python/simulation.py:1672
↓ 4 callers
Method
_fit_volume_to_simulation
(self, vol: Volume)
python/simulation.py:1576
↓ 4 callers
Method
_get_field
(self, f, band, bloch_phase)
python/solver.py:399
↓ 4 callers
Method
_load_dump_structure_2d
( self, chunk_file=False, chunk_sim=False, single_parallel_file=True )
python/tests/test_dump_load.py:38
↓ 4 callers
Method
_load_dump_structure_3d
( self, chunk_file=False, chunk_sim=False, single_parallel_file=True )
python/tests/test_dump_load.py:133
↓ 4 callers
Method
_test_get_field
(self, field)
python/tests/test_mpb.py:442
↓ 4 callers
Function
_when_true_funcs
(cond, *step_funcs)
python/simulation.py:5061
↓ 4 callers
Method
add_dft_flux_box
src/dft.cpp:850
↓ 4 callers
Function
and_to_all
src/mympi.cpp:610
↓ 4 callers
Function
approx_point
tests/three_d.cpp:72
↓ 4 callers
Function
bench_3d
tests/bench.cpp:247
↓ 4 callers
Method
big_owned_corner
src/meep/vec.hpp:1107
↓ 4 callers
Function
box_vertices
( box_center: Vector3, box_size: Vector3, is_cylindrical: bool = False )
python/visualization.py:292
↓ 4 callers
Method
chi1p1
returns trace of the tensor diagonal
src/meepgeom.cpp:899
↓ 4 callers
Method
compute_symmetries
(self, W, w)
python/solver.py:1169
↓ 4 callers
Method
current
src/meep.hpp:977
↓ 4 callers
Function
design_region_to_grid
Returns the coordinates of the 1D grid for the design region. Args: nz: number of grid points. Returns: The 1D coordinates of th
python/examples/adjoint_optimization/multilayer_opt.py:51
↓ 4 callers
Function
design_region_to_meshgrid
Returns the 2D coordinates of the meshgrid for the design region. Args: nx, ny: the number of grid points in the x and y directions, respec
python/examples/adjoint_optimization/binary_grating_levelset.py:53
↓ 4 callers
Method
diameter
src/vec.cpp:196
↓ 4 callers
Function
display_csv
(sim, name, data)
python/simulation.py:5513
↓ 4 callers
Method
eff_chi1inv_row
default: simple numerical integration of surfaces/cubes, relative tolerance 'tol'. This is superseded by the routines in the libctl interface,
src/anisotropic_averaging.cpp:90
↓ 4 callers
Method
electric_energy_in_box
Given a `mp.Volume`, returns the integral of the electric-field energy $\\mathbf{E}^* \\cdot \\mathbf{D}/2$ in the given volume. If t
python/simulation.py:3680
↓ 4 callers
Function
enumerate_leaf_nodes
Enumerates all leaf nodes of a partition. Args: partition: the BinaryPartition node Yields: The leaf nodes contained within the
python/binary_partition_utils.py:21
↓ 4 callers
Function
find_exponent
tests/convergence_cyl_waveguide.cpp:14
↓ 4 callers
Function
first_field_component
src/vec.cpp:121
↓ 4 callers
Method
fix_field_phase
(self)
python/solver.py:452
↓ 4 callers
Function
get_2D_dimensions
(sim: Simulation, output_plane: Volume)
python/visualization.py:249
↓ 4 callers
Function
get_attr_material
python/typemap_utils.cpp:362
↓ 4 callers
Method
get_avg_chunk_communication_area
(self)
python/simulation.py:2227
↓ 4 callers
Function
get_chi
src/meepgeom.cpp:1479
← previous
next →
301–400 of 3,134, ranked by callers