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

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

#include <source/mathops/array/ArrayDataNormOpsInteger.h>

List of all members.

Public Member Functions

 ArrayDataNormOpsInteger ()
 ~ArrayDataNormOpsInteger ()
void abs (pdat::ArrayData< DIM, int > &dst, const pdat::ArrayData< DIM, int > &src, const hier::Box< DIM > &box) const


Detailed Description

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

Class ArrayDataNormOpsInteger<DIM> provides a set of common norm operations that may be applied to arrays of integer data values maintained as pdat::ArrayData<DIM> objects. The intent of this class is to provide a single implementation of these operations as they are needed by objects that perform these operations on the standard array-based patch data types (i.e., cell-centered, face-centered, node-centered). Note that each operation is performed on the intersection of the box in the function argument list and the boxes associated with all pdat::ArrayData<DIM> objects. Currently, the only norm operation implemented in this class is the absolute value operation.

See also:
pdat::ArrayData


Constructor & Destructor Documentation

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

Empty constructor and destructor.

template<int DIM>
SAMRAI::math::ArrayDataNormOpsInteger< DIM >::~ArrayDataNormOpsInteger  ) 
 


Member Function Documentation

template<int DIM>
void SAMRAI::math::ArrayDataNormOpsInteger< DIM >::abs pdat::ArrayData< DIM, int > &  dst,
const pdat::ArrayData< DIM, int > &  src,
const hier::Box< DIM > &  box
const
 

Set destination component to absolute value of source component. That is, each destination entry is set to $d_i = \| s_i \|$ .


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