PPL Logo

blockLoc Class Reference

#include <gridutil.h>

Inheritance diagram for blockLoc:

Inheritance graph
[legend]
Collaboration diagram for blockLoc:

Collaboration graph
[legend]

Public Member Functions

 blockLoc ()
 blockLoc (int i_, int j_, int k_)
blockLoc operator+ (const blockLoc &b) const
blockLocoperator+= (const blockLoc &b)
blockDim operator- (const blockLoc &b) const
bool operator== (const blockLoc &o) const
bool operator!= (const blockLoc &o) const
intoperator[] (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)

Detailed Description

Definition at line 21 of file gridutil.h.


Constructor & Destructor Documentation

blockLoc::blockLoc (  )  [inline]

Definition at line 25 of file gridutil.h.

Referenced by operator+().

Here is the caller graph for this function:

blockLoc::blockLoc ( int  i_,
int  j_,
int  k_ 
) [inline]

Definition at line 26 of file gridutil.h.


Member Function Documentation

blockLoc blockLoc::operator+ ( const blockLoc b  )  const [inline]

Definition at line 28 of file gridutil.h.

References blockLoc(), i, j, and k.

Here is the call graph for this function:

blockLoc& blockLoc::operator+= ( const blockLoc b  )  [inline]

Definition at line 30 of file gridutil.h.

References i, j, and k.

blockDim blockLoc::operator- ( const blockLoc b  )  const [inline]

Definition at line 81 of file gridutil.h.

References i, j, and k.

bool blockLoc::operator== ( const blockLoc o  )  const [inline]

Definition at line 38 of file gridutil.h.

References i, j, and k.

bool blockLoc::operator!= ( const blockLoc o  )  const [inline]

Definition at line 40 of file gridutil.h.

References i, j, and k.

int& blockLoc::operator[] ( int  d  )  [inline]

Reimplemented in blockDim.

Definition at line 44 of file gridutil.h.

References i.

int blockLoc::operator[] ( int  d  )  const [inline]

Reimplemented in blockDim.

Definition at line 45 of file gridutil.h.

References i.

void blockLoc::getInt3 ( int dest,
int  del = 0 
) const [inline]

Definition at line 47 of file gridutil.h.

References i, j, and k.

void blockLoc::pup ( PUP::er p  )  [inline]

Definition at line 50 of file gridutil.h.

References i, j, k, and p.

Referenced by block::pup(), and field_t::pup().

Here is the caller graph for this function:

void blockLoc::print ( void   )  [inline]

Definition at line 54 of file gridutil.h.

References i, j, and k.


Friends And Related Function Documentation

blockLoc operator* ( const blockLoc a,
int  k 
) [friend]

Definition at line 33 of file gridutil.h.

blockLoc operator* ( int  k,
const blockLoc a 
) [friend]

Definition at line 35 of file gridutil.h.


Field Documentation

int blockLoc::i [protected]

int blockLoc::j [protected]

int blockLoc::k [protected]


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:17:55 2020 for Charm++ by  doxygen 1.5.5