IntVectSet.H File Reference

#include "SPACE.H"
#include <iostream>
#include "Box.H"
#include "IntVect.H"
#include "TreeIntVectSet.H"
#include "DenseIntVectSet.H"
#include "parstream.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"

Include dependency graph for IntVectSet.H:

Go to the source code of this file.

Classes

class  IntVectSet
 An irregular domain on an integer lattice. More...
class  IVSIterator
 Iterator for an IntVectSet. More...

Functions

IntVectSet refine (const IntVectSet &ivs, int iref=2)
 Refine all the IntVects in an IntVectSet.
IntVectSet coarsen (const IntVectSet &ivs, int iref=2)
 Coarsen all the IntVects in an IntVectSet.


Function Documentation

IntVectSet refine ( const IntVectSet ivs,
int  iref = 2 
)

Refine all the IntVects in an IntVectSet.

Creates a new IntVectSet that is a copy of the argument IntVectSet ivs refined by the factor iref. It is an error if iref <= 0. Definition of refinement: for each IntVect iv in the original IntVectSet ivs, the refined IntVectSet will contain the Box defined by refine( Box(iv,iv), iref ).

IntVectSet coarsen ( const IntVectSet ivs,
int  iref = 2 
)

Coarsen all the IntVects in an IntVectSet.

Creates a new IntVectSet that is a copy of the argument IntVectSet ivs coarsened by the factor iref. It is an error if iref <= 0. Definition of coarsening: for each IntVect iv in the original IntVectSet, the refined IntVectSet will contain the IntVect defined by coarsen( iv, iref ).


Generated on Thu Jun 21 04:01:30 2018 for Chombo + EB by  doxygen 1.5.5