GRID modules (sf3dmodels.grid)¶
sf3dmodels.grid Package¶
This package initializes the model hosting grid (Under development).
Classes¶
Grid() |
|
NeighbourRegularGrid |
Class for getting nearest neighbours in regular grids. |
Overlap(GRID) |
Host class with functions to overlap submodels either from files or from prop objects into a single regular grid. |
RandomGridAroundAxis(pos_c, axis, z_min, …) |
Base class for Random grids around a given axis. |
Build_r(GRID) |
Computes the spherical coordinate \(r\) on each cartesian grid point. |
Build_theta(GRID) |
Computes the polar angle \(\theta\) on each cartesian grid point. |
Build_phi(GRID) |
Computes the azimuthal angle \(\phi\) on each cartesian grid point. |
GridSet(GRID) |
Base class for all classes invoking grids to operate with. |
Class Inheritance Diagram¶
sf3dmodels.grid.fillgrid Module¶
Fills up the input grid with empty points (dummy points).
This is particularly useful for irregular grids that have large voids between the real cells and the border of an eventual radiative transfer domain.
Classes¶
Random(grid[, smart]) |
Methods for filling in the grid randomly with (non-physical) dummy points. |