Point.H File Reference

#include "SPACE.H"
#include <assert.h>
#include <iostream>
#include <array>
#include "PointImplem.H"

Include dependency graph for Point.H:

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

Go to the source code of this file.

Classes

class  Point
 A point in space. More...

Functions

Point getBasisV (int idir)
 Returns a Point representing the idir-directional basis vector of dimension DIM.
Point getZeros ()
 Returns a Point of dimension DIM with all entries equal to 0.
Point getOnes ()
 Returns a Point of dimension DIM with all entries equal to 1.
Point getUnitv (int a_dir)
 Returns a Point representing the idir-directional basis vector of dimension DIM. Identical to getBasisV().
ostream & operator<< (ostream &a_os, const Point &a_pt)


Function Documentation

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().

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 getOnes (  )  [inline]

Point getUnitv ( int  a_dir  )  [inline]

ostream& operator<< ( ostream &  a_os,
const Point a_pt 
) [inline]


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