plopm.utils.mapping module

Utility function for the grid and locations in the geological models

plopm.utils.mapping.handle_slide_x(cfg: ConfigPlopm, read: ReadData, n: int) tuple[NDArray, NDArray, str, str, int, int, str, str]

Processing the selected yz slide to obtain the grid properties

plopm.utils.mapping.handle_slide_y(cfg: ConfigPlopm, read: ReadData, n: int) tuple[NDArray, NDArray, str, str, int, int, str, str]

Processing the selected xz slide to obtain the grid properties

plopm.utils.mapping.handle_slide_z(cfg: ConfigPlopm, read: ReadData, n: int) tuple[NDArray, NDArray, str, str, int, int, str, str]

Processing the selected xy slide to obtain the grid properties

plopm.utils.mapping.map_xycoords(cfg: ConfigPlopm, read: ReadData, var: str, quan: NDArray, n: int, mx: int, my: int, welult: list | None = None, nwelult: int = 1) NDArray

Map the properties from the simulations to the 2D slide

plopm.utils.mapping.map_xzcoords(cfg: ConfigPlopm, read: ReadData, var: str, quan: NDArray, n: int, mx: int, my: int, welult: list | None = None, nwelult: int = 1) NDArray

Map the properties from the simulations to the 2D slide

plopm.utils.mapping.map_yzcoords(cfg: ConfigPlopm, read: ReadData, var: str, quan: NDArray, n: int, mx: int, my: int, welult: list | None = None, nwelult: int = 1) NDArray

Map the properties from the simulations to the 2D slide

plopm.utils.mapping.rotate_grid(cfg: ConfigPlopm, n: int, xc: NDArray, yc: NDArray) tuple[NDArray, NDArray]

Rotate the grid if requiered