Defines all stencil directions and their properties, and a general DxQy stencil class.
- Author
- Martin Bauer marti.nosp@m.n.ba.nosp@m.uer@f.nosp@m.au.d.nosp@m.e
|
Direction | walberla::stencil::vectorToDirection (cell_idx_t x, cell_idx_t y, cell_idx_t z) |
| Maps a (x,y,z) direction vector to its direction. More...
|
|
Direction | walberla::stencil::vectorToDirection (Vector3< cell_idx_t > vec) |
|
bool | walberla::stencil::isFaceDirection (Direction dir) |
|
bool | walberla::stencil::isEdgeDirection (Direction dir) |
|
bool | walberla::stencil::isCornerDirection (Direction dir) |
|
Direction | walberla::stencil::directionFromAxis (int axis, bool minOrMax) |
| Maps (direction,axis) pair to direction. More...
|
|
Direction | walberla::stencil::directionFromAxis (uint_t axis, bool minOrMax) |
| Maps (direction,axis) pair to direction. More...
|
|
Cell | walberla::stencil::operator+ (const Cell &cell, const Direction d) |
| Computes neighbor from cell in direction d. More...
|
|
Cell | walberla::stencil::operator- (const Cell &cell, const Direction d) |
| Computes neighbor from cell in direction inverseDir[d]. More...
|
|
Cell & | walberla::stencil::operator+= (Cell &cell, const Direction d) |
| Shifts cell to its neighbor in direction d. More...
|
|
Cell & | walberla::stencil::operator-= (Cell &cell, const Direction d) |
| Shifts cell to its neighbor in direction inverseDir[d]. More...
|
|
|
const uint_t | walberla::stencil::NR_OF_DIRECTIONS = 27 |
|
const int | walberla::stencil::cx [NR_OF_DIRECTIONS] |
| The x component for each direction. More...
|
|
const int | walberla::stencil::cy [NR_OF_DIRECTIONS] |
| The y component for each direction. More...
|
|
const int | walberla::stencil::cz [NR_OF_DIRECTIONS] |
| The z component for each direction. More...
|
|
const int | walberla::stencil::c [3][NR_OF_DIRECTIONS] |
| The x,y,z component for each direction. More...
|
|
const real_t | walberla::stencil::cNorm [3][NR_OF_DIRECTIONS] |
| The x,y,z component for each normalized direction. More...
|
|
const std::string | walberla::stencil::dirToString [NR_OF_DIRECTIONS] |
| String representation for each direction. More...
|
|
const BinaryDirection | walberla::stencil::dirToBinary [27] |
| Binary encoded direction for each direction. More...
|
|
const Direction | walberla::stencil::inverseDir [NR_OF_DIRECTIONS] |
| Inverse directions. More...
|
|
const real_t | walberla::stencil::dirLength [NR_OF_DIRECTIONS] |
| Length for each direction. More...
|
|
const real_t | walberla::stencil::gaussianWeights [NR_OF_DIRECTIONS] |
|
const uint_t | walberla::stencil::gaussianMultipliers [NR_OF_DIRECTIONS] |
|
const Direction | walberla::stencil::mirrorX [NR_OF_DIRECTIONS] |
| The mirrored directions (flip W-E) More...
|
|
const Direction | walberla::stencil::mirrorY [NR_OF_DIRECTIONS] |
| The mirrored directions (flip N-S) More...
|
|
const Direction | walberla::stencil::mirrorZ [NR_OF_DIRECTIONS] |
| The mirrored directions (flip T-B) More...
|
|
const Direction | walberla::stencil::map2Dto3D [3][NR_OF_DIRECTIONS] |
| Maps from 2D directions (C, N, S, W, E, NW, NE, SW, SE) to 3D directions, by slicing through x,y or z coordinate. More...
|
|