class TreeIntVectSet


Inheritance:

TreeIntVectSet


public members:

inline TreeIntVectSet()
TreeIntVectSet(const Box&)
TreeIntVectSet(const TreeIntVectSet & a_sivs)
~TreeIntVectSet()
void define(const Box&)
void define(const TreeIntVectSet & a_sivs)
TreeIntVectSet & operator=(const TreeIntVectSet & a_sivs)
TreeIntVectSet & operator|=(const TreeIntVectSet & a_sivs)
or
TreeIntVectSet & operator|=(const IntVect& a_iv)
TreeIntVectSet & operator|=(const Box& a_box)
TreeIntVectSet & operator&=(const TreeIntVectSet & s_sivs)
and
TreeIntVectSet & operator&=(const Box& a_box)
TreeIntVectSet & operator&=(const ProblemDomain & a_domain)
TreeIntVectSet & operator-=(const TreeIntVectSet & a_sivs)
not
TreeIntVectSet & operator-=(const IntVect& a_iv)
TreeIntVectSet & operator-=(const Box& a_box)
Vector <Box> createBoxes() const
bool contains(const IntVect& iv) const
bool contains(const Box& box ) const
TreeIntVectSet chop(int idir, int chop_pnt)
void grow(int igrow)
void grow(int idir, int igrow)
void refine(int iref = 2)
void coarsen(int iref = 2)
void shift(const IntVect& iv)
void clear()
void nestingRegion(int a_radius, const Box& a_domain)
void nestingRegion(int a_radius, const ProblemDomain & a_domain)
inline const Box& minBox() const
bool isEmpty() const
int numPts() const
void compact() const
void recalcMinBox() const

Documentation

Set calculus class based on trees.
Vector <Box> createBoxes () const
Returns Vector<Box> representation of this IntVectSet.

TreeIntVectSet chop (int idir, int chop_pnt)
somewhat expensive, but shouldn't be ;-)

void grow (int igrow)
expensive

void grow (int idir, int igrow)
expensive

void refine (int iref = 2)
fast if iref is power of 2

void coarsen (int iref = 2)
//fast if iref is power of 2

void shift (const IntVect& iv)
very very fast


this class has no child classes.

alphabetic index hierarchy of classes


Chombo

Copyright Notice

This software is copyright (C) by the Lawrence Berkeley National Laboratory. Permission is granted to reproduce this software for non-commercial purposes provided that this notice is left intact.

It is acknowledged that the U.S. Government has rights to this software under Contract DE-AC03-765F00098 between the U.S. Department of Energy and the University of California.

This software is provided as a professional and academic contribution for joint exchange. Thus it is experimental, is provided ``as is'', with no warranties of any kind whatsoever, no support, no promise of updates, or printed documentation. By using this software, you acknowledge that the Lawrence Berkeley National Laboratory and Regents of the University of California shall have no liability with respect to the infringement of other copyrights by any part of this software.