f4enix.input.ww_gvr.meshgrids.create_cartesian_grid#
- f4enix.input.ww_gvr.meshgrids.create_cartesian_grid(vector_i: ndarray[Any, dtype[_ScalarType_co]], vector_j: ndarray[Any, dtype[_ScalarType_co]], vector_k: ndarray[Any, dtype[_ScalarType_co]], origin: ndarray[Any, dtype[_ScalarType_co]] | None = None) StructuredGrid#
Create a cartesian grid with the given vectors and origin.
- Parameters:
vector_i (NDArray) – Vector defining the i direction intervals.
vector_j (NDArray) – Vector defining the j direction intervals.
vector_k (NDArray) – Vector defining the k direction intervals.
origin (NDArray | None) – Origin vector of the grid, by default None (0,0,0).