chombo-discharge
|
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>
Public Member Functions | |
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. | |
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. | |
A Copier class for making copying between BoxLayoutData<EBCellFAB> easier. This increments EBCellFABs when calling copyTo (with the correct Copier).
|
overridevirtual |
Linearization function. We linearize the buffer onto arg, but since this is an addition operator we need to add the result.
[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. |
|
overridevirtual |
Operator function. Increments data with source.
[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 |