mesh Module

mesh.E_1d(L, NE)

1D Mesh (in the E direction) Domain: E ∈ [0, L]. NE: Number of elements.

mesh.t_1d(Lt, Nt)

1D Mesh (in the t direction) Domain: t ∈ [0, Lt]. Nt: Number of elements.

mesh.x_1d(Lx, Nx)

1D Mesh (in the x direction) Domain: x ∈ [0, Lx]. Nx: Number of elements.

mesh.xyE_3d(Lx, Ly, E_max, Nx, Ny, NE)

3D Mesh (x, y, E) Domain: x ∈ [0, Lx], y ∈ [0, Ly], E ∈ [0, E_max]. Nx, Ny, NE: Number of elements in the x, y, and E directions respectively.

mesh.xy_2d(Lx, Ly, Nx, Ny)

2D Mesh (x-y plane) Domain: x ∈ [0, Lx], y ∈ [0, Ly]. Nx, Ny: Number of elements in the x and y directions respectively.

mesh.xyz_3d(Lx, Ly, Lz, Nx, Ny, Nz)

3D Mesh (x, y, z) Domain: x ∈ [0, Lx], y ∈ [0, Ly], z ∈ [0, Lz]. Nx, Ny, Nz: Number of elements in the x, y, and z directions respectively.