Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
AMReX_BoxList.cpp File Reference
#include <AMReX_Print.H>
#include <AMReX_BoxArray.H>
#include <AMReX_BoxList.H>
#include <AMReX_BLProfiler.H>
#include <AMReX_ParallelDescriptor.H>
#include <algorithm>
#include <iostream>
#include <cmath>

Namespaces

namespace  amrex
 

Functions

BoxList amrex::intersect (const BoxList &bl, const Box &b)
 Returns a BoxList defining the intersection of bl with b.
 
BoxList amrex::refine (const BoxList &bl, int ratio)
 Returns a new BoxList in which each Box is refined by the given ratio.
 
BoxList amrex::coarsen (const BoxList &bl, int ratio)
 Returns a new BoxList in which each Box is coarsened by the given ratio.
 
BoxList amrex::accrete (const BoxList &bl, int sz)
 Returns a new BoxList in which each Box is grown by the given size.
 
BoxList amrex::removeOverlap (const BoxList &bl)
 Return BoxList which covers the same area but has no overlapping boxes.
 
BoxList amrex::complementIn (const Box &b, const BoxList &bl)
 Returns a BoxList defining the complement of BoxList bl in Box b.
 
BoxList amrex::boxDiff (const Box &b1in, const Box &b2)
 Returns BoxList defining the compliment of b2 in b1in.
 
void amrex::boxDiff (BoxList &bl_diff, const Box &b1in, const Box &b2)
 
std::ostream & amrex::operator<< (std::ostream &os, const BoxList &blist)
 Output a BoxList to an ostream in ASCII format.