#include "SPACE.H"
#include <assert.h>
#include <iostream>
#include <array>
#include "PointImplem.H"
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) |
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().
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] |
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 getUnitv | ( | int | a_dir | ) | [inline] |
Returns a Point representing the idir-directional basis vector of dimension DIM. Identical to getBasisV().
Output is a unit vector . This function is identical to getBasisV()
Referenced by Stencil< T >::apply(), forall_stride(), LevelData< T, C, D, E >::getGhostBox(), LevelData< T, C, D, E >::getPeriodicCornerNeighborInfo(), LevelData< T, C, D, E >::getPeriodicEdgeNeighborInfo(), LevelData< T, C, D, E >::getPeriodicFlapNeighborInfo(), and getShiftVec().
ostream& operator<< | ( | ostream & | a_os, | |
const Point & | a_pt | |||
) | [inline] |