|
IBAMR
IBAMR version 0.19.
|
#include <CellOverlap.h>

Public Member Functions | |
| CellOverlap (const hier::BoxList< DIM > &boxes, const hier::IntVector< DIM > &src_offset) | |
| virtual | ~CellOverlap () |
| virtual bool | isOverlapEmpty () const |
| virtual const hier::BoxList< DIM > & | getDestinationBoxList () const |
| virtual const hier::IntVector< DIM > & | getSourceOffset () const |
| virtual void | print (std::ostream &os) const |
Private Attributes | |
| bool | d_is_overlap_empty |
| hier::IntVector< DIM > | d_offset |
| hier::BoxList< DIM > | d_dst_boxes |
| int | d_count |
Class CellOverlap<DIM> represents the intersection between two cell centered geometry boxes. It is a subclass of hier::BoxOverlap<DIM> and records the portions of index space that needs to be copied between two objects with cell centered geometry. Note that CellOverlap does NOT compute the overlap of the arguments. It stores the arguments as given and assumes that they already represent an overlap previously computed.
| SAMRAI::pdat::CellOverlap< DIM >::CellOverlap | ( | const hier::BoxList< DIM > & | boxes, |
| const hier::IntVector< DIM > & | src_offset | ||
| ) |
The constructor takes the list of boxes and the source offset between the source and destination index spaces. This information is used later in the generation of communication schedules.
|
virtual |
The virtual destructor does nothing interesting except deallocate box data.
|
virtual |
Return whether there is an empty intersection between the two cell centered boxes. This method over-rides the virtual function in the hier::BoxOverlap<DIM> base class.
Implements SAMRAI::hier::BoxOverlap< DIM >.
|
virtual |
Return the list of boxes (in cell centered index space) that constitute the intersection. The boxes are given in the destination coordinate space and must be shifted by -(getSourceOffset()) to lie in the source index space.
|
virtual |
Return the offset between the destination and source index spaces. The destination index space is the source index space shifted by this amount.
Implements SAMRAI::hier::BoxOverlap< DIM >.
|
virtual |
Output the boxes in the overlap region.
Reimplemented from SAMRAI::hier::BoxOverlap< DIM >.
|
private |
|
private |
|
private |
|
private |
1.8.17