#include <source/mathops/cell/PatchCellDataOpsComplex.h>
Inheritance diagram for SAMRAI::math::PatchCellDataOpsComplex< DIM >:

Public Member Functions | |
| PatchCellDataOpsComplex () | |
| virtual | ~PatchCellDataOpsComplex () |
| void | copyData (tbox::Pointer< pdat::CellData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::CellData< DIM, dcomplex > > &src, const hier::Box< DIM > &box) const |
| void | swapData (tbox::Pointer< hier::Patch< DIM > > patch, const int data1_id, const int data2_id) const |
| void | printData (const tbox::Pointer< pdat::CellData< DIM, dcomplex > > &data, const hier::Box< DIM > &box, std::ostream &s=tbox::plog) const |
| void | setToScalar (tbox::Pointer< pdat::CellData< DIM, dcomplex > > &dst, const dcomplex &alpha, const hier::Box< DIM > &box) const |
A similar set of operations is implemented for real (double and float) and integer patch data in the classes PatchCellDataOpsReal<DIM> and PatchCellDataOpsInteger<DIM>, respectively.
| SAMRAI::math::PatchCellDataOpsComplex< DIM >::PatchCellDataOpsComplex | ( | ) |
Empty constructor and destructor.
| SAMRAI::math::PatchCellDataOpsComplex< DIM >::~PatchCellDataOpsComplex | ( | ) | [virtual] |
| void SAMRAI::math::PatchCellDataOpsComplex< DIM >::copyData | ( | tbox::Pointer< pdat::CellData< DIM, dcomplex > > & | dst, | |
| const tbox::Pointer< pdat::CellData< DIM, dcomplex > > & | src, | |||
| const hier::Box< DIM > & | box | |||
| ) | const |
Copy dst data to src data over given box.
| void SAMRAI::math::PatchCellDataOpsComplex< DIM >::swapData | ( | tbox::Pointer< hier::Patch< DIM > > | patch, | |
| const int | data1_id, | |||
| const int | data2_id | |||
| ) | const |
Swap pointers for patch data objects. Objects are checked for consistency of depth, box, and ghost box.
| void SAMRAI::math::PatchCellDataOpsComplex< DIM >::printData | ( | const tbox::Pointer< pdat::CellData< DIM, dcomplex > > & | data, | |
| const hier::Box< DIM > & | box, | |||
| std::ostream & | s = tbox::plog | |||
| ) | const |
Print data entries over given box to given output stream.
| void SAMRAI::math::PatchCellDataOpsComplex< DIM >::setToScalar | ( | tbox::Pointer< pdat::CellData< DIM, dcomplex > > & | dst, | |
| const dcomplex & | alpha, | |||
| const hier::Box< DIM > & | box | |||
| ) | const |
Initialize data to given scalar over given box.
1.5.1