f4enix.input.ww_gvr.meshgrids.create_cylindrical_grid#
- f4enix.input.ww_gvr.meshgrids.create_cylindrical_grid(vector_i: ndarray[Any, dtype[_ScalarType_co]], vector_j: ndarray[Any, dtype[_ScalarType_co]], vector_k_revolutions: ndarray[Any, dtype[_ScalarType_co]], origin=None, axis=None, vec=None) StructuredGrid#
Create a cylindrical grid with the given vectors and origin.
In the case of a single theta interval or two theta intervals, the theta vector is artificially extended to 20 intervals as they couldnt be visually represented.
- Parameters:
vector_i (NDArray) – Vector defining the radial direction intervals.
vector_j (NDArray) – Vector defining height direction intervals.
vector_k_revolutions (NDArray) – Vector defining k direction intervals in revolution units.
origin (NDArray | None) – Vector pointing to the bottom center of the cylinder, by default None (0,0,0).
axis (NDArray | None) – Vector defining the axis of the cylinder, by default None (Z-axis).
vec (NDArray | None) – Vector defining the direction of the radius, by default None (X-axis).