|
| | PatchSideDataOpsComplex () |
| |
| virtual | ~PatchSideDataOpsComplex () |
| |
| void | copyData (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::SideData< 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::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box, std::ostream &s=tbox::plog) const |
| |
| void | setToScalar (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const dcomplex &alpha, const hier::Box< DIM > &box) const |
| |
| void | scale (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const dcomplex &alpha, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src, const hier::Box< DIM > &box) const |
| |
| void | addScalar (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src, const dcomplex &alpha, const hier::Box< DIM > &box) const |
| |
| void | add (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src1, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src2, const hier::Box< DIM > &box) const |
| |
| void | subtract (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src1, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src2, const hier::Box< DIM > &box) const |
| |
| void | multiply (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src1, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src2, const hier::Box< DIM > &box) const |
| |
| void | divide (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src1, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src2, const hier::Box< DIM > &box) const |
| |
| void | reciprocal (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src, const hier::Box< DIM > &box) const |
| |
| void | linearSum (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const dcomplex &alpha, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src1, const dcomplex &beta, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src2, const hier::Box< DIM > &box) const |
| |
| void | axpy (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const dcomplex &alpha, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src1, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src2, const hier::Box< DIM > &box) const |
| |
| void | axmy (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const dcomplex &alpha, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src1, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src2, const hier::Box< DIM > &box) const |
| |
| dcomplex | min (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box) const |
| |
| dcomplex | max (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box) const |
| |
| void | setRandomValues (tbox::Pointer< pdat::SideData< DIM, dcomplex > > &dst, const dcomplex &width, const dcomplex &low, const hier::Box< DIM > &box) const |
| |
| int | numberOfEntries (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box) const |
| |
| double | sumControlVolumes (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const tbox::Pointer< pdat::SideData< DIM, double > > &cvol, const hier::Box< DIM > &box) const |
| |
| void | abs (tbox::Pointer< pdat::SideData< DIM, double > > &dst, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &src, const hier::Box< DIM > &box) const |
| |
| double | L1Norm (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > cvol=NULL) const |
| |
| double | L2Norm (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > cvol=NULL) const |
| |
| double | weightedL2Norm (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &weight, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > cvol=NULL) const |
| |
| double | RMSNorm (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > cvol=NULL) const |
| |
| double | weightedRMSNorm (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &weight, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > cvol=NULL) const |
| |
| double | maxNorm (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > cvol=NULL) const |
| |
| dcomplex | dot (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data1, const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data2, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > cvol=NULL) const |
| |
| dcomplex | integral (const tbox::Pointer< pdat::SideData< DIM, dcomplex > > &data, const hier::Box< DIM > &box, const tbox::Pointer< pdat::SideData< DIM, double > > vol) const |
| |
template<int DIM>
class SAMRAI::math::PatchSideDataOpsComplex< DIM >
Class PatchSideDataOpsComplex<DIM> provides a collection of operations that may be used to manipulate complex side-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 PatchSideDataBasicOps<DIM>, PatchSideDataNormOpsComplex<DIM> from which it is derived. The name of each of these base classes is indicative of the set of side-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 PatchSideDataOpsReal<DIM> and PatchSideDataOpsInteger<DIM>, repsectively.
- See also
- math::PatchSideDataBasicOps
-
math::PatchSideDataNormOpsComplex