A Copier class for making copying between LevelData<BaseIVFAB<Real>> easier. This is an incrementation operator.
More...
#include <CD_IrregAddOp.H>
|
| IrregAddOp () noexcept |
| Constructor (does nothing)
|
|
virtual | ~IrregAddOp () noexcept |
| Destructor (does nothing)
|
|
virtual void | linearIn (BaseIVFAB< Real > &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 (BaseIVFAB< Real > &a_dst, const Box &a_regionFrom, const Interval &a_dstVars, const Box &a_regionTo, const BaseIVFAB< Real > &a_src, const Interval &a_srcVars) const override |
| Operator function. Increments data with source. More...
|
|
A Copier class for making copying between LevelData<BaseIVFAB<Real>> easier. This is an incrementation operator.
◆ linearIn()
void IrregAddOp::linearIn |
( |
BaseIVFAB< Real > & |
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 BaseIVFAB<Real>) |
[in] | a_region | Region |
[in] | a_comps | Components to do. |
◆ op()
void IrregAddOp::op |
( |
BaseIVFAB< Real > & |
a_dst, |
|
|
const Box & |
a_regionFrom, |
|
|
const Interval & |
a_dstVars, |
|
|
const Box & |
a_regionTo, |
|
|
const BaseIVFAB< Real > & |
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: