Chombo + EB + MF  3.2
Classes | Macros | Functions
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...
 

Macros

#define _INTVECTSET_H_
 

Functions

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

Macro Definition Documentation

◆ _INTVECTSET_H_

#define _INTVECTSET_H_

Function Documentation

◆ refine()

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 ).

◆ coarsen()

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 ).