16 #include <BoxLayoutData.H>
17 #include <EBCellFAB.H>
20 #include <CD_NamespaceHeader.H>
25 class EBAddOp :
public LDOperator<EBCellFAB>
46 linearIn(EBCellFAB& a_data,
void* a_buffer,
const Box& a_region,
const Interval& a_comps)
const override;
59 const Box& a_regionFrom,
60 const Interval& a_dstVars,
61 const Box& a_regionTo,
62 const EBCellFAB& a_src,
63 const Interval& a_srcVars)
const override;
66 #include <CD_NamespaceFooter.H>
A Copier class for making copying between BoxLayoutData<EBCellFAB> easier. This increments EBCellFABs...
Definition: CD_EBAddOp.H:26
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.
Definition: CD_EBAddOp.cpp:49
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 n...
Definition: CD_EBAddOp.cpp:30
EBAddOp()
Constructor (does nothing)
Definition: CD_EBAddOp.cpp:19
virtual ~EBAddOp()
Destructor (does nothing)
Definition: CD_EBAddOp.cpp:24