|
waLBerla 7.3
|
Geometric properties of a cell grid.
Represents a grid of cells with a given bounding box (CellGrid::aabb()), covered by a given interval of cells (CellGrid::cells()) and exposes functions to compute the bounding boxes and center points of cells that are part of this grid.
#include <GridGeometry.hpp>
Public Member Functions | |
| WALBERLA_HOST_DEVICE | CellGrid (AABB aabb, CellInterval cellBb, Vector3< real_t > cellExtents) |
| WALBERLA_HOST_DEVICE const AABB & | aabb () const |
| WALBERLA_HOST_DEVICE const CellInterval & | cells () const |
| WALBERLA_HOST_DEVICE const Vector3< real_t > & | cellExtents () const |
| WALBERLA_HOST_DEVICE Vector3< real_t > | cellCenter (const Cell &c) const |
Private Attributes | |
| AABB | aabb_ |
| CellInterval | cellBb_ |
| Vector3< real_t > | cellExtents_ |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |