#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "SPACE.H"
#include "Misc.H"
Include dependency graph for IntVect.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | LLT0 (vect[0] < s[0]) |
#define | LLT1 ((vect[0] == s[0]) && (vect[1] < s[1])) |
#define | LLT2 ((vect[1] == s[1]) && (vect[2] < s[2])) |
#define | LGT0 (vect[0] > s[0]) |
#define | LGT1 ((vect[0] == s[0]) && (vect[1] > s[1])) |
#define | LGT2 ((vect[1] == s[1]) && (vect[2] > s[2])) |
Functions | |
static int | s_dummyForIntVectH (IntVect::InitStatics()) |
IntVect | operator+ (int s, const IntVect &p) |
IntVect | operator- (int s, const IntVect &p) |
IntVect | operator * (int s, const IntVect &p) |
IntVect | scale (const IntVect &p, int s) |
IntVect | diagShift (const IntVect &p, int s) |
IntVect | min (const IntVect &p1, const IntVect &p2) |
IntVect | max (const IntVect &p1, const IntVect &p2) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns IntVect obtained by adding a scalar to each of the components of the given IntVect. |
|
Returns the IntVect that is the component-wise maximum of two argument IntVects. |
|
Returns the IntVect that is the component-wise minimum of two argument IntVects. |
|
Returns an IntVect that is an IntVect p with each component multiplied by a scalar s. |
|
Returns an IntVect that is an IntVect p with a scalar s added to each component. |
|
Returns s - p. |
|
|
|
Returns an IntVect obtained by multiplying each of the components of the given IntVect by a scalar. |