11 #ifndef _DISJOINTBOXLAYOUT_H_ 12 #define _DISJOINTBOXLAYOUT_H_ 17 #include "NamespaceHeader.H" 156 {
define(a_boxes, a_procIDs, a_physDomain);}
256 bool a_maintainProcAssign =
false)
const;
345 int a_dir,
int a_len);
355 int a_dir,
int a_len);
379 int a_dir,
int a_len);
382 int a_dir,
int a_len);
393 int a_dir,
int a_len)
400 int a_dir,
int a_len)
409 coarsen(output, input, refinement);
416 refine(output, input, refinement);
427 int a_dir,
int a_len=1);
437 int a_dir,
int a_len=1);
441 #include "NamespaceFooter.H" virtual void closeN(RefCountedPtr< Vector< Vector< std::pair< int, LayoutIndex > > > > neighbors)
const ProblemDomain & physDomain() const
void adjCellHi_dbl(DisjointBoxLayout &a_output, const DisjointBoxLayout &a_input, int a_dir, int a_len)
Definition: DisjointBoxLayout.H:398
A reference-counting handle class.
Definition: RefCountedPtr.H:173
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
bool checkPeriodic(const ProblemDomain &a_domain) const
friend void adjCellLo(DisjointBoxLayout &a_output, const DisjointBoxLayout &a_input, int a_dir, int a_len)
friend void adjCellHi(DisjointBoxLayout &a_output, const DisjointBoxLayout &a_input, int a_dir, int a_len)
virtual void closeNoSort()
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: BoxLayout.H:26
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:152
void defineAndLoadBalance(const Vector< Box > &a_boxes, Vector< int > *a_procIDs)
Definition: SliceSpec.H:41
void adjCellLo_dbl(DisjointBoxLayout &a_output, const DisjointBoxLayout &a_input, int a_dir, int a_len)
Definition: DisjointBoxLayout.H:391
virtual void define_pd(const Vector< Box > &a_boxes, const Vector< int > &a_procIDs, const ProblemDomain &a_physDomain)
Definition: DisjointBoxLayout.H:153
void setDomain(const ProblemDomain &a_domain)
Definition: DisjointBoxLayout.H:214
void coarsen_dbl(DisjointBoxLayout &output, const DisjointBoxLayout &input, int refinement)
Definition: DisjointBoxLayout.H:405
bool checkDomains(const DisjointBoxLayout &a_dbl) const
virtual void deepCopy(const DisjointBoxLayout &a_source)
void degenerate(DisjointBoxLayout &a_to, const SliceSpec &a_ss, bool a_maintainProcAssign=false) const
ProblemDomain m_physDomain
Definition: DisjointBoxLayout.H:366
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
virtual ~DisjointBoxLayout()
Definition: DisjointBoxLayout.H:80
friend void coarsen(DisjointBoxLayout &output, const DisjointBoxLayout &input, int refinement)
RefCountedPtr< Vector< Vector< std::pair< int, LayoutIndex > > > > m_neighbors
Definition: DisjointBoxLayout.H:370
void refine_dbl(DisjointBoxLayout &output, const DisjointBoxLayout &input, int refinement)
Definition: DisjointBoxLayout.H:412
unsigned long long int numPointsThisProc() const
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
virtual void define(const Vector< Box > &a_boxes, const Vector< int > &a_procIDs)
An Iterator based on a DisjointBoxLayout object for neighboring boxes.
Definition: NeighborIterator.H:23
friend void refine(DisjointBoxLayout &output, const DisjointBoxLayout &input, int refinement)