Chombo + EB
3.2
|
#include <iostream>
#include "Vector.H"
#include "IntVect.H"
#include "Box.H"
#include "Misc.H"
#include "SPACE.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Go to the source code of this file.
Classes | |
class | ShiftIterator |
Class to manage box-shifting used to enforce periodic BC's. More... | |
class | ProblemDomain |
A class to facilitate interaction with physical boundary conditions. More... | |
class | ImageIterator |
Macros | |
#define | _PROBLEMDOMAIN_H_ |
Functions | |
ProblemDomain | grow (const ProblemDomain &pd, int i) |
ProblemDomain | grow (const ProblemDomain &pd, const IntVect &v) |
Box | bdryLo (const ProblemDomain &a_pd, int a_dir, int a_len=1) |
Returns a face-centered Box at the low side of a_pd. More... | |
Box | bdryHi (const ProblemDomain &a_pd, int a_dir, int a_len=1) |
Returns a face-centered Box at the high side of a_pd. More... | |
Box | adjCellLo (const ProblemDomain &a_pd, int a_dir, int a_len=1) |
Returns the cell-centered Box adjacent to the low side of a_pd. More... | |
Box | adjCellHi (const ProblemDomain &a_pd, int a_dir, int a_len=1) |
Returns the cell-centered Box adjacent to the low side of a_pd. More... | |
#define _PROBLEMDOMAIN_H_ |
|
inline |
References ProblemDomain::grow().
Referenced by ProblemDomain::contains_box().
|
inline |
Returns a ProblemDomain that is the argument ProblemDomain with a DomainBox grown by the given amount.
References ProblemDomain::grow().
Box bdryLo | ( | const ProblemDomain & | a_pd, |
int | a_dir, | ||
int | a_len = 1 |
||
) |
Returns a face-centered Box at the low side of a_pd.
Returns the edge-centered Box (in direction a_dir) defining the low side of the argument ProblemDomain. The output Box will have the given length in the given direction. Directions are zero-based. It is an error if not 0 <= dir < SpaceDim. The neighbor of an Empty ProblemDomain is an Empty Box of the appropriate type. If a_dir is a periodic direction, will return an empty Box.
Referenced by ProblemDomain::contains_box().
Box bdryHi | ( | const ProblemDomain & | a_pd, |
int | a_dir, | ||
int | a_len = 1 |
||
) |
Returns a face-centered Box at the high side of a_pd.
Returns the edge-centered Box (in direction a_dir) defining the high side of the argument ProblemDomain. The return Box will have the given length in the given direction. Directions are zero-based. It is an error if not 0 <= dir < SpaceDim. The neighbor of an Empty ProblemDomain is an Empty Box of the appropriate type. If a_dir is a periodic direction, will return an empty Box.
Referenced by ProblemDomain::contains_box().
Box adjCellLo | ( | const ProblemDomain & | a_pd, |
int | a_dir, | ||
int | a_len = 1 |
||
) |
Returns the cell-centered Box adjacent to the low side of a_pd.
Returns the cell centered Box of the given length adjacent to the argument ProblemDomain on the low end along the given coordinate direction. The return Box is identical to the argument ProblemDomain in the other directions. The return ProblemDomain and the argument ProblemDomain have an empty intersection.
NOTES:
Directions are zero-based. It is an error if not 0 <= dir < SpaceDim. The neighbor of an Empty ProblemDomain is an Empty Box of the appropriate type. If a_dir is a periodic direction, will return an empty Box as well.
Referenced by ProblemDomain::contains_box().
Box adjCellHi | ( | const ProblemDomain & | a_pd, |
int | a_dir, | ||
int | a_len = 1 |
||
) |
Returns the cell-centered Box adjacent to the low side of a_pd.
Returns the cell centered Box of the given length adjacent to the argument ProblemDomain on the high end along the given coordinate direction. The return Box is identical to the argument ProblemDomain in the other directions. The return Box and the argument ProblemDomain have an empty intersection.
NOTES:
Directions are zero-based. It is an error if not 0 <= dir < SpaceDim. The neighbor of an Empty ProblemDomain is an Empty Box of the appropriate type. If a_dir is a periodic direction, will return an empty Box.
Referenced by ProblemDomain::contains_box().