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
↓ 23 callers
Method
get_field_point
(sim)
python/tests/test_dump_load.py:110
↓ 23 callers
Method
iyee_shift
src/meep/vec.hpp:1132
↓ 22 callers
Function
cdouble
src/array_slice.cpp:75
↓ 22 callers
Method
clear
src/meep.hpp:794
↓ 22 callers
Function
count_processors
src/mympi.cpp:644
↓ 22 callers
Method
get_max_corner
src/meep/vec.hpp:997
↓ 22 callers
Function
is_B
src/meep/vec.hpp:421
↓ 22 callers
Function
urand
uniform pseudo-random number in [min,max]
tests/integrate.cpp:101
↓ 22 callers
Method
where
(self)
python/simulation.py:683
↓ 22 callers
Function
zeros
()
python/tests/test_geom.py:11
↓ 21 callers
Method
in_direction_max
src/meep/vec.hpp:961
↓ 21 callers
Method
init_simple_simulation
(self, **kwargs)
python/tests/test_simulation.py:197
↓ 21 callers
Method
meep_time
Return the current simulation time in simulation time units (e.g. during a run function). This is not the wall-clock time. O
python/simulation.py:2618
↓ 21 callers
Method
output_hdf5
src/h5fields.cpp:225
↓ 21 callers
Function
v3
tests/bend-flux-ll.cpp:27
↓ 20 callers
Method
check_band_range_data
(self, expected_brd, result, places=3, tol=1e-3)
python/tests/test_mpb.py:189
↓ 20 callers
Method
get_filename_prefix
Return the current prefix string that is prepended, by default, to all file names. If you don't want to use any prefix, then you sho
python/simulation.py:2749
↓ 20 callers
Function
is_D
src/meep/vec.hpp:420
↓ 20 callers
Method
open_h5file
src/h5fields.cpp:455
↓ 20 callers
Method
round_time
(self)
python/simulation.py:2641
↓ 20 callers
Method
use_real_fields
src/fields.cpp:144
↓ 19 callers
Function
_eval_step_func
(sim, func, todo)
python/simulation.py:5049
↓ 19 callers
Method
axis
(self)
python/simulation.py:196
↓ 19 callers
Method
init_sim
(self)
python/tests/test_chunk_balancer.py:38
↓ 18 callers
Function
compare_point
tests/cylindrical.cpp:38
↓ 18 callers
Function
compare_point
tests/two_dimensional.cpp:51
↓ 18 callers
Method
dft_ldos
src/dft_ldos.cpp:25
↓ 18 callers
Function
linspace
src/dft.cpp:31
↓ 18 callers
Function
max_to_all
src/mympi.cpp:377
↓ 18 callers
Method
multiplicity
src/vec.cpp:1208
↓ 18 callers
Method
nz
src/meep/vec.hpp:1035
↓ 18 callers
Method
total_volume
total computational grid_volume, including regions redundant by symmetry
src/fields.cpp:717
↓ 18 callers
Function
volcyl
src/vec.cpp:932
↓ 17 callers
Method
get_filename_prefix
(self)
python/solver.py:329
↓ 17 callers
Function
is_derived
src/meep/vec.hpp:424
↓ 17 callers
Method
read_chunk
src/h5file.cpp:838
↓ 17 callers
Method
write_chunk
src/h5file.cpp:696
↓ 16 callers
Method
add_flux_plane
As add_flux_vol, but infer direction from where (if possible)
src/energy_and_flux.cpp:232
↓ 16 callers
Function
check_splitsym
tests/integrate.cpp:197
↓ 16 callers
Function
compare
tests/cylindrical.cpp:28
↓ 16 callers
Function
coordinate_mismatch
true if d is polar while dim is cartesian, or vice versa
src/meep/vec.hpp:405
↓ 16 callers
Method
field_energy_in_box
src/energy_and_flux.cpp:54
↓ 16 callers
Method
get_chi1inv_at_pt
src/monitor.cpp:266
↓ 16 callers
Method
get_fragment_stats
( self, block_size, cell_size, dims, box_center=mp.Vector3(),
python/tests/test_fragment_stats.py:53
↓ 16 callers
Function
volone
src/vec.cpp:904
↓ 16 callers
Method
yee2cent_offsets
Return array offsets to average with a given array location of c in order to get c on the "centered" grid. Then, to get the centered grid point
src/vec.cpp:333
↓ 15 callers
Method
compare_h5_files
(self, ref_path, res_path, tol=1e-3)
python/tests/test_mpb.py:230
↓ 15 callers
Function
get_attr_dbl
python/typemap_utils.cpp:338
↓ 15 callers
Method
get_chunk_volumes
src/structure.cpp:999
↓ 15 callers
Method
get_efield
(self, which_band, bloch_phase=True)
python/solver.py:386
↓ 15 callers
Method
load
Loads simulation state. This should called right after the Simulation object has been created but before 'init_sim' is calle
python/simulation.py:2426
↓ 15 callers
Method
owns
src/vec.cpp:445
↓ 15 callers
Function
set_materials_from_geometry
set the materials without previously creating a geom_eps object */
src/meepgeom.cpp:2000
↓ 15 callers
Method
use_output_directory
Output all files into a subdirectory, which is created if necessary. If the optional argument `dname` is specified, that is the name
python/simulation.py:2774
↓ 14 callers
Function
LOOP_OVER_IVECS
src/dft.cpp:343
↓ 14 callers
Method
__init__
Construct a `Cone`. **`radius2` [`number`]** — Radius of the tip of the cone (i.e. the end of the cone pointed to by
python/geom.py:1228
↓ 14 callers
Function
all_wait
src/mympi.cpp:628
↓ 14 callers
Function
make_sim
(cell, res, pml, dims, create_gv=True, k_point=False)
python/tests/test_fragment_stats.py:26
↓ 14 callers
Function
max
tests/bench.cpp:218
↓ 14 callers
Function
one_ivec
src/meep/vec.hpp:922
↓ 14 callers
Method
set_conductivity
src/structure.cpp:425
↓ 14 callers
Method
stride
src/meep/vec.hpp:1025
↓ 13 callers
Function
compare
tests/known_results.cpp:43
↓ 13 callers
Method
create_data
Create a dataset, for writing chunks etc. Note that, in parallel mode, this should be called by *all* processors, even those not writing any da
src/h5file.cpp:468
↓ 13 callers
Function
f
(x, gradient)
python/adjoint/unfilter_design.py:35
↓ 13 callers
Method
get_dfield
(self, which_band, bloch_phase=True)
python/solver.py:389
↓ 13 callers
Method
phase_shift
src/vec.cpp:1347
↓ 13 callers
Method
read_size
src/h5file.cpp:238
↓ 12 callers
Method
_boundary_layers_to_vol_list
Returns three lists of meep::volume objects. The first represents the boundary regions with no overlaps. The second is regions where
python/simulation.py:1907
↓ 12 callers
Function
compare
tests/two_dimensional.cpp:42
↓ 12 callers
Method
convex_circle
(self, npts, r, sym)
python/tests/test_prism.py:83
↓ 12 callers
Method
count_volume
src/energy_and_flux.cpp:32
↓ 12 callers
Function
integral1
integrals of 1 and x, respectively, from a to b, or 1 and x if a==b: */
tests/integrate.cpp:67
↓ 12 callers
Function
integralx
tests/integrate.cpp:74
↓ 12 callers
Function
material_type_equal
src/meepgeom.cpp:130
↓ 12 callers
Function
my_rank
src/mympi.cpp:634
↓ 12 callers
Function
ones
()
python/tests/test_geom.py:15
↓ 12 callers
Method
output_field_to_file
(self, component, fname_prefix)
python/solver.py:623
↓ 12 callers
Method
unit
Returns a unit vector in the direction of the vector. ```python v2 = v1.unit() ```
python/geom.py:209
↓ 12 callers
Function
vol2d
src/vec.cpp:921
↓ 11 callers
Method
add_susceptibility
src/structure.cpp:471
↓ 11 callers
Method
get_farfield
Given a `Vector3` point `x` which can lie anywhere outside the near-field surface, including outside the cell and a `near2far` object
python/simulation.py:3227
↓ 11 callers
Function
is_medium
src/meepgeom.cpp:297
↓ 11 callers
Function
load_dft_hdf5
src/dft.cpp:470
↓ 11 callers
Function
mapping
Applies the smoothing and projection.
python/examples/waveguide_crossing.py:188
↓ 11 callers
Method
n_proc
src/meep.hpp:1566
↓ 11 callers
Method
plot2D
Produce a graphical visualization of the geometry and/or fields, as appropriately autodetermined based on the current state of progres
python/adjoint/optimization_problem.py:560
↓ 11 callers
Function
print_heading
(h)
python/examples/mpb_tutorial.py:9
↓ 11 callers
Method
run_parity
(self, p, reset_fields, *band_functions)
python/solver.py:892
↓ 11 callers
Function
save_dft_hdf5
Note: the file must have been created in parallel mode, typically via fields::open_h5file.
src/dft.cpp:445
↓ 11 callers
Method
scale_dft
src/dft.cpp:402
↓ 11 callers
Method
scale_dfts
(self)
python/simulation.py:671
↓ 11 callers
Function
vec_to_vector3
src/meepgeom.cpp:238
↓ 10 callers
Function
FOR_DIRECTIONS
src/vec.cpp:483
↓ 10 callers
Method
adjoint_solver
( self, design_params: List[float] = None, mon_type: MonitorObject = None, fre
python/tests/test_adjoint_solver.py:112
↓ 10 callers
Function
calc_nonlinear_u
Given Dsqr = |D|^2 and Di = component of D, compute the factor f so that Ei = chi1inv * f * Di. In principle, this would involve solving a cub
src/step_generic.cpp:542
↓ 10 callers
Method
call_chi1
(self, material, frequency)
python/tests/test_dispersive_eigenmode.py:22
↓ 10 callers
Method
change_sources
Change the list of sources in `Simulation.sources` to `new_sources`, and changes the sources used for the current simulation. `new_so
python/simulation.py:4479
↓ 10 callers
Function
compare_point
tests/one_dimensional.cpp:43
↓ 10 callers
Function
different
tests/harmonics.cpp:87
← previous
next →
101–200 of 3,134, ranked by callers