PointImplem.H File Reference

#include <assert.h>

Include dependency graph for PointImplem.H:

This graph shows which files directly or indirectly include this file:

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.


Function Documentation

Point getOnes (  )  [inline]

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 $\mathbf{v}: \mathbf{v}[k] = \delta_{idir}^k$. This function is identical to getUnitv()

References getZeros().


Generated on Fri Mar 11 12:53:43 2016 for AMRStencil by  doxygen 1.5.5