#include <assert.h>
Go to the source code of this file.
Functions | |
Point | getOnes () |
Returns a Point of dimension DIM with all entries equal to 1. | |
Point | getZeros () |
Returns a Point of dimension DIM with all entries equal to 0. | |
Point | getBasisV (int idir) |
Returns a Point representing the idir-directional basis vector of dimension DIM. |
Point getOnes | ( | ) | [inline] |
Returns a Point of dimension DIM with all entries equal to 1.
Referenced by Stencil< T >::apply(), LevelData< T, C, D, E >::define(), LevelData< T, C, D, E >::exchangeSingleBox(), getUnitShift(), and BoxLayout::operator[]().
Point getZeros | ( | ) | [inline] |
Returns a Point of dimension DIM with all entries equal to 0.
Referenced by LevelData< T, C, D, E >::copyTo(), LevelData< T, C, D, E >::exchangeSingleBox(), getBasisV(), and Shift::Shift().
Point getBasisV | ( | int | idir | ) | [inline] |
Returns a Point representing the idir-directional basis vector of dimension DIM.
Output is a unit vector . This function is identical to getUnitv()
References getZeros().