Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SAMRAI::math::PatchCellDataOpsComplex< DIM > Class Template Reference

#include <source/mathops/cell/PatchCellDataOpsComplex.h>

Inheritance diagram for SAMRAI::math::PatchCellDataOpsComplex< DIM >:

Inheritance graph
[legend]
List of all members.

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, ostream &s=tbox::plog) const
void setToScalar (tbox::Pointer< pdat::CellData< DIM, dcomplex > > &dst, const dcomplex &alpha, const hier::Box< DIM > &box) const

Detailed Description

template<int DIM>
class SAMRAI::math::PatchCellDataOpsComplex< DIM >

Class PatchCellDataOpsComplex<DIM> provides a collection of operations that may be used to manipulate complex cell-centered patch data. The operations include basic arithmetic and norms. With the exception of a few basic routines, this class inherits its interface (and thus its functionality) from the base classes PatchCellDataBasicOps<DIM>, PatchCellDataNormOpsComplex<DIM> from which it is derived. The name of each of these base classes is indicative of the set of cell-centered patch data operations that it provides.

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.

See also:
math::PatchCellDataBasicOps

math::PatchCellDataNormOpsComplex


Constructor & Destructor Documentation

template<int DIM>
SAMRAI::math::PatchCellDataOpsComplex< DIM >::PatchCellDataOpsComplex  ) 
 

Empty constructor and destructor.

template<int DIM>
SAMRAI::math::PatchCellDataOpsComplex< DIM >::~PatchCellDataOpsComplex  )  [virtual]
 


Member Function Documentation

template<int DIM>
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.

template<int DIM>
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.

template<int DIM>
void SAMRAI::math::PatchCellDataOpsComplex< DIM >::printData const tbox::Pointer< pdat::CellData< DIM, dcomplex > > &  data,
const hier::Box< DIM > &  box,
ostream &  s = tbox::plog
const
 

Print data entries over given box to given output stream.

template<int DIM>
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.


The documentation for this class was generated from the following files:
Generated on Fri Dec 2 11:24:56 2005 for SAMRAI by  doxygen 1.4.2