flex_rf.tidy3d.YeeGrid
Type: class │ Base(s): Tidy3dBaseModel
Description
Section titled “Description”Holds the yee grid coordinates for each of the E and H positions.
Example(s)
Section titled “Example(s)”x = np.linspace(-1, 1, 10)y = np.linspace(-1, 1, 11)z = np.linspace(-1, 1, 12)coords = Coords(x=x, y=y, z=z)field_grid = FieldGrid(x=coords, y=coords, z=coords)yee_grid = YeeGrid(E=field_grid, H=field_grid)Ex_coords = yee_grid.E.xParameters
Section titled “Parameters”E [FieldGrid] |
|
Coordinates of the locations of all three components of the electric field. |
H [FieldGrid] |
|
Coordinates of the locations of all three components of the magnetic field. |
Attributes
Section titled “Attributes”grid_dict [dict[str, Coords]] |
|
The Yee grid coordinates associated to various field components as a dictionary. |