Grid

class pymiso.Grid(conf: Conf)[source]

Bases: object

Class for handling simulation grids from the grid.bin file

Methods Summary

load(conf)

Load the grid.bin file and set the grid points as attributes

set_ijk_params(conf)

Set start, end, margin, size, etc.

Methods Documentation

load(conf: Conf)[source]

Load the grid.bin file and set the grid points as attributes

Parameters:

conf (Conf) – Instance of Conf class

set_ijk_params(conf: Conf)[source]

Set start, end, margin, size, etc. for each direction

Parameters:

conf (Conf) – Instance of Conf class

__init__(conf: Conf)[source]

Initialize the Grid class instance

Parameters:

conf (Conf) – Instance of Conf class