Box.cpp File Reference

#include <iostream>
#include <limits>
#include <BLassert.H>
#include <BoxLib.H>
#include <Box.H>

Include dependency graph for Box.cpp:


Defines

#define BL_IGNORE_MAX   100000

Functions

Box BoxLib::surroundingNodes (const Box &b, int dir)
 Return a Box with NODE based coordinates in direction dir that encloses Box b.
Box BoxLib::surroundingNodes (const Box &b)
 Return a Box with NODE based coordinates in all directions that encloses Box b.
Box BoxLib::enclosedCells (const Box &b, int dir)
 Return a Box with CELL based coordinates in direction dir that is enclosed by b.
Box BoxLib::enclosedCells (const Box &b)
 Return a Box with CELL based coordinates in all directions that is enclosed by b.
Box BoxLib::grow (const Box &b, int i)
 Grow Box in all directions by given amount.
Box BoxLib::grow (const Box &b, const IntVect &v)
 Grow Box in each direction by specified amount.
Box BoxLib::refine (const Box &b, int refinement_ratio)
 Refine Box by given (positive) refinement ratio.
Box BoxLib::refine (const Box &b, const IntVect &refinement_ratio)
 Refine Box by given (positive) refinement ratio.
Box BoxLib::coarsen (const Box &b, int refinement_ratio)
 Coarsen Box by given (positive) refinement ratio.
Box BoxLib::coarsen (const Box &b, const IntVect &refinement_ratio)
 Coarsen Box by given (positive) refinement ratio.
std::ostream & operator<< (std::ostream &os, const Box &b)
 Write an ASCII representation to the ostream.
std::istream & operator>> (std::istream &is, Box &b)
 Read from istream.
Box BoxLib::minBox (const Box &b1, const Box &b2)
 Modify Box to that of the minimum Box containing both the original Box and the argument.
Box BoxLib::bdryLo (const Box &b, int dir, int len=1)
 Returns the edge-centered Box (in direction dir) defining the low side of Box b.
Box BoxLib::bdryHi (const Box &b, int dir, int len=1)
 Returns the edge-centered Box (in direction dir) defining the high side of Box b.
Box BoxLib::bdryNode (const Box &b, const Orientation &face, int len=1)
 Similar to bdryLo and bdryHi except that it operates on the given face of box b.
Box BoxLib::adjCellLo (const Box &b, int dir, int len=1)
 Return the cell centered Box of length len adjacent to b on the low end along the coordinate direction dir.
Box BoxLib::adjCellHi (const Box &b, int dir, int len=1)
 Similar to adjCellLo but builds an adjacent Box on the high end.
Box BoxLib::adjCell (const Box &b, const Orientation &face, int len=1)
 Similar to adjCellLo and adjCellHi; operates on given face.

Define Documentation

#define BL_IGNORE_MAX   100000

Referenced by operator>>(), and FABio::read_header().


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Box b 
)

Write an ASCII representation to the ostream.

References Box::bigEnd(), BoxLib::Error(), Box::smallEnd(), and Box::type().

std::istream& operator>> ( std::istream &  is,
Box b 
)

Read from istream.

References BL_IGNORE_MAX, Box::Box(), and BoxLib::Error().


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