#include <iosfwd>
#include <ccse-mpi.H>
#include <IntVect.H>
#include <IndexType.H>
#include <Orientation.H>
#include <SPACE.H>
Go to the source code of this file.
Namespaces | |
namespace | BoxLib |
Classes | |
class | Box |
: A Rectangular Domain on an Integer Lattice More... | |
Functions | |
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::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. | |
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::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::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. | |
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. | |
std::ostream & | operator<< (std::ostream &os, const Box &bx) |
Write an ASCII representation to the ostream. | |
std::istream & | operator>> (std::istream &os, Box &bx) |
Read from istream. |
std::ostream& operator<< | ( | std::ostream & | os, | |
const Box & | bx | |||
) |
Write an ASCII representation to the ostream.
References Box::bigEnd(), BoxLib::Error(), Box::smallEnd(), and Box::type().
std::istream& operator>> | ( | std::istream & | os, | |
Box & | bx | |||
) |