A Copier class for making copying between BoxLayoutData<EBCellFAB> easier. This increments EBCellFABs when calling copyTo (with the correct Copier).
More...
#include <CD_EBAddOp.H>
|
| EBAddOp () |
| Constructor (does nothing)
|
|
virtual | ~EBAddOp () |
| Destructor (does nothing)
|
|
virtual void | linearIn (EBCellFAB &a_data, void *a_buffer, const Box &a_region, const Interval &a_comps) const override |
| Linearization function. We linearize the buffer onto arg, but since this is an addition operator we need to add the result. More...
|
|
virtual void | op (EBCellFAB &a_dst, const Box &a_regionFrom, const Interval &a_dstVars, const Box &a_regionTo, const EBCellFAB &a_src, const Interval &a_srcVars) const override |
| Operator function. Increments data with source. More...
|
|
A Copier class for making copying between BoxLayoutData<EBCellFAB> easier. This increments EBCellFABs when calling copyTo (with the correct Copier).
◆ linearIn()
void EBAddOp::linearIn |
( |
EBCellFAB & |
a_data, |
|
|
void * |
a_buffer, |
|
|
const Box & |
a_region, |
|
|
const Interval & |
a_comps |
|
) |
| const |
|
overridevirtual |
Linearization function. We linearize the buffer onto arg, but since this is an addition operator we need to add the result.
- Parameters
-
[in,out] | a_data | Data to be incremented with buffer |
[in,out] | a_buffer | Data buffer (this is another EBCellFAB) |
[in] | a_region | Region |
[in] | a_comps | Components to do. |
◆ op()
void EBAddOp::op |
( |
EBCellFAB & |
a_dst, |
|
|
const Box & |
a_regionFrom, |
|
|
const Interval & |
a_dstVars, |
|
|
const Box & |
a_regionTo, |
|
|
const EBCellFAB & |
a_src, |
|
|
const Interval & |
a_srcVars |
|
) |
| const |
|
overridevirtual |
Operator function. Increments data with source.
- Parameters
-
[in,out] | a_dst | Destination data. |
[in] | a_regionFrom | Source regionw |
[in] | a_dstVars | Destination variables |
[in] | a_regionTo | Destination region |
[in] | a_src | Source data |
[in] | a_srcVars | Source variables |
The documentation for this class was generated from the following files: