IntVect.H File Reference

#include <iosfwd>
#include <ccse-mpi.H>
#include <SPACE.H>
#include <Array.H>
#include <BLassert.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.

Namespaces

namespace  BoxLib

Classes

class  IntVect

Functions

IntVect BoxLib::BASISV (int dir)
 Returns a basis vector in the given coordinate direction; eg.
IntVect BoxLib::min (const IntVect &p1, const IntVect &p2)
 Returns the IntVect that is the component-wise minimum of two argument IntVects.
IntVect BoxLib::max (const IntVect &p1, const IntVect &p2)
 Returns the IntVect that is the component-wise minimum of two argument IntVects.
IntVect BoxLib::scale (const IntVect &p, int s)
 Returns a IntVect obtained by multiplying each of the components of this IntVect by s.
IntVect BoxLib::reflect (const IntVect &a, int ref_ix, int idir)
 Returns an IntVect that is the reflection of input in the plane which passes through ref and normal to the coordinate direction idir.
IntVect BoxLib::diagShift (const IntVect &p, int s)
 Returns IntVect obtained by adding s to each of the components of this IntVect.
IntVect BoxLib::coarsen (const IntVect &p, int s)
 Returns an IntVect that is the component-wise integer projection of p by s.
IntVect BoxLib::coarsen (const IntVect &p1, const IntVect &p2)
 Returns an IntVect which is the component-wise integer projection of IntVect p1 by IntVect p2.
IntVect operator+ (int s, const IntVect &p)
 Returns p + s.
IntVect operator- (int s, const IntVect &p)
 Returns -p + s.
IntVect operator* (int s, const IntVect &p)
 Returns p * s.
std::ostream & operator<< (std::ostream &os, const IntVect &iv)
 Print the IntVect to given output stream in ASCII.
std::istream & operator>> (std::istream &os, IntVect &iv)
 Read next IntVect from given input stream.


Function Documentation

IntVect operator* ( int  s,
const IntVect p 
)

Returns p * s.

References IntVect::IntVect().

IntVect operator+ ( int  s,
const IntVect p 
)

Returns p + s.

References IntVect::IntVect().

IntVect operator- ( int  s,
const IntVect p 
)

Returns -p + s.

References IntVect::IntVect().

std::ostream& operator<< ( std::ostream &  os,
const IntVect iv 
)

Print the IntVect to given output stream in ASCII.

References BoxLib::Error().

std::istream& operator>> ( std::istream &  os,
IntVect iv 
)

Read next IntVect from given input stream.

References BL_IGNORE_MAX, and BoxLib::Error().


Generated on Fri Nov 21 10:10:58 2008 for AMRParticlePaths by  doxygen 1.5.5