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;
316 int a_dir,
int a_len);
326 int a_dir,
int a_len);
350 int a_dir,
int a_len);
353 int a_dir,
int a_len);
364 int a_dir,
int a_len)
371 int a_dir,
int a_len)
380 coarsen(output, input, refinement);
387 refine(output, input, refinement);
398 int a_dir,
int a_len=1);
408 int a_dir,
int a_len=1);
412 #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:369
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:145
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:362
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:376
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:337
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:341
void refine_dbl(DisjointBoxLayout &output, const DisjointBoxLayout &input, int refinement)
Definition: DisjointBoxLayout.H:383
unsigned long long int numPointsThisProc() const
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)