#include <gridutil.h>
Public Member Functions | |
blockLoc () | |
blockLoc (int i_, int j_, int k_) | |
blockLoc | operator+ (const blockLoc &b) const |
blockLoc & | operator+= (const blockLoc &b) |
blockDim | operator- (const blockLoc &b) const |
bool | operator== (const blockLoc &o) const |
bool | operator!= (const blockLoc &o) const |
int & | operator[] (int d) |
int | operator[] (int d) const |
void | getInt3 (int *dest, int del=0) const |
void | pup (PUP::er &p) |
void | print (void) |
Protected Attributes | |
int | i |
int | j |
int | k |
Friends | |
blockLoc | operator* (const blockLoc &a, int k) |
blockLoc | operator* (int k, const blockLoc &a) |
Definition at line 21 of file gridutil.h.
blockLoc::blockLoc | ( | ) | [inline] |
Definition at line 25 of file gridutil.h.
Referenced by operator+().
Definition at line 26 of file gridutil.h.
Definition at line 28 of file gridutil.h.
References blockLoc(), i, j, and k.
void blockLoc::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 50 of file gridutil.h.
Referenced by block::pup(), and field_t::pup().
void blockLoc::print | ( | void | ) | [inline] |
Definition at line 33 of file gridutil.h.
Definition at line 35 of file gridutil.h.
int blockLoc::i [protected] |
Definition at line 23 of file gridutil.h.
Referenced by blockDim::c_index(), getInt3(), blockDim::getSize(), operator!=(), operator+(), operator+=(), operator-(), operator==(), blockDim::operator[](), operator[](), print(), and pup().
int blockLoc::j [protected] |
Definition at line 23 of file gridutil.h.
Referenced by blockDim::c_index(), getInt3(), blockDim::getSize(), operator!=(), operator+(), operator+=(), operator-(), operator==(), print(), and pup().
int blockLoc::k [protected] |
Definition at line 23 of file gridutil.h.
Referenced by getInt3(), blockDim::getSize(), operator!=(), operator+(), operator+=(), operator-(), operator==(), print(), and pup().